Chromium Code Reviews

Unified Diff: ui/app_list/views/app_list_item_view.h

Issue 867003002: Cache gfx::RenderText instances in views::Label. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: do not overuse the memory Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: ui/app_list/views/app_list_item_view.h
diff --git a/ui/app_list/views/app_list_item_view.h b/ui/app_list/views/app_list_item_view.h
index 8e7ca596e9b9636c7b4ac27b6ce77caddb5d99ea..2f1e24078c72acef45a1da8d96ff719d81a32786 100644
--- a/ui/app_list/views/app_list_item_view.h
+++ b/ui/app_list/views/app_list_item_view.h
@@ -112,7 +112,6 @@ class APP_LIST_EXPORT AppListItemView : public views::CustomButton,
// views::View overrides:
const char* GetClassName() const override;
void Layout() override;
- void SchedulePaintInRect(const gfx::Rect& r) override;
void OnPaint(gfx::Canvas* canvas) override;
// views::ContextMenuController overrides:

Powered by Google App Engine