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

Unified Diff: src/animator/SkDrawGradient.h

Issue 296823008: Revert of Remove unused (by clients) SkUnitMapper (https://codereview.chromium.org/283273002/) (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 6 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 | « samplecode/SampleVertices.cpp ('k') | src/animator/SkDrawGradient.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/animator/SkDrawGradient.h
diff --git a/src/animator/SkDrawGradient.h b/src/animator/SkDrawGradient.h
index fa46a9e629882f4507ff245fc5042aaa1d04bad7..ff79e3fb912158f31b6cc3bb77514597413bebc0 100644
--- a/src/animator/SkDrawGradient.h
+++ b/src/animator/SkDrawGradient.h
@@ -14,6 +14,8 @@
#include "SkDrawShader.h"
#include "SkIntArray.h"
+class SkUnitMapper;
+
class SkDrawGradient : public SkDrawShader {
DECLARE_PRIVATE_MEMBER_INFO(DrawGradient);
SkDrawGradient();
@@ -28,6 +30,7 @@
SkString unitMapper;
SkTDColorArray fColors;
SkTDDrawColorArray fDrawColors;
+ SkUnitMapper* fUnitMapper;
int addPrelude();
private:
typedef SkDrawShader INHERITED;
« no previous file with comments | « samplecode/SampleVertices.cpp ('k') | src/animator/SkDrawGradient.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698