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

Unified Diff: cc/test/fake_painted_scrollbar_layer.cc

Issue 23983047: Pinch/Zoom Infrastructure & Plumbing CL (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add fix for empty scroll-layer bounds. Created 6 years, 11 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.cc
diff --git a/cc/test/fake_painted_scrollbar_layer.cc b/cc/test/fake_painted_scrollbar_layer.cc
index 72ef420a89c26f4320a2cbdcef564e3fe57ffb98..b2f3e0d39c26765d6b0f686d9c36ff5de97a1ba9 100644
--- a/cc/test/fake_painted_scrollbar_layer.cc
+++ b/cc/test/fake_painted_scrollbar_layer.cc
@@ -13,18 +13,18 @@ namespace cc {
scoped_refptr<FakePaintedScrollbarLayer> FakePaintedScrollbarLayer::Create(
bool paint_during_update,
bool has_thumb,
- int scrolling_layer_id) {
+ Layer* scrolling_layer) {
FakeScrollbar* fake_scrollbar = new FakeScrollbar(
paint_during_update, has_thumb, false);
return make_scoped_refptr(new FakePaintedScrollbarLayer(
- fake_scrollbar, scrolling_layer_id));
+ fake_scrollbar, scrolling_layer));
}
FakePaintedScrollbarLayer::FakePaintedScrollbarLayer(
FakeScrollbar* fake_scrollbar,
- int scrolling_layer_id)
+ Layer* scrolling_layer)
: PaintedScrollbarLayer(scoped_ptr<Scrollbar>(fake_scrollbar).Pass(),
- scrolling_layer_id),
+ scrolling_layer),
update_count_(0),
push_properties_count_(0),
fake_scrollbar_(fake_scrollbar) {

Powered by Google App Engine
This is Rietveld 408576698