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

Unified Diff: ui/native_theme/native_theme_base.cc

Issue 2716213002: ui: Fix cc/paint skia type mismatches (Closed)
Patch Set: Created 3 years, 10 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/native_theme/native_theme_base.cc
diff --git a/ui/native_theme/native_theme_base.cc b/ui/native_theme/native_theme_base.cc
index 596cf0406ede64cbb9a2890c5eccfb8c2b894f08..e6a27a14bc27df9b703d23e472228709ae58abfe 100644
--- a/ui/native_theme/native_theme_base.cc
+++ b/ui/native_theme/native_theme_base.cc
@@ -899,11 +899,11 @@ void NativeThemeBase::PaintProgressBar(
}
void NativeThemeBase::PaintFrameTopArea(
- SkCanvas* canvas,
+ cc::PaintCanvas* canvas,
State state,
const gfx::Rect& rect,
const FrameTopAreaExtraParams& frame_top_area) const {
- SkPaint flags;
+ cc::PaintFlags flags;
flags.setColor(frame_top_area.default_background_color);
canvas->drawRect(gfx::RectToSkRect(rect), flags);
}

Powered by Google App Engine
This is Rietveld 408576698