| 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 8b428a7b955ef66d27e21b713dabd6e9e1327156..053bed464f0d26fd7e22534e972fb3e4e80a3f45 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();
|
|
|