Title: [155072] trunk/Source/WebCore
- Revision
- 155072
- Author
- [email protected]
- Date
- 2013-09-04 15:20:39 -0700 (Wed, 04 Sep 2013)
Log Message
Editor::m_removedAnchor is unused
https://bugs.webkit.org/show_bug.cgi?id=120701
Reviewed by Ryosuke Niwa.
* editing/Editor.h: Removed m_removedAnchor. It was not only unused, but also broken,
as we didn't reset it when navigating.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (155071 => 155072)
--- trunk/Source/WebCore/ChangeLog 2013-09-04 22:16:01 UTC (rev 155071)
+++ trunk/Source/WebCore/ChangeLog 2013-09-04 22:20:39 UTC (rev 155072)
@@ -1,3 +1,13 @@
+2013-09-04 Alexey Proskuryakov <[email protected]>
+
+ Editor::m_removedAnchor is unused
+ https://bugs.webkit.org/show_bug.cgi?id=120701
+
+ Reviewed by Ryosuke Niwa.
+
+ * editing/Editor.h: Removed m_removedAnchor. It was not only unused, but also broken,
+ as we didn't reset it when navigating.
+
2013-09-04 Pratik Solanki <[email protected]>
Document::updateHoverActiveState() should allow for deferred style recalcs
Modified: trunk/Source/WebCore/editing/Editor.h (155071 => 155072)
--- trunk/Source/WebCore/editing/Editor.h 2013-09-04 22:16:01 UTC (rev 155071)
+++ trunk/Source/WebCore/editing/Editor.h 2013-09-04 22:20:39 UTC (rev 155072)
@@ -168,9 +168,6 @@
void deleteSelectionWithSmartDelete(bool smartDelete);
bool dispatchCPPEvent(const AtomicString&, ClipboardAccessPolicy);
- Node* removedAnchor() const { return m_removedAnchor.get(); }
- void setRemovedAnchor(PassRefPtr<Node> n) { m_removedAnchor = n; }
-
void applyStyle(StylePropertySet*, EditAction = EditActionUnspecified);
void applyParagraphStyle(StylePropertySet*, EditAction = EditActionUnspecified);
void applyStyleToSelection(StylePropertySet*, EditAction);
@@ -429,7 +426,6 @@
OwnPtr<DeleteButtonController> m_deleteButtonController;
#endif
RefPtr<CompositeEditCommand> m_lastEditCommand;
- RefPtr<Node> m_removedAnchor;
RefPtr<Text> m_compositionNode;
unsigned m_compositionStart;
unsigned m_compositionEnd;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes