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

Unified Diff: ui/views/controls/table/table_view_views.cc

Issue 9562038: ui/gfx: Make gfx::Canvas inherit from gfx::CanvasSkia. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more two win fixes Created 8 years, 9 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
« no previous file with comments | « ui/views/controls/tabbed_pane/native_tabbed_pane_win.cc ('k') | ui/views/view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/table/table_view_views.cc
diff --git a/ui/views/controls/table/table_view_views.cc b/ui/views/controls/table/table_view_views.cc
index 187c0d6886720b44012af5b791c3515591714467..aa71ce2ca0b70524e0c31b3126a0d26e874429f6 100644
--- a/ui/views/controls/table/table_view_views.cc
+++ b/ui/views/controls/table/table_view_views.cc
@@ -7,7 +7,7 @@
#include "base/i18n/rtl.h"
#include "third_party/skia/include/core/SkBitmap.h"
#include "ui/base/models/table_model.h"
-#include "ui/gfx/canvas_skia.h"
+#include "ui/gfx/canvas.h"
#include "ui/gfx/native_theme.h"
#include "ui/gfx/skia_util.h"
#include "ui/views/border.h"
@@ -223,7 +223,7 @@ void TableView::OnPaint(gfx::Canvas* canvas) {
int min_y, max_y;
{
SkRect sk_clip_rect;
- if (canvas->GetSkCanvas()->getClipBounds(&sk_clip_rect)) {
+ if (canvas->sk_canvas()->getClipBounds(&sk_clip_rect)) {
gfx::Rect clip_rect = gfx::SkRectToRect(sk_clip_rect);
min_y = clip_rect.y();
max_y = clip_rect.bottom();
« no previous file with comments | « ui/views/controls/tabbed_pane/native_tabbed_pane_win.cc ('k') | ui/views/view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698