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

Unified Diff: trunk/Source/core/editing/ReplaceSelectionCommand.h

Issue 291233003: Revert 174382 "Oilpan: make DocumentFragment a heap allocated ob..." (Closed) Base URL: svn://svn.chromium.org/blink/
Patch Set: Created 6 years, 7 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: trunk/Source/core/editing/ReplaceSelectionCommand.h
===================================================================
--- trunk/Source/core/editing/ReplaceSelectionCommand.h (revision 174395)
+++ trunk/Source/core/editing/ReplaceSelectionCommand.h (working copy)
@@ -47,13 +47,13 @@
typedef unsigned CommandOptions;
- static PassRefPtr<ReplaceSelectionCommand> create(Document& document, PassRefPtrWillBeRawPtr<DocumentFragment> fragment, CommandOptions options, EditAction action = EditActionPaste)
+ static PassRefPtr<ReplaceSelectionCommand> create(Document& document, PassRefPtr<DocumentFragment> fragment, CommandOptions options, EditAction action = EditActionPaste)
{
return adoptRef(new ReplaceSelectionCommand(document, fragment, options, action));
}
private:
- ReplaceSelectionCommand(Document&, PassRefPtrWillBeRawPtr<DocumentFragment>, CommandOptions, EditAction);
+ ReplaceSelectionCommand(Document&, PassRefPtr<DocumentFragment>, CommandOptions, EditAction);
virtual void doApply() OVERRIDE;
virtual EditAction editingAction() const OVERRIDE;
@@ -108,7 +108,7 @@
bool m_selectReplacement;
bool m_smartReplace;
bool m_matchStyle;
- RefPtrWillBePersistent<DocumentFragment> m_documentFragment;
+ RefPtr<DocumentFragment> m_documentFragment;
bool m_preventNesting;
bool m_movingParagraph;
EditAction m_editAction;
« no previous file with comments | « trunk/Source/core/editing/MoveSelectionCommand.cpp ('k') | trunk/Source/core/editing/ReplaceSelectionCommand.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698