Title: [155161] trunk/Source/WebCore
Revision
155161
Author
[email protected]
Date
2013-09-05 17:16:28 -0700 (Thu, 05 Sep 2013)

Log Message

Flaky Test: platform/mac/editing/deleting/deletionUI-single-instance.html
https://bugs.webkit.org/show_bug.cgi?id=114181

Reviewed by Ryosuke Niwa.

Editor survives navigations, and so did DeleteButtonController. But the state it holds
is document specific (like nodes in the old document).

* editing/Editor.cpp: (WebCore::Editor::clear): Replace DeleteButtonController.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (155160 => 155161)


--- trunk/Source/WebCore/ChangeLog	2013-09-05 23:30:32 UTC (rev 155160)
+++ trunk/Source/WebCore/ChangeLog	2013-09-06 00:16:28 UTC (rev 155161)
@@ -1,3 +1,15 @@
+2013-09-05  Alexey Proskuryakov  <[email protected]>
+
+        Flaky Test: platform/mac/editing/deleting/deletionUI-single-instance.html
+        https://bugs.webkit.org/show_bug.cgi?id=114181
+
+        Reviewed by Ryosuke Niwa.
+
+        Editor survives navigations, and so did DeleteButtonController. But the state it holds
+        is document specific (like nodes in the old document).
+
+        * editing/Editor.cpp: (WebCore::Editor::clear): Replace DeleteButtonController.
+
 2013-09-05  Gyuyoung Kim  <[email protected]>
 
         Generate toFooElement() functions from tagname data.

Modified: trunk/Source/WebCore/editing/Editor.cpp (155160 => 155161)


--- trunk/Source/WebCore/editing/Editor.cpp	2013-09-05 23:30:32 UTC (rev 155160)
+++ trunk/Source/WebCore/editing/Editor.cpp	2013-09-06 00:16:28 UTC (rev 155161)
@@ -921,6 +921,10 @@
     m_customCompositionUnderlines.clear();
     m_shouldStyleWithCSS = false;
     m_defaultParagraphSeparator = EditorParagraphSeparatorIsDiv;
+
+#if ENABLE(DELETION_UI)
+    m_deleteButtonController = adoptPtr(new DeleteButtonController(&m_frame));
+#endif
 }
 
 bool Editor::insertText(const String& text, Event* triggeringEvent)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to