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

Issue 11085044: Browser Plugin: When Guest crashes Embedder crashes in content shell (Closed)

Created:
8 years, 2 months ago by Fady Samuel
Modified:
8 years, 2 months ago
Reviewers:
Charlie Reis, sadrul
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Visibility:
Public.

Description

Browser Plugin: When Guest crashes Embedder crashes in content shell content_shell does not have the sad plugin asset. On crash, we attempt to paint the sad plugin asset without verifying whether or not it's available. In this patch we do that check. If it is not available we paint black instead. As a small added bonus, this patch introduces the small optimization of destroying the backing store when the guest crashes because we have no need of it. Subsequent navigations will request a new backing store anyway. BUG=155059 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=161162

Patch Set 1 #

Total comments: 1

Patch Set 2 : Fixed nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -6 lines) Patch
M content/renderer/browser_plugin/browser_plugin.cc View 1 3 chunks +13 lines, -6 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Fady Samuel
8 years, 2 months ago (2012-10-10 15:29:11 UTC) #1
sadrul
BUG=155059 LGTM
8 years, 2 months ago (2012-10-10 15:40:29 UTC) #2
Fady Samuel
+creis@ for OWNER review.
8 years, 2 months ago (2012-10-10 15:42:02 UTC) #3
Fady Samuel
+creis@ for OWNER review.
8 years, 2 months ago (2012-10-10 15:42:03 UTC) #4
Charlie Reis
Great, LGTM. http://codereview.chromium.org/11085044/diff/1/content/renderer/browser_plugin/browser_plugin.cc File content/renderer/browser_plugin/browser_plugin.cc (right): http://codereview.chromium.org/11085044/diff/1/content/renderer/browser_plugin/browser_plugin.cc#newcode550 content/renderer/browser_plugin/browser_plugin.cc:550: // Paint white in case we have ...
8 years, 2 months ago (2012-10-10 16:37:39 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fsamuel@chromium.org/11085044/6002
8 years, 2 months ago (2012-10-10 17:43:24 UTC) #6
commit-bot: I haz the power
8 years, 2 months ago (2012-10-10 19:53:02 UTC) #7
Change committed as 161162

Powered by Google App Engine
This is Rietveld 408576698