Index: third_party/WebKit/Source/web/tests/WebPluginContainerTest.cpp |
diff --git a/third_party/WebKit/Source/web/tests/WebPluginContainerTest.cpp b/third_party/WebKit/Source/web/tests/WebPluginContainerTest.cpp |
index 6c78b0fcfadc4f17b2aaf31e0f12907607396d37..5143989e24e7f36a1beb7da96d037591e2413963 100644 |
--- a/third_party/WebKit/Source/web/tests/WebPluginContainerTest.cpp |
+++ b/third_party/WebKit/Source/web/tests/WebPluginContainerTest.cpp |
@@ -41,6 +41,7 @@ |
#include "platform/graphics/paint/CullRect.h" |
#include "platform/graphics/paint/ForeignLayerDisplayItem.h" |
#include "platform/graphics/paint/PaintController.h" |
+#include "platform/graphics/paint/PaintRecorder.h" |
#include "platform/testing/RuntimeEnabledFeaturesTestHelpers.h" |
#include "platform/testing/URLTestHelpers.h" |
#include "platform/testing/UnitTestHelpers.h" |
@@ -61,7 +62,6 @@ |
#include "public/web/WebSettings.h" |
#include "public/web/WebView.h" |
#include "testing/gtest/include/gtest/gtest.h" |
-#include "third_party/skia/include/core/SkPictureRecorder.h" |
#include "web/WebLocalFrameImpl.h" |
#include "web/WebPluginContainerImpl.h" |
#include "web/WebViewImpl.h" |
@@ -259,7 +259,7 @@ TEST_F(WebPluginContainerTest, PrintOnePage) { |
printParams.printContentArea.height = 500; |
frame->printBegin(printParams); |
- SkPictureRecorder recorder; |
+ PaintRecorder recorder; |
frame->printPage(0, recorder.beginRecording(IntRect())); |
frame->printEnd(); |
DCHECK(pluginWebFrameClient.printedAtLeastOnePage()); |
@@ -284,7 +284,7 @@ TEST_F(WebPluginContainerTest, PrintAllPages) { |
printParams.printContentArea.height = 500; |
frame->printBegin(printParams); |
- SkPictureRecorder recorder; |
+ PaintRecorder recorder; |
frame->printPagesWithBoundaries(recorder.beginRecording(IntRect()), |
WebSize()); |
frame->printEnd(); |