OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2006 The Android Open Source Project | 3 * Copyright 2006 The Android Open Source Project |
4 * | 4 * |
5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
7 */ | 7 */ |
8 | 8 |
9 #include "SkBitmap.h" | 9 #include "SkBitmap.h" |
10 #include "SkImage.h" | 10 #include "SkImage.h" |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 bool onUseEncodedData(const void*, size_t) override { return true; } | 68 bool onUseEncodedData(const void*, size_t) override { return true; } |
69 SkData* onEncode(const SkPixmap&) override { return nullptr; } | 69 SkData* onEncode(const SkPixmap&) override { return nullptr; } |
70 }; | 70 }; |
71 } // namespace | 71 } // namespace |
72 | 72 |
73 SkPixelSerializer* SkImageEncoder::CreatePixelSerializer() { | 73 SkPixelSerializer* SkImageEncoder::CreatePixelSerializer() { |
74 return new ImageEncoderPixelSerializer; | 74 return new ImageEncoderPixelSerializer; |
75 } | 75 } |
76 | 76 |
77 ///////////////////////////////////////////////////////////////////////// | 77 ///////////////////////////////////////////////////////////////////////// |
OLD | NEW |