Index: third_party/WebKit/Source/core/paint/PaintLayerScrollableAreaTest.cpp |
diff --git a/third_party/WebKit/Source/core/paint/PaintLayerScrollableAreaTest.cpp b/third_party/WebKit/Source/core/paint/PaintLayerScrollableAreaTest.cpp |
index 0e08a5e2d2ba1593c39f47d5765563a1a285e384..237e22190512fdcba26b6735648e2a823dbed1d9 100644 |
--- a/third_party/WebKit/Source/core/paint/PaintLayerScrollableAreaTest.cpp |
+++ b/third_party/WebKit/Source/core/paint/PaintLayerScrollableAreaTest.cpp |
@@ -5,7 +5,7 @@ |
#include "core/paint/PaintLayerScrollableArea.h" |
#include "core/frame/FrameView.h" |
-#include "core/layout/LayoutBlock.h" |
+#include "core/layout/LayoutBoxModelObject.h" |
#include "core/layout/LayoutTestHelper.h" |
#include "core/paint/PaintLayer.h" |
#include "platform/graphics/GraphicsLayer.h" |
@@ -21,7 +21,7 @@ class PaintLayerScrollableAreaTest : public RenderingTest { |
bool canPaintBackgroundOntoScrollingContentsLayer(const char* elementId) { |
PaintLayer* paintLayer = |
- toLayoutBlock(getLayoutObjectByElementId(elementId))->layer(); |
+ toLayoutBoxModelObject(getLayoutObjectByElementId(elementId))->layer(); |
return paintLayer->canPaintBackgroundOntoScrollingContentsLayer(); |
} |