Title: [165646] trunk/Source/WebCore
- Revision
- 165646
- Author
- [email protected]
- Date
- 2014-03-14 14:09:47 -0700 (Fri, 14 Mar 2014)
Log Message
ReplaceSelectionCommand::makeInsertedContentRoundTrippableWithHTMLTreeBuilder should take a const reference to InsertedNodes
https://bugs.webkit.org/show_bug.cgi?id=130232
Reviewed by Andreas Kling.
This method doesn't modify InsertedNodes object.
No new tests, no behavior change.
* editing/ReplaceSelectionCommand.cpp:
(WebCore::ReplaceSelectionCommand::makeInsertedContentRoundTrippableWithHTMLTreeBuilder):
* editing/ReplaceSelectionCommand.h:
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (165645 => 165646)
--- trunk/Source/WebCore/ChangeLog 2014-03-14 21:08:07 UTC (rev 165645)
+++ trunk/Source/WebCore/ChangeLog 2014-03-14 21:09:47 UTC (rev 165646)
@@ -1,3 +1,18 @@
+2014-03-14 Grzegorz Czajkowski <[email protected]>
+
+ ReplaceSelectionCommand::makeInsertedContentRoundTrippableWithHTMLTreeBuilder should take a const reference to InsertedNodes
+ https://bugs.webkit.org/show_bug.cgi?id=130232
+
+ Reviewed by Andreas Kling.
+
+ This method doesn't modify InsertedNodes object.
+
+ No new tests, no behavior change.
+
+ * editing/ReplaceSelectionCommand.cpp:
+ (WebCore::ReplaceSelectionCommand::makeInsertedContentRoundTrippableWithHTMLTreeBuilder):
+ * editing/ReplaceSelectionCommand.h:
+
2014-03-14 Jer Noble <[email protected]>
[EME] Extend the lifetime of MediaKeySession.
Modified: trunk/Source/WebCore/editing/ReplaceSelectionCommand.cpp (165645 => 165646)
--- trunk/Source/WebCore/editing/ReplaceSelectionCommand.cpp 2014-03-14 21:08:07 UTC (rev 165645)
+++ trunk/Source/WebCore/editing/ReplaceSelectionCommand.cpp 2014-03-14 21:09:47 UTC (rev 165646)
@@ -617,7 +617,7 @@
return elements.contains(name);
}
-void ReplaceSelectionCommand::makeInsertedContentRoundTrippableWithHTMLTreeBuilder(InsertedNodes& insertedNodes)
+void ReplaceSelectionCommand::makeInsertedContentRoundTrippableWithHTMLTreeBuilder(const InsertedNodes& insertedNodes)
{
RefPtr<Node> pastEndNode = insertedNodes.pastLastLeaf();
RefPtr<Node> next;
Modified: trunk/Source/WebCore/editing/ReplaceSelectionCommand.h (165645 => 165646)
--- trunk/Source/WebCore/editing/ReplaceSelectionCommand.h 2014-03-14 21:08:07 UTC (rev 165645)
+++ trunk/Source/WebCore/editing/ReplaceSelectionCommand.h 2014-03-14 21:09:47 UTC (rev 165646)
@@ -88,7 +88,7 @@
void removeUnrenderedTextNodesAtEnds(InsertedNodes&);
void removeRedundantStylesAndKeepStyleSpanInline(InsertedNodes&);
- void makeInsertedContentRoundTrippableWithHTMLTreeBuilder(InsertedNodes&);
+ void makeInsertedContentRoundTrippableWithHTMLTreeBuilder(const InsertedNodes&);
void moveNodeOutOfAncestor(PassRefPtr<Node>, PassRefPtr<Node> ancestor);
void handleStyleSpans(InsertedNodes&);
void handlePasteAsQuotationNode();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes