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

Unified Diff: components/plugins/renderer/webview_plugin.cc

Issue 2778393002: Add DCHECK to WebViewPlugin helper to assert WebFrameClient params. (Closed)
Patch Set: Created 3 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
« 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: components/plugins/renderer/webview_plugin.cc
diff --git a/components/plugins/renderer/webview_plugin.cc b/components/plugins/renderer/webview_plugin.cc
index 075515a0779ff784b51c27f377e22cf38aba4a59..a958c6d7730c0285952fc2460114fdf8207f324f 100644
--- a/components/plugins/renderer/webview_plugin.cc
+++ b/components/plugins/renderer/webview_plugin.cc
@@ -317,6 +317,7 @@ void WebViewPlugin::WebViewHelper::scheduleAnimation() {
void WebViewPlugin::WebViewHelper::didClearWindowObject(
WebLocalFrame* frame) {
+ DCHECK_EQ(frame, web_view_->mainFrame());
if (!plugin_->delegate_)
return;
« 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