Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Side by Side Diff: src/utils/SkBitmapSourceDeserializer.h

Issue 1834303003: Delete SkFlattenable::Type (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Rebase Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/core/SkValidatingReadBuffer.cpp ('k') | tests/ImageFilterTest.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2015 Google Inc. 2 * Copyright 2015 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef SkBitmapSourceDeserializer_DEFINED 8 #ifndef SkBitmapSourceDeserializer_DEFINED
9 #define SkBitmapSourceDeserializer_DEFINED 9 #define SkBitmapSourceDeserializer_DEFINED
10 10
11 #include "SkFlattenable.h" 11 #include "SkFlattenable.h"
12 12
13 // A temporary utility class to support deserializing legacy SkBitmapSource as S kImageSource. 13 // A temporary utility class to support deserializing legacy SkBitmapSource as S kImageSource.
14 // Should be removed when SKP versions which may contain SkBitmapSource records are phased out. 14 // Should be removed when SKP versions which may contain SkBitmapSource records are phased out.
15 class SkBitmapSourceDeserializer : public SkFlattenable { 15 class SkBitmapSourceDeserializer : public SkFlattenable {
16 public: 16 public:
17 SK_DEFINE_FLATTENABLE_TYPE(SkImageFilter)
18 SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkBitmapSource) 17 SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkBitmapSource)
19 }; 18 };
20 19
21 #endif 20 #endif
OLDNEW
« no previous file with comments | « src/core/SkValidatingReadBuffer.cpp ('k') | tests/ImageFilterTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698