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

Unified Diff: third_party/WebKit/Source/platform/graphics/GraphicsLayerTest.cpp

Issue 2887053002: Remove scroll_clip_layer dependency from viewport layer tracking (Closed)
Patch Set: Cleanup return stmt Created 3 years, 7 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: third_party/WebKit/Source/platform/graphics/GraphicsLayerTest.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsLayerTest.cpp b/third_party/WebKit/Source/platform/graphics/GraphicsLayerTest.cpp
index d5a6d73917d7c8f8fab32a737e901aafbd931c08..4e99bba8012f7182858334021908b74283b17f2e 100644
--- a/third_party/WebKit/Source/platform/graphics/GraphicsLayerTest.cpp
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsLayerTest.cpp
@@ -69,7 +69,8 @@ class GraphicsLayerTest : public testing::Test {
layer_tree_view_->SetRootLayer(*clip_layer_->PlatformLayer());
layer_tree_view_->RegisterViewportLayers(
scroll_elasticity_layer_->PlatformLayer(), clip_layer_->PlatformLayer(),
- graphics_layer_->PlatformLayer(), 0);
+ clip_layer_->PlatformLayer(), nullptr, graphics_layer_->PlatformLayer(),
+ nullptr);
layer_tree_view_->SetViewportSize(WebSize(1, 1));
}

Powered by Google App Engine
This is Rietveld 408576698