Index: cc/resources/ui_resource_bitmap.cc |
diff --git a/cc/resources/ui_resource_bitmap.cc b/cc/resources/ui_resource_bitmap.cc |
index 4d8d2816175fb5d55a6d27ea4826f21579035954..17baf5296f2001c13855afa5b02e6507bc6c0cf6 100644 |
--- a/cc/resources/ui_resource_bitmap.cc |
+++ b/cc/resources/ui_resource_bitmap.cc |
@@ -89,18 +89,4 @@ UIResourceBitmap::UIResourceBitmap(sk_sp<SkPixelRef> pixel_ref, |
UIResourceBitmap::UIResourceBitmap(const UIResourceBitmap& other) = default; |
UIResourceBitmap::~UIResourceBitmap() {} |
- |
-AutoLockUIResourceBitmap::AutoLockUIResourceBitmap( |
- const UIResourceBitmap& bitmap) : bitmap_(bitmap) { |
- bitmap_.pixel_ref_->lockPixels(); |
-} |
- |
-AutoLockUIResourceBitmap::~AutoLockUIResourceBitmap() { |
- bitmap_.pixel_ref_->unlockPixels(); |
-} |
- |
-const uint8_t* AutoLockUIResourceBitmap::GetPixels() const { |
- return static_cast<const uint8_t*>(bitmap_.pixel_ref_->pixels()); |
-} |
- |
} // namespace cc |