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

Unified Diff: third_party/WebKit/Source/web/PageWidgetDelegate.cpp

Issue 2755183002: Change drawPicture calls to playback to avoid culling (Closed)
Patch Set: Created 3 years, 9 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/web/PageWidgetDelegate.cpp
diff --git a/third_party/WebKit/Source/web/PageWidgetDelegate.cpp b/third_party/WebKit/Source/web/PageWidgetDelegate.cpp
index 9f5e391fce9aea30990cf94c82a3d7c81a17c93d..2312f0e21e38f06043ca73ec5f649e40e9b70ab9 100644
--- a/third_party/WebKit/Source/web/PageWidgetDelegate.cpp
+++ b/third_party/WebKit/Source/web/PageWidgetDelegate.cpp
@@ -97,7 +97,7 @@ static void paintInternal(Page& page,
}
}
- canvas->drawPicture(builder.endRecording());
+ canvas->PlaybackPaintRecord(builder.endRecording().get());
}
void PageWidgetDelegate::paint(Page& page,

Powered by Google App Engine
This is Rietveld 408576698