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

Unified Diff: cc/test/fake_painted_scrollbar_layer.h

Issue 150603004: Fixed rounding issue on scrollbar rasterization. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added test 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
Index: cc/test/fake_painted_scrollbar_layer.h
diff --git a/cc/test/fake_painted_scrollbar_layer.h b/cc/test/fake_painted_scrollbar_layer.h
index 9b1b13dab2cc555f2a79768670226a7ed5eb7015..da503bcd94c823c599be5d5898e8c6dfd92b24cf 100644
--- a/cc/test/fake_painted_scrollbar_layer.h
+++ b/cc/test/fake_painted_scrollbar_layer.h
@@ -16,7 +16,10 @@ namespace cc {
class FakePaintedScrollbarLayer : public PaintedScrollbarLayer {
public:
static scoped_refptr<FakePaintedScrollbarLayer>
- Create(bool paint_during_update, bool has_thumb, int scrolling_layer_id);
+ Create(bool paint_during_update,
+ bool has_thumb,
+ int scrolling_layer_id,
+ FakeScrollbar* fake_scrollbar = 0);
danakj 2014/02/10 19:17:28 no default values allowed in chromium. you'll need
int update_count() const { return update_count_; }
void reset_update_count() { update_count_ = 0; }

Powered by Google App Engine
This is Rietveld 408576698