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

Unified Diff: Source/core/editing/TextInsertionBaseCommand.h

Issue 23822003: Have EditCommand classes deal with Document references, not pointers (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
Index: Source/core/editing/TextInsertionBaseCommand.h
diff --git a/Source/core/editing/TextInsertionBaseCommand.h b/Source/core/editing/TextInsertionBaseCommand.h
index 7b7cfc1164a1f8ae0cdfcc4ce6c3faa92ff9f6a1..aa10fcf4d4d5470732168bce5b40a29d3b8a5048 100644
--- a/Source/core/editing/TextInsertionBaseCommand.h
+++ b/Source/core/editing/TextInsertionBaseCommand.h
@@ -39,7 +39,7 @@ public:
virtual ~TextInsertionBaseCommand() { };
protected:
- explicit TextInsertionBaseCommand(Document*);
+ explicit TextInsertionBaseCommand(Document&);
static void applyTextInsertionCommand(Frame*, PassRefPtr<TextInsertionBaseCommand>, const VisibleSelection& selectionForInsertion, const VisibleSelection& endingSelection);
};
« no previous file with comments | « Source/core/editing/SplitTextNodeContainingElementCommand.cpp ('k') | Source/core/editing/TextInsertionBaseCommand.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698