| Index: third_party/WebKit/Source/core/editing/Editor.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/Editor.cpp b/third_party/WebKit/Source/core/editing/Editor.cpp
|
| index 32461f42fa6e1f0683a1e46d86ce442c0d17207d..00872ebb182cd69c8edf492172eab29a6c900d40 100644
|
| --- a/third_party/WebKit/Source/core/editing/Editor.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/Editor.cpp
|
| @@ -30,7 +30,6 @@
|
| #include "core/CSSPropertyNames.h"
|
| #include "core/EventNames.h"
|
| #include "core/HTMLNames.h"
|
| -#include "core/XLinkNames.h"
|
| #include "core/clipboard/DataObject.h"
|
| #include "core/clipboard/DataTransfer.h"
|
| #include "core/clipboard/Pasteboard.h"
|
| @@ -459,7 +458,7 @@ static void writeImageNodeToPasteboard(Pasteboard* pasteboard, Node* node, const
|
| if (isHTMLImageElement(*node) || isHTMLInputElement(*node))
|
| urlString = toHTMLElement(node)->getAttribute(srcAttr);
|
| else if (isSVGImageElement(*node))
|
| - urlString = toSVGElement(node)->getAttribute(XLinkNames::hrefAttr);
|
| + urlString = toSVGElement(node)->imageSourceURL();
|
| else if (isHTMLEmbedElement(*node) || isHTMLObjectElement(*node) || isHTMLCanvasElement(*node))
|
| urlString = toHTMLElement(node)->imageSourceURL();
|
| KURL url = urlString.isEmpty() ? KURL() : node->document().completeURL(stripLeadingAndTrailingHTMLSpaces(urlString));
|
|
|