Index: Source/web/tests/WebViewTest.cpp |
diff --git a/Source/web/tests/WebViewTest.cpp b/Source/web/tests/WebViewTest.cpp |
index 38911ded4ac98724cedb9e412d732fba2e08f60c..95d9a0be3359ac0df2ce0ce07674404c119babad 100644 |
--- a/Source/web/tests/WebViewTest.cpp |
+++ b/Source/web/tests/WebViewTest.cpp |
@@ -42,11 +42,11 @@ |
#include "core/html/HTMLIFrameElement.h" |
#include "core/html/HTMLInputElement.h" |
#include "core/html/HTMLTextAreaElement.h" |
+#include "core/layout/Layer.h" |
#include "core/loader/FrameLoadRequest.h" |
#include "core/page/Chrome.h" |
#include "core/page/Page.h" |
#include "core/paint/LayerPainter.h" |
-#include "core/rendering/RenderLayer.h" |
#include "core/rendering/RenderView.h" |
#include "core/testing/URLTestHelpers.h" |
#include "platform/KeyboardCodes.h" |
@@ -352,7 +352,7 @@ TEST_F(WebViewTest, SetBaseBackgroundColorAndBlendWithExistingContent) |
// Paint the root of the main frame in the way that CompositedLayerMapping would. |
FrameView* view = m_webViewHelper.webViewImpl()->mainFrameImpl()->frameView(); |
- RenderLayer* rootLayer = view->renderView()->layer(); |
+ Layer* rootLayer = view->renderView()->layer(); |
IntRect paintRect(0, 0, kWidth, kHeight); |
LayerPaintingInfo paintingInfo(rootLayer, paintRect, PaintBehaviorNormal, LayoutSize()); |
LayerPainter(*rootLayer).paintLayerContents(&context, paintingInfo, PaintLayerPaintingCompositingAllPhases); |