Index: cc/resources/ui_resource_bitmap.h |
diff --git a/cc/resources/ui_resource_bitmap.h b/cc/resources/ui_resource_bitmap.h |
index 64e962cf8f0147e731514402422dd9202363a4ac..2cce0b31354ca4f402d05ccb2fd79a8b90b1d2a7 100644 |
--- a/cc/resources/ui_resource_bitmap.h |
+++ b/cc/resources/ui_resource_bitmap.h |
@@ -44,13 +44,14 @@ class CC_EXPORT UIResourceBitmap { |
// User must ensure that |skbitmap| is immutable. The SkBitmap Format should |
// be 32-bit RGBA. |
explicit UIResourceBitmap(const SkBitmap& skbitmap); |
- explicit UIResourceBitmap(const skia::RefPtr<SkPixelRef>& pixel_ref); |
+ UIResourceBitmap(const skia::RefPtr<SkPixelRef>& pixel_ref, gfx::Size size); |
~UIResourceBitmap(); |
private: |
friend class AutoLockUIResourceBitmap; |
void Create(const skia::RefPtr<SkPixelRef>& pixel_ref, |
+ gfx::Size size, |
UIResourceFormat format); |
skia::RefPtr<SkPixelRef> pixel_ref_; |