Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1571)

Unified Diff: cc/resources/ui_resource_bitmap.h

Issue 2856483002: experiments with uiresourcebitmap
Patch Set: unittest Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | cc/resources/ui_resource_bitmap.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/ui_resource_bitmap.h
diff --git a/cc/resources/ui_resource_bitmap.h b/cc/resources/ui_resource_bitmap.h
index 4acfd2ce7e4dce695193f1a7ca14a28b9ebdaa72..569f5970d45525363e0d5428fb2a069ec1006055 100644
--- a/cc/resources/ui_resource_bitmap.h
+++ b/cc/resources/ui_resource_bitmap.h
@@ -45,7 +45,6 @@ class CC_EXPORT UIResourceBitmap {
// be 32-bit RGBA or 8-bit ALPHA.
explicit UIResourceBitmap(const SkBitmap& skbitmap);
UIResourceBitmap(const gfx::Size& size, bool is_opaque);
- UIResourceBitmap(sk_sp<SkPixelRef> pixel_ref, const gfx::Size& size);
UIResourceBitmap(const UIResourceBitmap& other);
~UIResourceBitmap();
@@ -59,8 +58,6 @@ class CC_EXPORT UIResourceBitmap {
}
private:
- friend class AutoLockUIResourceBitmap;
-
void Create(sk_sp<SkPixelRef> pixel_ref,
const gfx::Size& size,
UIResourceFormat format);
« no previous file with comments | « no previous file | cc/resources/ui_resource_bitmap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698