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

Unified Diff: cc/test/fake_scrollbar_layer.cc

Issue 11662003: cc: Put context-loss tests in layer_tree_host_unittest_context.cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 80cols Created 7 years, 12 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_scrollbar_layer.h ('k') | cc/test/fake_video_frame.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_scrollbar_layer.cc
diff --git a/cc/test/fake_scrollbar_layer.cc b/cc/test/fake_scrollbar_layer.cc
index 7d5d96865e4a82dd7b878689f9c0b1dadb9c3219..d6e5f0a1b43fb2995fd68b88b923fc9a80d3d877 100644
--- a/cc/test/fake_scrollbar_layer.cc
+++ b/cc/test/fake_scrollbar_layer.cc
@@ -11,12 +11,12 @@
namespace cc {
FakeScrollbarLayer::FakeScrollbarLayer(
- bool paint_during_update, int scrolling_layer_id)
+ bool paint_during_update, bool has_thumb, int scrolling_layer_id)
: ScrollbarLayer(
FakeWebScrollbar::create().PassAs<WebKit::WebScrollbar>(),
FakeScrollbarThemePainter::Create(paint_during_update)
.PassAs<ScrollbarThemePainter>(),
- FakeWebScrollbarThemeGeometry::create()
+ FakeWebScrollbarThemeGeometry::create(has_thumb)
.PassAs<WebKit::WebScrollbarThemeGeometry>(),
scrolling_layer_id),
update_count_(0) {
« no previous file with comments | « cc/test/fake_scrollbar_layer.h ('k') | cc/test/fake_video_frame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698