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

Unified Diff: Source/core/editing/UnlinkCommand.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
« no previous file with comments | « Source/core/editing/TypingCommand.cpp ('k') | Source/core/editing/UnlinkCommand.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/UnlinkCommand.h
diff --git a/Source/core/editing/UnlinkCommand.h b/Source/core/editing/UnlinkCommand.h
index 6295d60ee1754efc5969f1514b825e64239ad7bc..d6b8d17bd286fdff2d4a5f207fe02147c0379386 100644
--- a/Source/core/editing/UnlinkCommand.h
+++ b/Source/core/editing/UnlinkCommand.h
@@ -32,13 +32,13 @@ namespace WebCore {
class UnlinkCommand : public CompositeEditCommand {
public:
- static PassRefPtr<UnlinkCommand> create(Document* document)
+ static PassRefPtr<UnlinkCommand> create(Document& document)
{
return adoptRef(new UnlinkCommand(document));
}
private:
- explicit UnlinkCommand(Document*);
+ explicit UnlinkCommand(Document&);
virtual void doApply();
virtual EditAction editingAction() const { return EditActionUnlink; }
« no previous file with comments | « Source/core/editing/TypingCommand.cpp ('k') | Source/core/editing/UnlinkCommand.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698