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

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

Issue 2640983002: Rename paint data structures (Closed)
Patch Set: Clean up comments, fix mac build 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 | « apps/DEPS ('k') | cc/BUILD.gn » ('j') | cc/BUILD.gn » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..21e8a7008d39a891f9fec8b9466ebec05407b0cb 100644
--- a/apps/ui/views/app_window_frame_view.cc
+++ b/apps/ui/views/app_window_frame_view.cc
@@ -5,6 +5,7 @@
#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"
@@ -305,9 +306,9 @@ void AppWindowFrameView::OnPaint(gfx::Canvas* canvas) {
SetButtonImagesForFrame();
// TODO(benwells): different look for inactive by default.
- SkPaint paint;
+ cc::PaintFlags paint;
paint.setAntiAlias(false);
- paint.setStyle(SkPaint::kFill_Style);
+ paint.setStyle(cc::PaintFlags::kFill_Style);
paint.setColor(CurrentFrameColor());
gfx::Path path;
path.moveTo(0, 0);
« no previous file with comments | « apps/DEPS ('k') | cc/BUILD.gn » ('j') | cc/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698