| 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 97d8446a861cb71c1d741dae00ae2c32956a47cd..0d6d6a05f9ae3e1ba4907de58f44d75f46c345c1 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)));
|
|
|