| Index: cc/resources/ui_resource_bitmap.cc
|
| diff --git a/cc/resources/ui_resource_bitmap.cc b/cc/resources/ui_resource_bitmap.cc
|
| index 62a85fc8e3e977e9f0f2fc2f42f35abddc6dd97e..b813d973537e1b4534298e9898fc85a1ebd9ae08 100644
|
| --- a/cc/resources/ui_resource_bitmap.cc
|
| +++ b/cc/resources/ui_resource_bitmap.cc
|
| @@ -6,7 +6,9 @@
|
|
|
| #include "base/logging.h"
|
| #include "base/memory/scoped_ptr.h"
|
| +#include "cc/resources/etc1_pixel_ref.h"
|
| #include "third_party/skia/include/core/SkBitmap.h"
|
| +#include "third_party/skia/include/core/SkPixelRef.h"
|
|
|
| namespace cc {
|
|
|
| @@ -39,10 +41,10 @@ UIResourceBitmap::UIResourceBitmap(const SkBitmap& skbitmap) {
|
| SetOpaque(skbitmap.isOpaque());
|
| }
|
|
|
| -UIResourceBitmap::UIResourceBitmap(const skia::RefPtr<SkPixelRef>& pixel_ref,
|
| - UIResourceFormat format,
|
| - gfx::Size size) {
|
| - Create(pixel_ref, format, size);
|
| +UIResourceBitmap::UIResourceBitmap(
|
| + const skia::RefPtr<ETC1PixelRef>& etc1_pixel_ref,
|
| + gfx::Size size) {
|
| + Create(etc1_pixel_ref, ETC1, size);
|
| }
|
|
|
| UIResourceBitmap::~UIResourceBitmap() {}
|
|
|