Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1093)

Unified Diff: third_party/WebKit/Source/modules/navigatorcontentutils/NavigatorContentUtils.cpp

Issue 1773813007: blink: Rename modules/ method to prefix with get when they collide. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clash-modules: rebase-fixes Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
}

Powered by Google App Engine
This is Rietveld 408576698