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

Unified Diff: cc/layers/painted_scrollbar_layer.h

Issue 150603004: Fixed rounding issue on scrollbar rasterization. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed break on Android tests Created 6 years, 10 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/layers/painted_scrollbar_layer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/painted_scrollbar_layer.h
diff --git a/cc/layers/painted_scrollbar_layer.h b/cc/layers/painted_scrollbar_layer.h
index 4799bfb3fa14fd6504e6a06f02c6d306d619922d..56bacae75e24271d72d8f66d837ec94b2c82d0d6 100644
--- a/cc/layers/painted_scrollbar_layer.h
+++ b/cc/layers/painted_scrollbar_layer.h
@@ -77,7 +77,8 @@ class CC_EXPORT PaintedScrollbarLayer : public ScrollbarLayerInterface,
int MaxTextureSize();
float ClampScaleToMaxTextureSize(float scale);
- UIResourceBitmap RasterizeScrollbarPart(const gfx::Rect& rect,
+ UIResourceBitmap RasterizeScrollbarPart(const gfx::Rect& layer_rect,
+ const gfx::Rect& content_rect,
ScrollbarPart part);
scoped_ptr<Scrollbar> scrollbar_;
« no previous file with comments | « no previous file | cc/layers/painted_scrollbar_layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698