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

Unified Diff: third_party/WebKit/Source/core/frame/UseCounter.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/core/frame/UseCounter.cpp
diff --git a/third_party/WebKit/Source/core/frame/UseCounter.cpp b/third_party/WebKit/Source/core/frame/UseCounter.cpp
index 7815f1396f51d8b4f930b0082712aa7211840f6a..7ab2b2d75b58041c5c21566989a9a993a33c8d87 100644
--- a/third_party/WebKit/Source/core/frame/UseCounter.cpp
+++ b/third_party/WebKit/Source/core/frame/UseCounter.cpp
@@ -741,9 +741,9 @@ void UseCounter::countCrossOriginIframe(const Document& document, Feature featur
if (!frame)
return;
// Check to see if the frame can script into the top level document.
- SecurityOrigin* securityOrigin = frame->securityContext()->securityOrigin();
+ SecurityOrigin* securityOrigin = frame->securityContext()->getSecurityOrigin();
Frame* top = frame->tree().top();
- if (top && !securityOrigin->canAccess(top->securityContext()->securityOrigin()))
+ if (top && !securityOrigin->canAccess(top->securityContext()->getSecurityOrigin()))
count(frame, feature);
}

Powered by Google App Engine
This is Rietveld 408576698