Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(633)

Unified Diff: Source/core/editing/ModifySelectionListLevel.cpp

Issue 23548010: Have htmlediting create functions take a Document reference in argument (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/editing/InsertTextCommand.cpp ('k') | Source/core/editing/ReplaceNodeWithSpanCommand.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/ModifySelectionListLevel.cpp
diff --git a/Source/core/editing/ModifySelectionListLevel.cpp b/Source/core/editing/ModifySelectionListLevel.cpp
index bdf29a8ec2ffe18e7333a3446fa2d6a60ec0eaea..13ccccd08beb8744f7f5966d637de58aefe96947 100644
--- a/Source/core/editing/ModifySelectionListLevel.cpp
+++ b/Source/core/editing/ModifySelectionListLevel.cpp
@@ -190,10 +190,10 @@ void IncreaseSelectionListLevelCommand::doApply()
newParent = newParent->cloneElementWithoutChildren();
break;
case OrderedList:
- newParent = createOrderedListElement(&document());
+ newParent = createOrderedListElement(document());
break;
case UnorderedList:
- newParent = createUnorderedListElement(&document());
+ newParent = createUnorderedListElement(document());
break;
}
insertNodeBefore(newParent, startListChild);
« no previous file with comments | « Source/core/editing/InsertTextCommand.cpp ('k') | Source/core/editing/ReplaceNodeWithSpanCommand.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698