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

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

Issue 1147343003: Drop fillRule state from GraphicsContext (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase. Created 5 years, 7 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 8ad9d613f16a62f848d889a2344fee38ba9b92c9..78834f8e2a7927c3617a684c2e3b49fb235acac9 100644
--- a/Source/platform/graphics/GraphicsContextState.h
+++ b/Source/platform/graphics/GraphicsContextState.h
@@ -99,10 +99,6 @@ public:
Pattern* fillPattern() const { return m_fillPattern.get(); }
void setFillPattern(const PassRefPtr<Pattern>, float);
- // Path fill rule
- WindRule fillRule() const { return m_fillRule; }
- void setFillRule(WindRule rule) { m_fillRule = rule; }
-
// Shadow. (This will need tweaking if we use draw loopers for other things.)
SkDrawLooper* drawLooper() const { return m_looper.get(); }
void setDrawLooper(PassRefPtr<SkDrawLooper>);
@@ -160,7 +156,6 @@ private:
RefPtr<Pattern> m_strokePattern;
Color m_fillColor;
- WindRule m_fillRule;
RefPtr<Gradient> m_fillGradient;
RefPtr<Pattern> m_fillPattern;
« 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