Title: [101830] trunk/Source/WebCore
Revision
101830
Author
[email protected]
Date
2011-12-02 10:57:09 -0800 (Fri, 02 Dec 2011)

Log Message

https://bugs.webkit.org/show_bug.cgi?id=73497
This is a followup to the patch submitted for the bug above.
Tha patch was landed in r101575 and I missed to make one of the changes
suggested by the reviewer that had pointed out that the code was still
making use of the deprecatedNode method.

Unreviewed.

* editing/DeleteSelectionCommand.cpp:
(WebCore::DeleteSelectionCommand::removeRedundantBlocks): Changed deprecatedNode to containerNode.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (101829 => 101830)


--- trunk/Source/WebCore/ChangeLog	2011-12-02 18:55:05 UTC (rev 101829)
+++ trunk/Source/WebCore/ChangeLog	2011-12-02 18:57:09 UTC (rev 101830)
@@ -1,3 +1,16 @@
+2011-12-02  Enrica Casucci  <[email protected]>
+
+        https://bugs.webkit.org/show_bug.cgi?id=73497
+        This is a followup to the patch submitted for the bug above.
+        Tha patch was landed in r101575 and I missed to make one of the changes
+        suggested by the reviewer that had pointed out that the code was still
+        making use of the deprecatedNode method.
+
+        Unreviewed.
+
+        * editing/DeleteSelectionCommand.cpp:
+        (WebCore::DeleteSelectionCommand::removeRedundantBlocks): Changed deprecatedNode to containerNode.
+
 2011-12-02  Tom Sepez  <[email protected]>
 
         Content-security-policy script-src not enforced on workers.

Modified: trunk/Source/WebCore/editing/DeleteSelectionCommand.cpp (101829 => 101830)


--- trunk/Source/WebCore/editing/DeleteSelectionCommand.cpp	2011-12-02 18:55:05 UTC (rev 101829)
+++ trunk/Source/WebCore/editing/DeleteSelectionCommand.cpp	2011-12-02 18:57:09 UTC (rev 101830)
@@ -749,7 +749,7 @@
 // This method removes div elements with no attributes that have only one child or no children at all.
 void DeleteSelectionCommand::removeRedundantBlocks()
 {
-    Node* node = m_endingPosition.deprecatedNode();
+    Node* node = m_endingPosition.containerNode();
     Node* rootNode = node->rootEditableElement();
    
     while (node != rootNode) {
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to