Index: src/effects/SkEmbossMaskFilter.cpp |
diff --git a/src/effects/SkEmbossMaskFilter.cpp b/src/effects/SkEmbossMaskFilter.cpp |
index 9bf5025e702b223ac52ce97ff828a1dbad504000..cdd55fcc5b836e00328e6fba0aca41ac50097f56 100644 |
--- a/src/effects/SkEmbossMaskFilter.cpp |
+++ b/src/effects/SkEmbossMaskFilter.cpp |
@@ -1,4 +1,3 @@ |
- |
/* |
* Copyright 2006 The Android Open Source Project |
* |
@@ -6,7 +5,6 @@ |
* found in the LICENSE file. |
*/ |
- |
#include "SkEmbossMaskFilter.h" |
#include "SkBlurMaskFilter.h" |
#include "SkBlurMask.h" |
@@ -15,6 +13,10 @@ |
#include "SkWriteBuffer.h" |
#include "SkString.h" |
+SkEmbossMaskFilter* SkEmbossMaskFilter::Create(SkScalar blurSigma, const Light& light) { |
+ return SkNEW_ARGS(SkEmbossMaskFilter, (blurSigma, light)); |
+} |
+ |
static inline int pin2byte(int n) { |
if (n < 0) { |
n = 0; |