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

Unified Diff: apps/ui/views/app_window_frame_view.cc

Issue 2640983002: Rename paint data structures (Closed)
Patch Set: Re-add ios changes 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: apps/ui/views/app_window_frame_view.cc
diff --git a/apps/ui/views/app_window_frame_view.cc b/apps/ui/views/app_window_frame_view.cc
index 728e038afb46b0adcceb914f7aa8989b39539394..5e1fad960b7a37e4c1a6d3abeeaddce911be6f8a 100644
--- a/apps/ui/views/app_window_frame_view.cc
+++ b/apps/ui/views/app_window_frame_view.cc
@@ -5,10 +5,10 @@
#include "apps/ui/views/app_window_frame_view.h"
#include "base/strings/utf_string_conversions.h"
+#include "cc/paint/paint_flags.h"
#include "extensions/browser/app_window/native_app_window.h"
#include "extensions/common/draggable_region.h"
#include "grit/theme_resources.h"
-#include "third_party/skia/include/core/SkPaint.h"
#include "third_party/skia/include/core/SkRegion.h"
#include "ui/base/hit_test.h"
#include "ui/base/l10n/l10n_util.h"
@@ -305,9 +305,9 @@ void AppWindowFrameView::OnPaint(gfx::Canvas* canvas) {
SetButtonImagesForFrame();
// TODO(benwells): different look for inactive by default.
- SkPaint paint;
+ cc::PaintFlags paint;
sky 2017/01/26 23:00:13 paint_flags
paint.setAntiAlias(false);
- paint.setStyle(SkPaint::kFill_Style);
+ paint.setStyle(cc::PaintFlags::kFill_Style);
paint.setColor(CurrentFrameColor());
gfx::Path path;
path.moveTo(0, 0);

Powered by Google App Engine
This is Rietveld 408576698