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

Unified Diff: third_party/WebKit/Source/web/WebViewImpl.cpp

Issue 2522633003: Only propagate intervention reports to local frames (Closed)
Patch Set: Created 4 years, 1 month 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/WebViewImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebViewImpl.cpp b/third_party/WebKit/Source/web/WebViewImpl.cpp
index 4fd3c4068ab5c028d8e9844ebc6f5d0d43f8f29a..82d8ef471dd64f277dae68e6ed47913edfd08149 100644
--- a/third_party/WebKit/Source/web/WebViewImpl.cpp
+++ b/third_party/WebKit/Source/web/WebViewImpl.cpp
@@ -1061,10 +1061,10 @@ void WebViewImpl::acceptLanguagesChanged() {
}
void WebViewImpl::ReportIntervention(const WebString& message) {
- if (!mainFrame())
+ if (!mainFrameImpl())
return;
WebConsoleMessage consoleMessage(WebConsoleMessage::LevelWarning, message);
- mainFrame()->addMessageToConsole(consoleMessage);
+ mainFrameImpl()->addMessageToConsole(consoleMessage);
}
float WebViewImpl::expensiveBackgroundThrottlingCPUBudget() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698