| Index: Source/core/paint/LayerClipRecorderTest.cpp
|
| diff --git a/Source/core/paint/ClipRecorderTest.cpp b/Source/core/paint/LayerClipRecorderTest.cpp
|
| similarity index 76%
|
| rename from Source/core/paint/ClipRecorderTest.cpp
|
| rename to Source/core/paint/LayerClipRecorderTest.cpp
|
| index 9fa55695b19df1a5c299ca60f697a9f60d6ddf0e..f898db478fbb05e5d455693c181f23beedf50705 100644
|
| --- a/Source/core/paint/ClipRecorderTest.cpp
|
| +++ b/Source/core/paint/LayerClipRecorderTest.cpp
|
| @@ -3,7 +3,7 @@
|
| // found in the LICENSE file.
|
|
|
| #include "config.h"
|
| -#include "core/paint/ClipRecorder.h"
|
| +#include "core/paint/LayerClipRecorder.h"
|
|
|
| #include "core/rendering/RenderView.h"
|
| #include "core/rendering/RenderingTestHelper.h"
|
| @@ -14,9 +14,9 @@
|
| namespace blink {
|
| namespace {
|
|
|
| -class ClipRecorderTest : public RenderingTest {
|
| +class LayerClipRecorderTest : public RenderingTest {
|
| public:
|
| - ClipRecorderTest() : m_renderView(nullptr) { }
|
| + LayerClipRecorderTest() : m_renderView(nullptr) { }
|
|
|
| protected:
|
| RenderView* renderView() { return m_renderView; }
|
| @@ -39,10 +39,10 @@ void drawClip(GraphicsContext* context, RenderView* renderer, PaintPhase phase,
|
| {
|
| IntRect rect(1, 1, 9, 9);
|
| ClipRect clipRect(rect);
|
| - ClipRecorder clipRecorder(renderer->compositor()->rootRenderLayer()->renderer(), context, DisplayItem::ClipLayerForeground, clipRect, 0, LayoutPoint(), PaintLayerFlags());
|
| + LayerClipRecorder LayerClipRecorder(renderer->compositor()->rootRenderLayer()->renderer(), context, DisplayItem::ClipLayerForeground, clipRect, 0, LayoutPoint(), PaintLayerFlags());
|
| }
|
|
|
| -TEST_F(ClipRecorderTest, ClipRecorderTest_Single)
|
| +TEST_F(LayerClipRecorderTest, LayerClipRecorderTest_Single)
|
| {
|
| GraphicsContext* context = new GraphicsContext(nullptr);
|
| FloatRect bound = renderView()->viewRect();
|
|
|