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

Unified Diff: trunk/src/cc/layers/painted_scrollbar_layer.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/layers/nine_patch_layer_unittest.cc ('k') | trunk/src/cc/layers/painted_scrollbar_layer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/cc/layers/painted_scrollbar_layer.h
===================================================================
--- trunk/src/cc/layers/painted_scrollbar_layer.h (revision 223178)
+++ trunk/src/cc/layers/painted_scrollbar_layer.h (working copy)
@@ -68,8 +68,8 @@
int MaxTextureSize();
float ClampScaleToMaxTextureSize(float scale);
- UIResourceBitmap RasterizeScrollbarPart(gfx::Rect rect,
- ScrollbarPart part);
+ scoped_refptr<UIResourceBitmap> RasterizeScrollbarPart(gfx::Rect rect,
+ ScrollbarPart part);
scoped_ptr<Scrollbar> scrollbar_;
int scroll_layer_id_;
« no previous file with comments | « trunk/src/cc/layers/nine_patch_layer_unittest.cc ('k') | trunk/src/cc/layers/painted_scrollbar_layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698