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

Issue 1443723002: Revert of Fix NTP thumbnail generation (Closed)

Created:
5 years, 1 month ago by zhaoqin
Modified:
5 years, 1 month ago
CC:
chromium-reviews, yusukes+watch_chromium.org, Ian Vollick, shuchen+watch_chromium.org, jam, sievers+watch_chromium.org, jbauman+watch_chromium.org, nona+watch_chromium.org, darin-cc_chromium.org, kalyank, piman+watch_chromium.org, danakj+watch_chromium.org, James Su, cc-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Revert of Fix NTP thumbnail generation (patchset #13 id:260001 of https://codereview.chromium.org/1348833003/ ) Reason for revert: possible culprit of an uninit error BUG=555567 TBR=shrike@chromium.org Original issue's description: > Fix NTP thumbnail generation > > This change delays browser compositor view suspention until pending > thumbnail generation has completed. > > This solution uses polling to check if it's OK to suspend the > compositor, which is not great. Also, there's a potential race condition > between the user foregrounding the tab and the pending suspension. > Ideally the thumnail generation operation would signal the compositor > that it's OK to proceed with its suspension, and the compositor would only > suspend itself if it has not been reactivated. I'm just not sure of the > best way to approach that. > > BUG=530707 > > Committed: https://crrev.com/d77a3639f04f83a5c5cf47d88dbac2f0d4345ea5 > Cr-Commit-Position: refs/heads/master@{#359361} TBR=ccameron@chromium.org,thestig@chromium.org,motek@chromium.org,shrike@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=530707

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+72 lines, -231 lines) Patch
M chrome/browser/thumbnails/content_based_thumbnailing_algorithm.cc View 7 chunks +24 lines, -39 lines 0 comments Download
M chrome/browser/thumbnails/content_based_thumbnailing_algorithm_unittest.cc View 5 chunks +7 lines, -7 lines 0 comments Download
M chrome/browser/thumbnails/simple_thumbnail_crop.cc View 1 chunk +7 lines, -10 lines 0 comments Download
M chrome/browser/thumbnails/thumbnail_service.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/thumbnails/thumbnail_service_impl.cc View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/thumbnails/thumbnail_tab_helper.cc View 4 chunks +10 lines, -20 lines 0 comments Download
M chrome/browser/thumbnails/thumbnailing_context.h View 3 chunks +7 lines, -24 lines 0 comments Download
M chrome/browser/thumbnails/thumbnailing_context.cc View 1 chunk +6 lines, -44 lines 0 comments Download
D chrome/browser/thumbnails/thumbnailing_context_unittest.cc View 1 chunk +0 lines, -70 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/compositor/delegated_frame_host.cc View 3 chunks +4 lines, -6 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.mm View 2 chunks +5 lines, -7 lines 0 comments Download

Messages

Total messages: 10 (2 generated)
zhaoqin
Created Revert of Fix NTP thumbnail generation
5 years, 1 month ago (2015-11-13 15:55:32 UTC) #1
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1443723002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1443723002/1
5 years, 1 month ago (2015-11-13 15:55:57 UTC) #2
commit-bot: I haz the power
No L-G-T-M from a valid reviewer yet. Only full committers are accepted. Even if an ...
5 years, 1 month ago (2015-11-13 15:55:58 UTC) #4
zhaoqin
shrike, could you please take a look at this issue crbug.com/555567
5 years, 1 month ago (2015-11-13 17:41:36 UTC) #5
shrike
On 2015/11/13 17:41:36, zhaoqin wrote: > shrike, could you please take a look at this ...
5 years, 1 month ago (2015-11-13 17:59:00 UTC) #6
zhaoqin
On 2015/11/13 17:59:00, shrike wrote: > On 2015/11/13 17:41:36, zhaoqin wrote: > > shrike, could ...
5 years, 1 month ago (2015-11-13 18:15:19 UTC) #7
shrike
On 2015/11/13 18:15:19, zhaoqin wrote: > On 2015/11/13 17:59:00, shrike wrote: > > On 2015/11/13 ...
5 years, 1 month ago (2015-11-13 18:17:39 UTC) #8
shrike
5 years, 1 month ago (2015-11-13 18:36:41 UTC) #9
On 2015/11/13 18:17:39, shrike wrote:
> On 2015/11/13 18:15:19, zhaoqin wrote:
> > On 2015/11/13 17:59:00, shrike wrote:
> > > On 2015/11/13 17:41:36, zhaoqin wrote:
> > > > shrike, could you please take a look at this issue crbug.com/555567
> > > 
> > > Hello zhaoqin,
> > > 
> > > I have looked at it and I believe I understand the problem. I have a fix,
> but
> > > I'm not sure how to proceed given that you have begun the process of
> reverting
> > > my cl (although it looks like the revert did not land). Please advise....
> > 
> > the revert did not get in, so if you have a quick fix to be committed soon,
we
> > can just forget the revert and wait for the real fix instead.
> 
> OK, that's easy - let me get a cl up.

Please see https://codereview.chromium.org/1445433005

Powered by Google App Engine
This is Rietveld 408576698