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

Unified Diff: cc/debug/rasterize_and_record_benchmark.cc

Issue 315393002: Record SkPicture with correct LCD text setting. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updated unittests Created 6 years, 6 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: cc/debug/rasterize_and_record_benchmark.cc
diff --git a/cc/debug/rasterize_and_record_benchmark.cc b/cc/debug/rasterize_and_record_benchmark.cc
index 197fb291a05f9613c69c7224c4601e1df72360a9..224cbb08960869898b7d9f9afbf93bdaecadd545 100644
--- a/cc/debug/rasterize_and_record_benchmark.cc
+++ b/cc/debug/rasterize_and_record_benchmark.cc
@@ -129,8 +129,13 @@ void RasterizeAndRecordBenchmark::RunOnLayer(PictureLayer* layer) {
base::TimeDelta::FromMilliseconds(kTimeLimitMillis),
kTimeCheckInterval);
do {
- scoped_refptr<Picture> picture = Picture::Create(
- visible_content_rect, painter, tile_grid_info, false, 0, mode);
+ scoped_refptr<Picture> picture = Picture::Create(visible_content_rect,
+ painter,
+ tile_grid_info,
+ false,
+ false,
+ 0,
+ mode);
timer.NextLap();
} while (!timer.HasTimeLimitExpired());
base::TimeDelta duration =

Powered by Google App Engine
This is Rietveld 408576698