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

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

Issue 2640983002: Rename paint data structures (Closed)
Patch Set: DrawingDisplayItem 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 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();
« no previous file with comments | « third_party/WebKit/Source/web/tests/FrameThrottlingTest.cpp ('k') | third_party/WebKit/Source/web/tests/WebViewTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698