diff options
author | mtklein <mtklein@google.com> | 2016-04-04 14:57:19 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-04-04 14:57:19 -0700 |
commit | 3b37545bc594a96de45eba62dea0ce478750f2a9 (patch) | |
tree | 74fcea3a567af0475a7e96720f0286a67b88d7d5 /samplecode/SampleFilterFuzz.cpp | |
parent | 99d9231f6a4cb6b85b8637e9d8ae32f8bd7c466f (diff) |
Revert of Delete SkFlattenable::Type (patchset #2 id:20001 of https://codereview.chromium.org/1834303003/ )
Reason for revert:
Used by Chrome.
c:\b\build\slave\workdir\build\src\cc\playback\compositing_display_item.cc(53): error C2039: 'GetFlattenableType': is not a member of 'SkColorFilter'
c:\b\build\slave\workdir\build\src\third_party\skia\include\core\skshader.h(19): note: see declaration of 'SkColorFilter'
c:\b\build\slave\workdir\build\src\cc\playback\compositing_display_item.cc(53): error C3861: 'GetFlattenableType': identifier not found
Original issue's description:
> Delete SkFlattenable::Type
>
> BUG=skia:
> GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1834303003
>
> Committed: https://skia.googlesource.com/skia/+/99d9231f6a4cb6b85b8637e9d8ae32f8bd7c466f
TBR=reed@google.com,msarett@google.com
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=skia:
Review URL: https://codereview.chromium.org/1853383002
Diffstat (limited to 'samplecode/SampleFilterFuzz.cpp')
-rw-r--r-- | samplecode/SampleFilterFuzz.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/samplecode/SampleFilterFuzz.cpp b/samplecode/SampleFilterFuzz.cpp index 57e7de57ae..1b7d30be1d 100644 --- a/samplecode/SampleFilterFuzz.cpp +++ b/samplecode/SampleFilterFuzz.cpp @@ -799,7 +799,8 @@ static SkImageFilter* make_serialized_image_filter() { } } #endif // SK_ADD_RANDOM_BIT_FLIPS - SkFlattenable* flattenable = SkValidatingDeserializeFlattenable(ptr, len); + SkFlattenable* flattenable = SkValidatingDeserializeFlattenable(ptr, len, + SkImageFilter::GetFlattenableType()); return static_cast<SkImageFilter*>(flattenable); } |