commit | 3b37545bc594a96de45eba62dea0ce478750f2a9 | [log] [tgz] |
---|---|---|
author | mtklein <mtklein@google.com> | Mon Apr 04 14:57:19 2016 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Mon Apr 04 14:57:19 2016 -0700 |
tree | 74fcea3a567af0475a7e96720f0286a67b88d7d5 | |
parent | 99d9231f6a4cb6b85b8637e9d8ae32f8bd7c466f [diff] [blame] |
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
diff --git a/include/core/SkShader.h b/include/core/SkShader.h index 1d89f61..0de53ad 100644 --- a/include/core/SkShader.h +++ b/include/core/SkShader.h
@@ -456,6 +456,7 @@ virtual SkShader* refAsALocalMatrixShader(SkMatrix* localMatrix) const; SK_TO_STRING_VIRT() + SK_DEFINE_FLATTENABLE_TYPE(SkShader) protected: void flatten(SkWriteBuffer&) const override;