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

Unified Diff: third_party/WebKit/Source/core/page/PrintContextTest.cpp

Issue 1511003003: Use refs for non-null GraphicsContext, Scrollbar, etc. in scrollbar related code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ScrollbarRemove
Patch Set: yet another mac fix Created 5 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/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 04b70f498a00748e8bc4f25fa320905756eed244..cc65bfd60d8d17ebca58d617a18e1f488762d37a 100644
--- a/third_party/WebKit/Source/core/page/PrintContextTest.cpp
+++ b/third_party/WebKit/Source/core/page/PrintContextTest.cpp
@@ -100,7 +100,7 @@ protected:
SkPictureBuilder pictureBuilder(pageRect);
GraphicsContext& context = pictureBuilder.context();
context.setPrinting(true);
- document().view()->paintContents(&context, GlobalPaintPrinting, pageRect);
+ document().view()->paintContents(context, GlobalPaintPrinting, pageRect);
{
DrawingRecorder recorder(context, *document().layoutView(), DisplayItem::PrintedContentDestinationLocations, pageRect);
printContext().outputLinkedDestinations(context, pageRect);

Powered by Google App Engine
This is Rietveld 408576698