Index: third_party/WebKit/Source/web/PageWidgetDelegate.cpp |
diff --git a/third_party/WebKit/Source/web/PageWidgetDelegate.cpp b/third_party/WebKit/Source/web/PageWidgetDelegate.cpp |
index 9f5e391fce9aea30990cf94c82a3d7c81a17c93d..e42928116fb927b47dcfd7c255238e4c67f65887 100644 |
--- a/third_party/WebKit/Source/web/PageWidgetDelegate.cpp |
+++ b/third_party/WebKit/Source/web/PageWidgetDelegate.cpp |
@@ -68,6 +68,7 @@ static void paintInternal(Page& page, |
return; |
IntRect intRect(rect); |
+ // TODO(enne): intRect is not correct: http://crbug.com/703231 |
PaintRecordBuilder builder(intRect); |
{ |
GraphicsContext& paintContext = builder.context(); |
@@ -97,7 +98,7 @@ static void paintInternal(Page& page, |
} |
} |
- canvas->drawPicture(builder.endRecording()); |
+ canvas->PlaybackPaintRecord(builder.endRecording()); |
} |
void PageWidgetDelegate::paint(Page& page, |