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

Unified Diff: third_party/WebKit/Source/modules/canvas2d/CanvasStyle.h

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
Index: third_party/WebKit/Source/modules/canvas2d/CanvasStyle.h
diff --git a/third_party/WebKit/Source/modules/canvas2d/CanvasStyle.h b/third_party/WebKit/Source/modules/canvas2d/CanvasStyle.h
index c76ff9d97494e5afc870736212986b9e7b65f395..69df0667a0d238fdcefef373705113c36d1f2892 100644
--- a/third_party/WebKit/Source/modules/canvas2d/CanvasStyle.h
+++ b/third_party/WebKit/Source/modules/canvas2d/CanvasStyle.h
@@ -28,12 +28,11 @@
#define CanvasStyle_h
#include "platform/graphics/Color.h"
+#include "platform/graphics/paint/PaintFlags.h"
#include "platform/heap/Handle.h"
#include "wtf/Assertions.h"
#include "wtf/text/WTFString.h"
-class SkPaint;
-
namespace blink {
class CanvasGradient;
@@ -55,7 +54,7 @@ class CanvasStyle final : public GarbageCollected<CanvasStyle> {
CanvasGradient* getCanvasGradient() const { return m_gradient.get(); }
CanvasPattern* getCanvasPattern() const { return m_pattern; }
- void applyToPaint(SkPaint&) const;
+ void applyToPaint(PaintFlags&) const;
RGBA32 paintColor() const;
bool isEquivalentRGBA(RGBA32 rgba) const {

Powered by Google App Engine
This is Rietveld 408576698