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

Unified Diff: third_party/WebKit/Source/core/layout/compositing/CompositedLayerMappingTest.cpp

Issue 2259493004: Fix Compositing of Opaque Scrolling Layers and Add Tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix the tests. Created 4 years, 4 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/core/layout/compositing/CompositedLayerMappingTest.cpp
diff --git a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMappingTest.cpp b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMappingTest.cpp
index 8d80825f23199f2d5d01d3ce2e10c3a0149aeaa6..da7437c044fdb64ae6f243c5057bff31bb0cdf27 100644
--- a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMappingTest.cpp
+++ b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMappingTest.cpp
@@ -47,8 +47,8 @@ protected:
bool shouldPaintBackgroundOntoScrollingContentsLayer(const char* elementId)
{
- CompositedLayerMapping* mapping = toLayoutBlock(getLayoutObjectByElementId(elementId))->layer()->compositedLayerMapping();
- return mapping->shouldPaintBackgroundOntoScrollingContentsLayer();
+ PaintLayer* paintLayer = toLayoutBlock(getLayoutObjectByElementId(elementId))->layer();
+ return paintLayer->shouldPaintBackgroundOntoScrollingContentsLayer();
flackr 2016/08/30 21:14:49 We should probably move the tests rather than have
Stephen Chennney 2016/08/31 20:50:20 Done.
}
private:

Powered by Google App Engine
This is Rietveld 408576698