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

Unified Diff: trunk/Source/core/platform/graphics/GraphicsContext.h

Issue 23507002: Revert 156733 "Refactoring DrawLooper so that it can apply shado..." (Closed) Base URL: svn://svn.chromium.org/blink/
Patch Set: Created 7 years, 4 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: trunk/Source/core/platform/graphics/GraphicsContext.h
===================================================================
--- trunk/Source/core/platform/graphics/GraphicsContext.h (revision 156736)
+++ trunk/Source/core/platform/graphics/GraphicsContext.h (working copy)
@@ -129,7 +129,7 @@
void setFillGradient(PassRefPtr<Gradient>);
Gradient* fillGradient() const { return m_state->m_fillGradient.get(); }
- DrawLooper* drawLooper() const { return m_state->m_looper.get(); }
+ SkDrawLooper* drawLooper() const { return m_state->m_looper.get(); }
SkColor effectiveStrokeColor() const { return m_state->applyAlpha(m_state->m_strokeData.color().rgb()); }
int getNormalizedAlpha() const;
@@ -304,7 +304,7 @@
// It is assumed that this draw looper is used only for shadows
// (i.e. a draw looper is set if and only if there is a shadow).
- void setDrawLooper(PassRefPtr<DrawLooper>);
+ void setDrawLooper(const DrawLooper&);
void clearDrawLooper();
void drawFocusRing(const Vector<IntRect>&, int width, int offset, const Color&);
« no previous file with comments | « trunk/Source/core/platform/graphics/DrawLooper.cpp ('k') | trunk/Source/core/platform/graphics/GraphicsContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698