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

Unified Diff: include/effects/SkPerlinNoiseShader.h

Issue 318923005: SkShader::asNewEffect Refactoring (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Style corrections Created 6 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
Index: include/effects/SkPerlinNoiseShader.h
diff --git a/include/effects/SkPerlinNoiseShader.h b/include/effects/SkPerlinNoiseShader.h
index 63e74155a64920ef4483d1b06ae576a11a8221f2..65b918584285b9c7bd20540e22fa9808941e54b0 100644
--- a/include/effects/SkPerlinNoiseShader.h
+++ b/include/effects/SkPerlinNoiseShader.h
@@ -95,8 +95,8 @@ public:
typedef SkShader::Context INHERITED;
};
- virtual GrEffectRef* asNewEffect(GrContext* context, const SkPaint&,
- const SkMatrix*) const SK_OVERRIDE;
+ virtual bool asNewEffect(GrContext* context, const SkPaint&, GrColor*, GrEffectRef**,
+ const SkMatrix*) const SK_OVERRIDE;
SK_TO_STRING_OVERRIDE()
SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkPerlinNoiseShader)

Powered by Google App Engine
This is Rietveld 408576698