| Index: blimp/client/feature/compositor/blimp_image_decoder.cc
|
| diff --git a/blimp/common/compositor/webp_decoder.cc b/blimp/client/feature/compositor/blimp_image_decoder.cc
|
| similarity index 96%
|
| rename from blimp/common/compositor/webp_decoder.cc
|
| rename to blimp/client/feature/compositor/blimp_image_decoder.cc
|
| index 7d2fb271a6e717cc14b08aab6e1517c9ccd2e019..1b1693ea9e7333aa29e8cf7441aec0ee052d2305 100644
|
| --- a/blimp/common/compositor/webp_decoder.cc
|
| +++ b/blimp/client/feature/compositor/blimp_image_decoder.cc
|
| @@ -2,7 +2,7 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "blimp/common/compositor/webp_decoder.h"
|
| +#include "blimp/client/feature/compositor/blimp_image_decoder.h"
|
|
|
| #include "base/lazy_instance.h"
|
| #include "base/logging.h"
|
| @@ -25,7 +25,9 @@ static base::LazyInstance<InMemoryBlobCache> g_blob_cache =
|
|
|
| } // namespace
|
|
|
| -bool WebPDecoder(const void* input, size_t input_size, SkBitmap* bitmap) {
|
| +namespace client {
|
| +
|
| +bool BlimpImageDecoder(const void* input, size_t input_size, SkBitmap* bitmap) {
|
| DCHECK(bitmap);
|
|
|
| // Initialize an empty WebPDecoderConfig.
|
| @@ -135,4 +137,5 @@ bool WebPDecoder(const void* input, size_t input_size, SkBitmap* bitmap) {
|
| return true;
|
| }
|
|
|
| +} // namespace client
|
| } // namespace blimp
|
|
|