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

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

Issue 2523673004: [NOT FOR COMMIT] Fully replace SkCanvas uses.
Patch Set: Support Android build. Created 4 years 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 8528137be78d62099bd41ce4e6b038e9d3fdd890..e892f0abc8bf5e95f522faedf4ee860cd5c179ab 100644
--- a/third_party/WebKit/Source/web/tests/WebPluginContainerTest.cpp
+++ b/third_party/WebKit/Source/web/tests/WebPluginContainerTest.cpp
@@ -59,7 +59,7 @@
#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 "skia/ext/cdl_picture_recorder.h"
#include "web/WebLocalFrameImpl.h"
#include "web/WebPluginContainerImpl.h"
#include "web/WebViewImpl.h"
@@ -257,7 +257,7 @@ TEST_F(WebPluginContainerTest, PrintOnePage) {
printParams.printContentArea.height = 500;
frame->printBegin(printParams);
- SkPictureRecorder recorder;
+ CdlPictureRecorder recorder;
frame->printPage(0, recorder.beginRecording(IntRect()));
frame->printEnd();
DCHECK(pluginWebFrameClient.printedAtLeastOnePage());
@@ -282,7 +282,7 @@ TEST_F(WebPluginContainerTest, PrintAllPages) {
printParams.printContentArea.height = 500;
frame->printBegin(printParams);
- SkPictureRecorder recorder;
+ CdlPictureRecorder 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