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

Issue 405373002: Use a correct scale factor in app_list::CachedLabel (Closed)

Created:
6 years, 5 months ago by tapted
Modified:
6 years, 5 months ago
Reviewers:
calamity
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org, tfarina
Visibility:
Public.

Description

Use a correct scale factor in app_list::CachedLabel It currently just uses 1.0. Instead, fetch it with ui::GetScaleFactorForNativeView and invalidate it when the scale factor changes. This is a small fix for a simple HiDPI bug, but eventually we will be able to scrap CachedLabel: The performance improvement it offers will be redundant with http://crbug.com/240037. BUG=368493 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=284649

Patch Set 1 #

Patch Set 2 : call parent #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -2 lines) Patch
M ui/app_list/views/cached_label.h View 1 chunk +4 lines, -1 line 0 comments Download
M ui/app_list/views/cached_label.cc View 1 3 chunks +11 lines, -1 line 0 comments Download

Messages

Total messages: 5 (0 generated)
tapted
6 years, 5 months ago (2014-07-22 06:04:57 UTC) #1
calamity
lgtm
6 years, 5 months ago (2014-07-22 07:38:32 UTC) #2
tapted
The CQ bit was checked by tapted@chromium.org
6 years, 5 months ago (2014-07-22 07:44:03 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tapted@chromium.org/405373002/20001
6 years, 5 months ago (2014-07-22 07:44:53 UTC) #4
commit-bot: I haz the power
6 years, 5 months ago (2014-07-22 08:56:45 UTC) #5
Message was sent while issue was closed.
Change committed as 284649

Powered by Google App Engine
This is Rietveld 408576698