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

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

Issue 24278008: [oilpan] Handlify Nodes in htmlediting (Closed) Base URL: svn://svn.chromium.org/blink/branches/oilpan
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/page/DragController.cpp
diff --git a/Source/core/page/DragController.cpp b/Source/core/page/DragController.cpp
index 2d7e4537bc9618136da86e32995b96638a8f5081..60d8f43d0103cec5e28c7bc7745d4f6339544842 100644
--- a/Source/core/page/DragController.cpp
+++ b/Source/core/page/DragController.cpp
@@ -823,7 +823,7 @@ bool DragController::startDrag(Frame* src, const DragState& state, DragOperation
// selected. In this case, we should expand the selection to
// the enclosing anchor element
Position pos = src->selection()->base();
- Handle<Node> node = adoptRawResult(enclosingAnchorElement(pos));
+ Handle<Node> node = enclosingAnchorElement(pos);
if (node)
src->selection()->setSelection(VisibleSelection::selectionFromContentsOfNode(node.raw()));
}

Powered by Google App Engine
This is Rietveld 408576698