| Index: src/core/SkLightingShader.h
|
| diff --git a/src/core/SkLightingShader.h b/src/core/SkLightingShader.h
|
| index e918f3b05f71fc00d844b3a9a777127756c0c2a8..30ce6559c51691d2991b3fb444d4de8600e768e0 100644
|
| --- a/src/core/SkLightingShader.h
|
| +++ b/src/core/SkLightingShader.h
|
| @@ -1,4 +1,3 @@
|
| -
|
| /*
|
| * Copyright 2015 Google Inc.
|
| *
|
| @@ -6,7 +5,6 @@
|
| * found in the LICENSE file.
|
| */
|
|
|
| -
|
| #ifndef SkLightingShader_DEFINED
|
| #define SkLightingShader_DEFINED
|
|
|
| @@ -90,9 +88,9 @@ public:
|
| The +Z axis is thus encoded in RGB as (127, 127, 255) while the -Z axis is
|
| (127, 127, 0).
|
| */
|
| - static SkShader* Create(const SkBitmap& diffuse, const SkBitmap& normal,
|
| - const Lights* lights, const SkVector& invNormRotation,
|
| - const SkMatrix* diffLocalMatrix, const SkMatrix* normLocalMatrix);
|
| + static sk_sp<SkShader> Make(const SkBitmap& diffuse, const SkBitmap& normal,
|
| + const Lights* lights, const SkVector& invNormRotation,
|
| + const SkMatrix* diffLocalMatrix, const SkMatrix* normLocalMatrix);
|
|
|
| SK_DECLARE_FLATTENABLE_REGISTRAR_GROUP()
|
| };
|
|
|