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

Unified Diff: content/browser/web_contents/aura/gesture_nav_simple.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
Index: content/browser/web_contents/aura/gesture_nav_simple.cc
diff --git a/content/browser/web_contents/aura/gesture_nav_simple.cc b/content/browser/web_contents/aura/gesture_nav_simple.cc
index b826800c0dfa891cd593a2dc3ff75951d83d6a20..cef6749cae6cc9163613a7aee38f8e069d97eab5 100644
--- a/content/browser/web_contents/aura/gesture_nav_simple.cc
+++ b/content/browser/web_contents/aura/gesture_nav_simple.cc
@@ -8,6 +8,7 @@
#include "base/macros.h"
#include "cc/layers/layer.h"
+#include "cc/paint/paint_flags.h"
#include "content/browser/frame_host/navigation_controller_impl.h"
#include "content/browser/renderer_host/overscroll_controller.h"
#include "content/browser/web_contents/web_contents_impl.h"
@@ -89,9 +90,9 @@ class ArrowLayerDelegate : public ui::LayerDelegate {
private:
// ui::LayerDelegate:
void OnPaintLayer(const ui::PaintContext& context) override {
- SkPaint paint;
+ cc::PaintFlags paint;
paint.setColor(SkColorSetARGB(0xa0, 0, 0, 0));
- paint.setStyle(SkPaint::kFill_Style);
+ paint.setStyle(cc::PaintFlags::kFill_Style);
paint.setAntiAlias(true);
// Set the recording size to be the size of the |arrow_| layer, and draw a

Powered by Google App Engine
This is Rietveld 408576698