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

Unified Diff: cc/resources/ui_resource_bitmap.cc

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 | « cc/resources/ui_resource_bitmap.h ('k') | cc/trees/layer_tree_host_impl_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/ui_resource_bitmap.cc
diff --git a/cc/resources/ui_resource_bitmap.cc b/cc/resources/ui_resource_bitmap.cc
index 17baf5296f2001c13855afa5b02e6507bc6c0cf6..0cbed5c8a433a201803588555d076208c6868d98 100644
--- a/cc/resources/ui_resource_bitmap.cc
+++ b/cc/resources/ui_resource_bitmap.cc
@@ -81,11 +81,6 @@ UIResourceBitmap::UIResourceBitmap(const gfx::Size& size, bool is_opaque) {
SetOpaque(is_opaque);
}
-UIResourceBitmap::UIResourceBitmap(sk_sp<SkPixelRef> pixel_ref,
- const gfx::Size& size) {
- Create(std::move(pixel_ref), size, UIResourceBitmap::ETC1);
-}
-
UIResourceBitmap::UIResourceBitmap(const UIResourceBitmap& other) = default;
UIResourceBitmap::~UIResourceBitmap() {}
« no previous file with comments | « cc/resources/ui_resource_bitmap.h ('k') | cc/trees/layer_tree_host_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698