Index: gm/lightingshaderbevel.cpp |
diff --git a/gm/lightingshaderbevel.cpp b/gm/lightingshaderbevel.cpp |
index d119a27cbd1cca7d440d92278483a0769c6a3a82..dfc46e44717b784b8843d770d7be1354be0d0cb5 100644 |
--- a/gm/lightingshaderbevel.cpp |
+++ b/gm/lightingshaderbevel.cpp |
@@ -6,8 +6,6 @@ |
*/ |
#include "gm.h" |
- |
-#include "SkBitmapProcShader.h" |
#include "SkLightingShader.h" |
#include "SkNormalSource.h" |
#include "SkPath.h" |
@@ -54,8 +52,8 @@ protected: |
sk_tool_utils::color_to_565(0x0), |
sk_tool_utils::color_to_565(0xFF804020), |
8); |
- fDiffuse = SkMakeBitmapShader(diffuseMap, SkShader::kClamp_TileMode, |
- SkShader::kClamp_TileMode, &matrix, nullptr); |
+ fDiffuse = SkShader::MakeBitmapShader(diffuseMap, SkShader::kClamp_TileMode, |
+ SkShader::kClamp_TileMode, &matrix); |
fConvexPath.moveTo(fRect.width() / 2.0f, 0.0f); |
fConvexPath.lineTo(0.0f, fRect.height()); |