Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1239)

Unified Diff: third_party/WebKit/Source/web/tests/WebPluginContainerTest.cpp

Issue 2640983002: Rename paint data structures (Closed)
Patch Set: Rebase Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 54b44ad9895716dcb63022d5ff8732ee758197da..b51bc2ed1aa56bdf3bba9bf14d90f959ddfd75e2 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();

Powered by Google App Engine
This is Rietveld 408576698