Index: third_party/WebKit/Source/modules/navigatorcontentutils/NavigatorContentUtils.cpp |
diff --git a/third_party/WebKit/Source/modules/navigatorcontentutils/NavigatorContentUtils.cpp b/third_party/WebKit/Source/modules/navigatorcontentutils/NavigatorContentUtils.cpp |
index 6befb67e2a1a5be23b637abe40cc1fa2db73b101..c18aade233ee9bc23ec3301948699731dfff7a19 100644 |
--- a/third_party/WebKit/Source/modules/navigatorcontentutils/NavigatorContentUtils.cpp |
+++ b/third_party/WebKit/Source/modules/navigatorcontentutils/NavigatorContentUtils.cpp |
@@ -92,7 +92,7 @@ static bool verifyCustomHandlerURL(const Document& document, const String& url, |
// The specification says that the API throws SecurityError exception if the |
// URL's origin differs from the document's origin. |
- if (!document.securityOrigin()->canRequest(kurl)) { |
+ if (!document.getSecurityOrigin()->canRequest(kurl)) { |
exceptionState.throwSecurityError("Can only register custom handler in the document's origin."); |
return false; |
} |