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

Unified Diff: trunk/Source/core/editing/EditorCommand.cpp

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
« no previous file with comments | « trunk/Source/core/editing/Editor.cpp ('k') | trunk/Source/core/editing/MoveSelectionCommand.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/Source/core/editing/EditorCommand.cpp
===================================================================
--- trunk/Source/core/editing/EditorCommand.cpp (revision 174395)
+++ trunk/Source/core/editing/EditorCommand.cpp (working copy)
@@ -191,7 +191,7 @@
return false;
}
-static bool executeInsertFragment(LocalFrame& frame, PassRefPtrWillBeRawPtr<DocumentFragment> fragment)
+static bool executeInsertFragment(LocalFrame& frame, PassRefPtr<DocumentFragment> fragment)
{
ASSERT(frame.document());
ReplaceSelectionCommand::create(*frame.document(), fragment, ReplaceSelectionCommand::PreventNesting, EditActionUnspecified)->apply();
@@ -201,7 +201,7 @@
static bool executeInsertNode(LocalFrame& frame, PassRefPtr<Node> content)
{
ASSERT(frame.document());
- RefPtrWillBeRawPtr<DocumentFragment> fragment = DocumentFragment::create(*frame.document());
+ RefPtr<DocumentFragment> fragment = DocumentFragment::create(*frame.document());
TrackExceptionState exceptionState;
fragment->appendChild(content, exceptionState);
if (exceptionState.hadException())
« no previous file with comments | « trunk/Source/core/editing/Editor.cpp ('k') | trunk/Source/core/editing/MoveSelectionCommand.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698