| Index: third_party/WebKit/Source/core/svg/SVGURIReference.h
|
| diff --git a/third_party/WebKit/Source/core/svg/SVGURIReference.h b/third_party/WebKit/Source/core/svg/SVGURIReference.h
|
| index 1caa06ae1496fe8c2b0764e9ff60d4e97c4c5e69..0122dca5256cd08df442c725cf95bc79ef41a402 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGURIReference.h
|
| +++ b/third_party/WebKit/Source/core/svg/SVGURIReference.h
|
| @@ -42,7 +42,7 @@ public:
|
| static inline bool isExternalURIReference(const String& uri, const Document& document)
|
| {
|
| // Fragment-only URIs are always internal
|
| - if (uri.startsWith('#'))
|
| + if (document.baseURL() == document.url() && uri.startsWith('#'))
|
| return false;
|
|
|
| // If the URI matches our documents URL, we're dealing with a local reference.
|
|
|