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

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

Issue 2640983002: Rename paint data structures (Closed)
Patch Set: DrawingDisplayItem 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
« no previous file with comments | « ui/views/controls/table/table_header.cc ('k') | ui/views/painter.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.cc
diff --git a/ui/views/controls/table/table_view.cc b/ui/views/controls/table/table_view.cc
index 90710c8e656840bd3075b8dce5cd52f6c0bce05a..e849df471572fbe49ec519db3d485c3142e564bb 100644
--- a/ui/views/controls/table/table_view.cc
+++ b/ui/views/controls/table/table_view.cc
@@ -14,6 +14,7 @@
#include "base/i18n/rtl.h"
#include "base/strings/string_util.h"
#include "base/strings/utf_string_conversions.h"
+#include "cc/paint/paint_flags.h"
#include "ui/accessibility/ax_node_data.h"
#include "ui/events/event.h"
#include "ui/gfx/canvas.h"
@@ -599,9 +600,9 @@ void TableView::OnPaint(gfx::Canvas* canvas) {
const SkColor grouping_color = GetNativeTheme()->GetSystemColor(
ui::NativeTheme::kColorId_TableGroupingIndicatorColor);
- SkPaint grouping_paint;
+ cc::PaintFlags grouping_paint;
grouping_paint.setColor(grouping_color);
- grouping_paint.setStyle(SkPaint::kFill_Style);
+ grouping_paint.setStyle(cc::PaintFlags::kFill_Style);
grouping_paint.setAntiAlias(true);
const int group_indicator_x = GetMirroredXInView(GetCellBounds(0, 0).x() +
kTextHorizontalPadding + kGroupingIndicatorSize / 2);
« no previous file with comments | « ui/views/controls/table/table_header.cc ('k') | ui/views/painter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698