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

Unified Diff: cc/test/fake_painted_scrollbar_layer.cc

Issue 146713002: Revert of Pinch/Zoom Infrastructure & Plumbing CL (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
« no previous file with comments | « cc/test/fake_painted_scrollbar_layer.h ('k') | cc/test/layer_tree_json_parser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 b2f3e0d39c26765d6b0f686d9c36ff5de97a1ba9..72ef420a89c26f4320a2cbdcef564e3fe57ffb98 100644
--- a/cc/test/fake_painted_scrollbar_layer.cc
+++ b/cc/test/fake_painted_scrollbar_layer.cc
@@ -13,18 +13,18 @@
scoped_refptr<FakePaintedScrollbarLayer> FakePaintedScrollbarLayer::Create(
bool paint_during_update,
bool has_thumb,
- Layer* scrolling_layer) {
+ int scrolling_layer_id) {
FakeScrollbar* fake_scrollbar = new FakeScrollbar(
paint_during_update, has_thumb, false);
return make_scoped_refptr(new FakePaintedScrollbarLayer(
- fake_scrollbar, scrolling_layer));
+ fake_scrollbar, scrolling_layer_id));
}
FakePaintedScrollbarLayer::FakePaintedScrollbarLayer(
FakeScrollbar* fake_scrollbar,
- Layer* scrolling_layer)
+ int scrolling_layer_id)
: PaintedScrollbarLayer(scoped_ptr<Scrollbar>(fake_scrollbar).Pass(),
- scrolling_layer),
+ scrolling_layer_id),
update_count_(0),
push_properties_count_(0),
fake_scrollbar_(fake_scrollbar) {
« no previous file with comments | « cc/test/fake_painted_scrollbar_layer.h ('k') | cc/test/layer_tree_json_parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698