diff options
author | bsalomon@google.com <bsalomon@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-23 18:53:36 +0000 |
---|---|---|
committer | bsalomon@google.com <bsalomon@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-23 18:53:36 +0000 |
commit | 92c2e42deaea25cce90e266a6c691784762e068e (patch) | |
tree | dabda2d373514fc8cc16d6ad7edf5f8fd4862d1f /skia/ext/pixel_ref_utils_unittest.cc | |
parent | 05214727a5a6410cd88f27df9eda1c0686899db6 (diff) | |
download | chromium_src-92c2e42deaea25cce90e266a6c691784762e068e.zip chromium_src-92c2e42deaea25cce90e266a6c691784762e068e.tar.gz chromium_src-92c2e42deaea25cce90e266a6c691784762e068e.tar.bz2 |
Roll Skia DEPS to 14324 from 14292
Control: https://codereview.chromium.org/246073010
NOTRY=true
R=reed@google.com, robertphillips@google.com
Review URL: https://codereview.chromium.org/249563002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@265696 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'skia/ext/pixel_ref_utils_unittest.cc')
-rw-r--r-- | skia/ext/pixel_ref_utils_unittest.cc | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/skia/ext/pixel_ref_utils_unittest.cc b/skia/ext/pixel_ref_utils_unittest.cc index 4d4ffbea..8ff3272 100644 --- a/skia/ext/pixel_ref_utils_unittest.cc +++ b/skia/ext/pixel_ref_utils_unittest.cc @@ -51,7 +51,16 @@ class TestDiscardableShader : public SkShader { } // Pure virtual implementaiton. - virtual void shadeSpan(int x, int y, SkPMColor[], int count) OVERRIDE {} + virtual SkShader::Context* createContext(const SkBitmap& device, + const SkPaint& paint, + const SkMatrix& matrix, + void* storage) const OVERRIDE { + return NULL; + }; + virtual size_t contextSize() const OVERRIDE { + return sizeof(SkShader::Context); + } + SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(TestDiscardableShader); private: |