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

Issue 10911008: Avoid generating thumbnails while WebContents is destructed. (Closed)

Created:
8 years, 3 months ago by Avi (use Gerrit)
Modified:
8 years, 3 months ago
Reviewers:
mazda, jam
CC:
chromium-reviews, creis+watch_chromium.org, brettw-cc_chromium.org, joi+watch-content_chromium.org, darin-cc_chromium.org, ajwong+watch_chromium.org
Visibility:
Public.

Description

Avoid generating thumbnails while WebContents is destructed. This reverts r139939 and fixes it again. BUG=130097, 107201 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=154318

Patch Set 1 #

Total comments: 8
Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -18 lines) Patch
M chrome/browser/tab_contents/thumbnail_generator.cc View 2 chunks +7 lines, -3 lines 5 comments Download
M chrome/browser/ui/tab_contents/tab_contents.cc View 1 chunk +0 lines, -10 lines 3 comments Download
M content/public/browser/web_contents.h View 1 chunk +3 lines, -5 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Avi (use Gerrit)
mazda: Please review; would this work? jam: Is it appropriate to promote IsBeingDestroyed to be ...
8 years, 3 months ago (2012-08-30 15:10:53 UTC) #1
mazda
https://chromiumcodereview.appspot.com/10911008/diff/1/chrome/browser/tab_contents/thumbnail_generator.cc File chrome/browser/tab_contents/thumbnail_generator.cc (right): https://chromiumcodereview.appspot.com/10911008/diff/1/chrome/browser/tab_contents/thumbnail_generator.cc#newcode489 chrome/browser/tab_contents/thumbnail_generator.cc:489: if (web_contents->IsBeingDestroyed()) How about the follwing code to deal ...
8 years, 3 months ago (2012-08-30 17:19:18 UTC) #2
Avi (use Gerrit)
https://chromiumcodereview.appspot.com/10911008/diff/1/chrome/browser/tab_contents/thumbnail_generator.cc File chrome/browser/tab_contents/thumbnail_generator.cc (right): https://chromiumcodereview.appspot.com/10911008/diff/1/chrome/browser/tab_contents/thumbnail_generator.cc#newcode489 chrome/browser/tab_contents/thumbnail_generator.cc:489: if (web_contents->IsBeingDestroyed()) On 2012/08/30 17:19:18, mazda wrote: > How ...
8 years, 3 months ago (2012-08-30 18:16:26 UTC) #3
jam
On 2012/08/30 15:10:53, Avi wrote: > mazda: Please review; would this work? > jam: Is ...
8 years, 3 months ago (2012-08-30 18:53:48 UTC) #4
mazda
https://chromiumcodereview.appspot.com/10911008/diff/1/chrome/browser/tab_contents/thumbnail_generator.cc File chrome/browser/tab_contents/thumbnail_generator.cc (right): https://chromiumcodereview.appspot.com/10911008/diff/1/chrome/browser/tab_contents/thumbnail_generator.cc#newcode489 chrome/browser/tab_contents/thumbnail_generator.cc:489: if (web_contents->IsBeingDestroyed()) On 2012/08/30 18:16:26, Avi wrote: > On ...
8 years, 3 months ago (2012-08-30 19:39:22 UTC) #5
Avi (use Gerrit)
https://chromiumcodereview.appspot.com/10911008/diff/1/chrome/browser/tab_contents/thumbnail_generator.cc File chrome/browser/tab_contents/thumbnail_generator.cc (right): https://chromiumcodereview.appspot.com/10911008/diff/1/chrome/browser/tab_contents/thumbnail_generator.cc#newcode489 chrome/browser/tab_contents/thumbnail_generator.cc:489: if (web_contents->IsBeingDestroyed()) Adding a temporary dependency to TabContents would ...
8 years, 3 months ago (2012-08-30 19:44:16 UTC) #6
mazda
lgtm http://codereview.chromium.org/10911008/diff/1/chrome/browser/tab_contents/thumbnail_generator.cc File chrome/browser/tab_contents/thumbnail_generator.cc (right): http://codereview.chromium.org/10911008/diff/1/chrome/browser/tab_contents/thumbnail_generator.cc#newcode489 chrome/browser/tab_contents/thumbnail_generator.cc:489: if (web_contents->IsBeingDestroyed()) On 2012/08/30 19:44:16, Avi wrote: > ...
8 years, 3 months ago (2012-08-30 20:39:39 UTC) #7
Avi (use Gerrit)
Nice! I'll commit but we'll keep an eye on it so we can revert if ...
8 years, 3 months ago (2012-08-30 20:49:52 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/avi@chromium.org/10911008/1
8 years, 3 months ago (2012-08-30 20:52:24 UTC) #9
commit-bot: I haz the power
8 years, 3 months ago (2012-08-30 23:57:29 UTC) #10
Change committed as 154318

Powered by Google App Engine
This is Rietveld 408576698