| Index: Source/core/page/PrintContextTest.cpp
|
| diff --git a/Source/core/page/PrintContextTest.cpp b/Source/core/page/PrintContextTest.cpp
|
| index 67d116405aa1c783e50d2f08cbc3662926d0c06c..c4e0e98ccefd25dcd041b7d33133284658bd7877 100644
|
| --- a/Source/core/page/PrintContextTest.cpp
|
| +++ b/Source/core/page/PrintContextTest.cpp
|
| @@ -31,9 +31,9 @@ class MockPrintContext : public PrintContext {
|
| public:
|
| MockPrintContext(LocalFrame* frame) : PrintContext(frame) { }
|
|
|
| - void outputLinkedDestinations(GraphicsContext& context, const IntRect& pageRect)
|
| + void outputLinkedDestinations(SkCanvas* canvas, const IntRect& pageRect)
|
| {
|
| - PrintContext::outputLinkedDestinations(context, pageRect);
|
| + PrintContext::outputLinkedDestinations(canvas, pageRect);
|
| }
|
| };
|
|
|
| @@ -103,9 +103,9 @@ protected:
|
| DeprecatedPaintLayerPaintingInfo paintingInfo(&rootLayer, LayoutRect(pageRect), PaintBehaviorNormal, LayoutSize());
|
| DeprecatedPaintLayerPainter(rootLayer).paintLayerContents(&context, paintingInfo, PaintLayerPaintingCompositingAllPhases);
|
| printContext().begin(kPageWidth, kPageHeight);
|
| - printContext().outputLinkedDestinations(context, pageRect);
|
| printContext().end();
|
| pictureBuilder.endRecording()->playback(&canvas);
|
| + printContext().outputLinkedDestinations(&canvas, pageRect);
|
| document().setPrinting(false);
|
| }
|
|
|
|
|