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

Unified Diff: Source/core/page/DragController.cpp

Issue 22880029: Make AttachBehavior a required argument. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 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/html/track/TextTrackCue.cpp ('k') | Source/core/svg/SVGUseElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/DragController.cpp
diff --git a/Source/core/page/DragController.cpp b/Source/core/page/DragController.cpp
index b2c61293e7da0d1257d7548059a0cd58646240ad..ac6d21bb9031994bd1d253fb101a89a3ad54be97 100644
--- a/Source/core/page/DragController.cpp
+++ b/Source/core/page/DragController.cpp
@@ -169,9 +169,9 @@ static PassRefPtr<DocumentFragment> documentFragmentFromDragData(DragData* dragD
title = url;
}
RefPtr<Node> anchorText = document->createTextNode(title);
- anchor->appendChild(anchorText, IGNORE_EXCEPTION);
+ anchor->appendChild(anchorText, IGNORE_EXCEPTION, DeprecatedAttachNow);
RefPtr<DocumentFragment> fragment = document->createDocumentFragment();
- fragment->appendChild(anchor, IGNORE_EXCEPTION);
+ fragment->appendChild(anchor, IGNORE_EXCEPTION, DeprecatedAttachNow);
return fragment.get();
}
}
« no previous file with comments | « Source/core/html/track/TextTrackCue.cpp ('k') | Source/core/svg/SVGUseElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698