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

Unified Diff: Source/platform/graphics/GraphicsContextState.h

Issue 1213723006: Drop pattern-related state from GraphicsContext(State) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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 | « Source/platform/graphics/GraphicsContext.cpp ('k') | Source/platform/graphics/GraphicsContextState.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/GraphicsContextState.h
diff --git a/Source/platform/graphics/GraphicsContextState.h b/Source/platform/graphics/GraphicsContextState.h
index a5f7bea0f3c18d3dd73f145dc797a3bfe6ea0c1c..327cf981e93c3d8ae934ed143d92a227006d0d76 100644
--- a/Source/platform/graphics/GraphicsContextState.h
+++ b/Source/platform/graphics/GraphicsContextState.h
@@ -33,7 +33,6 @@
#include "platform/graphics/Gradient.h"
#include "platform/graphics/GraphicsTypes.h"
#include "platform/graphics/Path.h"
-#include "platform/graphics/Pattern.h"
#include "platform/graphics/StrokeData.h"
#include "platform/graphics/skia/SkiaUtils.h"
#include "third_party/skia/include/core/SkColorFilter.h"
@@ -75,9 +74,6 @@ public:
Gradient* strokeGradient() const { return m_strokeGradient.get(); }
void setStrokeGradient(const PassRefPtr<Gradient>, float);
- Pattern* strokePattern() const { return m_strokePattern.get(); }
- void setStrokePattern(const PassRefPtr<Pattern>, float);
-
const StrokeData& strokeData() const { return m_strokeData; }
void setStrokeStyle(StrokeStyle);
void setStrokeThickness(float);
@@ -93,9 +89,6 @@ public:
Gradient* fillGradient() const { return m_fillGradient.get(); }
void setFillGradient(const PassRefPtr<Gradient>, float);
- Pattern* fillPattern() const { return m_fillPattern.get(); }
- void setFillPattern(const PassRefPtr<Pattern>, float);
-
// Shadow. (This will need tweaking if we use draw loopers for other things.)
SkDrawLooper* drawLooper() const { return m_looper.get(); }
void setDrawLooper(PassRefPtr<SkDrawLooper>);
@@ -128,11 +121,9 @@ private:
Color m_strokeColor;
RefPtr<Gradient> m_strokeGradient;
- RefPtr<Pattern> m_strokePattern;
Color m_fillColor;
RefPtr<Gradient> m_fillGradient;
- RefPtr<Pattern> m_fillPattern;
RefPtr<SkDrawLooper> m_looper;
« no previous file with comments | « Source/platform/graphics/GraphicsContext.cpp ('k') | Source/platform/graphics/GraphicsContextState.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698