rename FoceCopyMode to SkCopyPixelMode
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2220603002
Review-Url: https://codereview.chromium.org/2220603002
diff --git a/gm/lightingshaderbevel.cpp b/gm/lightingshaderbevel.cpp
index d119a27..dfc46e4 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 @@
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());