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

Unified Diff: third_party/WebKit/Source/core/page/PrintContextTest.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/core/page/PrintContextTest.cpp
diff --git a/third_party/WebKit/Source/core/page/PrintContextTest.cpp b/third_party/WebKit/Source/core/page/PrintContextTest.cpp
index 562e204e77b60c96b064ccf954f087e3f3f1f9cb..eca92f0929e8d44fb896de8f82a99ed7071392cd 100644
--- a/third_party/WebKit/Source/core/page/PrintContextTest.cpp
+++ b/third_party/WebKit/Source/core/page/PrintContextTest.cpp
@@ -36,7 +36,7 @@ class MockPrintContext : public PrintContext {
}
};
-class MockCanvas : public SkCanvas {
+class MockCanvas : public PaintCanvas {
public:
enum OperationType { DrawRect, DrawPoint };
@@ -45,7 +45,7 @@ class MockCanvas : public SkCanvas {
SkRect rect;
};
- MockCanvas() : SkCanvas(kPageWidth, kPageHeight) {}
+ MockCanvas() : PaintCanvas(kPageWidth, kPageHeight) {}
void onDrawAnnotation(const SkRect& rect,
const char key[],
@@ -87,7 +87,7 @@ class PrintContextTest : public RenderingTest {
document().body()->setInnerHTML(bodyContent);
}
- void printSinglePage(SkCanvas& canvas) {
+ void printSinglePage(PaintCanvas& canvas) {
IntRect pageRect(0, 0, kPageWidth, kPageHeight);
printContext().begin(pageRect.width(), pageRect.height());
document().view()->updateAllLifecyclePhases();

Powered by Google App Engine
This is Rietveld 408576698