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

Issue 81393004: ash: Avoid reloading already-resized custom wallpaper. (Closed)

Created:
7 years, 1 month ago by Daniel Erat
Modified:
7 years, 1 month ago
Reviewers:
oshima, bshe
CC:
chromium-reviews, kalyank, sadrul, ben+ash_chromium.org, Alexander Alekseev
Visibility:
Public.

Description

ash: Avoid reloading already-resized custom wallpaper. Avoid a white flash at startup caused by DesktopBackgroundController comparing the resized version of a custom wallpaper image against the original image, seeing that they are different, and then resizing the original image again. BUG=321402 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=236852

Patch Set 1 #

Patch Set 2 : add another MakeThreadSafe() call to WallpaperResizer #

Total comments: 1

Patch Set 3 : only call MakeThreadSafe in WallpaperResizer's c'tor #

Patch Set 4 : fix WallpaperManager test #

Patch Set 5 : style fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+151 lines, -52 lines) Patch
M ash/desktop_background/desktop_background_controller.cc View 1 2 3 4 4 chunks +18 lines, -14 lines 0 comments Download
M ash/desktop_background/desktop_background_controller_unittest.cc View 1 2 4 chunks +57 lines, -23 lines 0 comments Download
M ash/desktop_background/wallpaper_resizer.h View 4 chunks +14 lines, -5 lines 0 comments Download
M ash/desktop_background/wallpaper_resizer.cc View 1 2 4 chunks +16 lines, -4 lines 0 comments Download
M ash/desktop_background/wallpaper_resizer_unittest.cc View 1 2 3 chunks +18 lines, -2 lines 0 comments Download
M ash/test/test_user_wallpaper_delegate.h View 1 chunk +13 lines, -2 lines 0 comments Download
M ash/test/test_user_wallpaper_delegate.cc View 1 chunk +12 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/wallpaper_manager_browsertest.cc View 1 2 3 2 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Daniel Erat
7 years, 1 month ago (2013-11-22 02:39:47 UTC) #1
oshima
lgtm
7 years, 1 month ago (2013-11-22 03:13:03 UTC) #2
bshe
On 2013/11/22 03:13:03, oshima wrote: > lgtm lgtm Thanks for fixing it.
7 years, 1 month ago (2013-11-22 15:07:20 UTC) #3
Daniel Erat
Oshima, I have a threading question for you. :-) https://codereview.chromium.org/81393004/diff/70001/ash/desktop_background/wallpaper_resizer.cc File ash/desktop_background/wallpaper_resizer.cc (right): https://codereview.chromium.org/81393004/diff/70001/ash/desktop_background/wallpaper_resizer.cc#newcode98 ash/desktop_background/wallpaper_resizer.cc:98: ...
7 years, 1 month ago (2013-11-22 15:33:20 UTC) #4
oshima
On 2013/11/22 15:33:20, Daniel Erat wrote: > Oshima, I have a threading question for you. ...
7 years, 1 month ago (2013-11-22 18:41:14 UTC) #5
oshima
On 2013/11/22 18:41:14, oshima wrote: > On 2013/11/22 15:33:20, Daniel Erat wrote: > > Oshima, ...
7 years, 1 month ago (2013-11-22 19:20:06 UTC) #6
Daniel Erat
On Fri, Nov 22, 2013 at 11:20 AM, <oshima@chromium.org> wrote: > On 2013/11/22 18:41:14, oshima ...
7 years, 1 month ago (2013-11-22 19:31:25 UTC) #7
oshima
On 2013/11/22 19:31:25, Daniel Erat wrote: > On Fri, Nov 22, 2013 at 11:20 AM, ...
7 years, 1 month ago (2013-11-22 19:43:08 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/derat@chromium.org/81393004/230001
7 years, 1 month ago (2013-11-22 20:23:34 UTC) #9
commit-bot: I haz the power
7 years, 1 month ago (2013-11-22 22:44:27 UTC) #10
Message was sent while issue was closed.
Change committed as 236852

Powered by Google App Engine
This is Rietveld 408576698