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

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

Issue 2546523004: <webview> Fix crash when closing chrome://chrome-signin (Closed)
Patch Set: Created 4 years 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 a6624392d098a089f7b85629ed64dcc6154385b9..5b98a031a79c21e96dc63a393fde43edf3ac1b59 100644
--- a/content/browser/web_contents/web_contents_impl.cc
+++ b/content/browser/web_contents/web_contents_impl.cc
@@ -2476,7 +2476,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