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

Unified Diff: content/browser/web_contents/web_contents_impl.cc

Issue 2519333007: <webview> Fix crash when closing chrome://chrome-signin (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
Index: content/browser/web_contents/web_contents_impl.cc
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
index 319daf9e93ac0e6e1c635641741de2db525e2850..7063675e636eee61f1dc5a5b46410d2f4427e519 100644
--- a/content/browser/web_contents/web_contents_impl.cc
+++ b/content/browser/web_contents/web_contents_impl.cc
@@ -2477,7 +2477,7 @@ void WebContentsImpl::SendScreenRects() {
MSG_ROUTING_NONE, rwhv->GetBoundsInRootWindow()));
}
- if (browser_plugin_embedder_)
+ if (browser_plugin_embedder_ && !is_being_destroyed_)
browser_plugin_embedder_->DidSendScreenRects();
}

Powered by Google App Engine
This is Rietveld 408576698