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

Unified Diff: ui/app_list/views/cached_label.cc

Issue 2143893002: Purge the App Launcher code from Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/app_list/views/cached_label.cc
diff --git a/ui/app_list/views/cached_label.cc b/ui/app_list/views/cached_label.cc
index a7a734d1404842974ca7664aada412b6536c25b1..693bb373106b605104ae7dc6782800cc1c061f5a 100644
--- a/ui/app_list/views/cached_label.cc
+++ b/ui/app_list/views/cached_label.cc
@@ -37,13 +37,6 @@ void CachedLabel::PaintToBackingImage() {
needs_repaint_ = false;
}
-#if defined(OS_WIN)
-void CachedLabel::OnPaint(gfx::Canvas* canvas) {
- PaintToBackingImage();
- canvas->DrawImageInt(image_, 0, 0);
-}
-#endif
-
void CachedLabel::OnDeviceScaleFactorChanged(
float device_scale_factor) {
Invalidate();

Powered by Google App Engine
This is Rietveld 408576698