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

Unified Diff: trunk/src/cc/resources/ui_resource_client.h

Issue 23740010: Revert 223162 "Update the nine patch layer to use UI resources" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 3 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 | « trunk/src/cc/resources/ui_resource_bitmap.cc ('k') | trunk/src/cc/test/data/10_10_layer_tree.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/cc/resources/ui_resource_client.h
===================================================================
--- trunk/src/cc/resources/ui_resource_client.h (revision 223178)
+++ trunk/src/cc/resources/ui_resource_client.h (working copy)
@@ -24,8 +24,8 @@
// delete a UIResourceClient object after DeleteUIResource has been called for
// all IDs associated with it. A valid bitmap always must be returned but it
// doesn't need to be the same size or format as the original.
- virtual UIResourceBitmap GetBitmap(UIResourceId uid,
- bool resource_lost) = 0;
+ virtual scoped_refptr<UIResourceBitmap> GetBitmap(UIResourceId uid,
+ bool resource_lost) = 0;
virtual ~UIResourceClient() {}
};
« no previous file with comments | « trunk/src/cc/resources/ui_resource_bitmap.cc ('k') | trunk/src/cc/test/data/10_10_layer_tree.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698