| OLD | NEW |
| 1 | |
| 2 /* | 1 /* |
| 3 * Copyright 2006 The Android Open Source Project | 2 * Copyright 2006 The Android Open Source Project |
| 4 * | 3 * |
| 5 * 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 |
| 6 * found in the LICENSE file. | 5 * found in the LICENSE file. |
| 7 */ | 6 */ |
| 8 | 7 |
| 9 #include "SkBitmap.h" | 8 #include "SkBitmap.h" |
| 10 #include "SkImage.h" | 9 #include "SkImage.h" |
| 11 #include "SkImageEncoder.h" | 10 #include "SkImageEncoder.h" |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 bool onUseEncodedData(const void*, size_t) override { return true; } | 67 bool onUseEncodedData(const void*, size_t) override { return true; } |
| 69 SkData* onEncode(const SkPixmap&) override { return nullptr; } | 68 SkData* onEncode(const SkPixmap&) override { return nullptr; } |
| 70 }; | 69 }; |
| 71 } // namespace | 70 } // namespace |
| 72 | 71 |
| 73 SkPixelSerializer* SkImageEncoder::CreatePixelSerializer() { | 72 SkPixelSerializer* SkImageEncoder::CreatePixelSerializer() { |
| 74 return new ImageEncoderPixelSerializer; | 73 return new ImageEncoderPixelSerializer; |
| 75 } | 74 } |
| 76 | 75 |
| 77 ///////////////////////////////////////////////////////////////////////// | 76 ///////////////////////////////////////////////////////////////////////// |
| OLD | NEW |