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

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

Issue 2640983002: Rename paint data structures (Closed)
Patch Set: Rebase 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: 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 ef65a29f3477dce0e37f0729ccf1646e38eb5a69..ce579efa43182712ac1f8e7cec00cf51fdf79133 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);

Powered by Google App Engine
This is Rietveld 408576698