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

Unified Diff: views/controls/tabbed_pane/native_tabbed_pane_win.cc

Issue 8122013: Allow CanvasSkia to bind to an existing SkCanvas. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: 1 more fix Created 9 years, 2 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: views/controls/tabbed_pane/native_tabbed_pane_win.cc
diff --git a/views/controls/tabbed_pane/native_tabbed_pane_win.cc b/views/controls/tabbed_pane/native_tabbed_pane_win.cc
index 455e8fba3bc1890d2b5b8fb90288715f30928a05..773761ddc08ca04716458904b9559e129fceb981 100644
--- a/views/controls/tabbed_pane/native_tabbed_pane_win.cc
+++ b/views/controls/tabbed_pane/native_tabbed_pane_win.cc
@@ -41,7 +41,7 @@ class TabBackground : public Background {
gfx::Rect r(0, 0, view->width(), view->height());
gfx::NativeTheme::ExtraParams extra;
gfx::NativeTheme::instance()->Paint(
- canvas->AsCanvasSkia(), gfx::NativeTheme::kTabPanelBackground,
+ canvas->GetSkCanvas(), gfx::NativeTheme::kTabPanelBackground,
gfx::NativeTheme::kNormal, r, extra);
}

Powered by Google App Engine
This is Rietveld 408576698