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

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

Issue 2519333007: <webview> Fix crash when closing chrome://chrome-signin (Closed)
Patch Set: OS_LINUX always true when OS_CHROMEOS, excluse OS_CHROMEOS 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 | « chrome/browser/apps/guest_view/web_view_browsertest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 b22bfdaa29fea8982f715fce1d99644b77d2ee72..24be3e297f298557beb17143989203ed9827b985 100644
--- a/content/browser/web_contents/web_contents_impl.cc
+++ b/content/browser/web_contents/web_contents_impl.cc
@@ -2480,7 +2480,7 @@ void WebContentsImpl::SendScreenRects() {
MSG_ROUTING_NONE, rwhv->GetBoundsInRootWindow()));
}
- if (browser_plugin_embedder_)
+ if (browser_plugin_embedder_ && !is_being_destroyed_)
browser_plugin_embedder_->DidSendScreenRects();
}
« no previous file with comments | « chrome/browser/apps/guest_view/web_view_browsertest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698