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

Unified Diff: chrome/browser/ui/libgtkui/native_theme_gtk3.cc

Issue 2640983002: Rename paint data structures (Closed)
Patch Set: Clean up comments, fix mac build Created 3 years, 11 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: chrome/browser/ui/libgtkui/native_theme_gtk3.cc
diff --git a/chrome/browser/ui/libgtkui/native_theme_gtk3.cc b/chrome/browser/ui/libgtkui/native_theme_gtk3.cc
index 582313b8a6f3f38aeeca38cc6500f4db9c4e735b..c5c412f914f80164a393f315186eff8bf2fd675a 100644
--- a/chrome/browser/ui/libgtkui/native_theme_gtk3.cc
+++ b/chrome/browser/ui/libgtkui/native_theme_gtk3.cc
@@ -19,7 +19,7 @@ namespace libgtkui {
namespace {
-void PaintWidget(SkCanvas* canvas,
+void PaintWidget(cc::PaintCanvas* canvas,
const gfx::Rect& rect,
const char* css_selector,
GtkStateFlags state) {
@@ -356,14 +356,14 @@ SkColor NativeThemeGtk3::GetSystemColor(ColorId color_id) const {
}
void NativeThemeGtk3::PaintMenuPopupBackground(
- SkCanvas* canvas,
+ cc::PaintCanvas* canvas,
const gfx::Size& size,
const MenuBackgroundExtraParams& menu_background) const {
PaintWidget(canvas, gfx::Rect(size), "GtkMenu#menu", GTK_STATE_FLAG_NORMAL);
}
void NativeThemeGtk3::PaintMenuItemBackground(
- SkCanvas* canvas,
+ cc::PaintCanvas* canvas,
State state,
const gfx::Rect& rect,
const MenuItemExtraParams& menu_item) const {

Powered by Google App Engine
This is Rietveld 408576698