Index: src/core/SkXfermode.cpp |
diff --git a/src/core/SkXfermode.cpp b/src/core/SkXfermode.cpp |
index ad477e1215f0ce563945ce9bd9275871078e03c8..79de322c2daceb95dce39bfc304776556e5ade70 100644 |
--- a/src/core/SkXfermode.cpp |
+++ b/src/core/SkXfermode.cpp |
@@ -15,8 +15,6 @@ |
#include "SkReadBuffer.h" |
#include "SkString.h" |
#include "SkWriteBuffer.h" |
-#include "SkValue.h" |
-#include "SkValueKeys.h" |
#define SkAlphaMulAlpha(a, b) SkMulDiv255Round(a, b) |
@@ -765,12 +763,6 @@ void SkProcCoeffXfermode::flatten(SkWriteBuffer& buffer) const { |
buffer.write32(fMode); |
} |
-SkValue SkProcCoeffXfermode::asValue() const { |
- auto value = SkValue::Object(SkValue::ProcCoeffXfermode); |
- value.set(SkValueKeys::ProcCoeffXfermode::kMode, SkValue::FromU32(SkToU32(fMode))); |
- return value; |
-} |
- |
bool SkProcCoeffXfermode::asMode(Mode* mode) const { |
if (mode) { |
*mode = fMode; |
@@ -1079,5 +1071,3 @@ bool SkXfermode::IsOpaque(const SkXfermode* xfer, SrcColorOpacity opacityType) { |
SK_DEFINE_FLATTENABLE_REGISTRAR_GROUP_START(SkXfermode) |
SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkProcCoeffXfermode) |
SK_DEFINE_FLATTENABLE_REGISTRAR_GROUP_END |
- |
-SkValue SkXfermode::asValue() const { return SkValue(); } |