| Index: third_party/WebKit/Source/core/page/DragController.cpp
|
| diff --git a/third_party/WebKit/Source/core/page/DragController.cpp b/third_party/WebKit/Source/core/page/DragController.cpp
|
| index 14efaeeb587f6631a3b5acdc01ba974d55e4e181..130cc2406e8720e52c9272c76d6b22b709c118b1 100644
|
| --- a/third_party/WebKit/Source/core/page/DragController.cpp
|
| +++ b/third_party/WebKit/Source/core/page/DragController.cpp
|
| @@ -718,7 +718,7 @@ static Image* getImage(Element* element)
|
|
|
| static void prepareDataTransferForImageDrag(LocalFrame* source, DataTransfer* dataTransfer, Element* node, const KURL& linkURL, const KURL& imageURL, const String& label)
|
| {
|
| - if (node->isContentRichlyEditable()) {
|
| + if (isContentRichlyEditable(*node)) {
|
| Range* range = source->document()->createRange();
|
| range->selectNode(node, ASSERT_NO_EXCEPTION);
|
| source->selection().setSelection(VisibleSelection(EphemeralRange(range)));
|
|
|