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

Unified Diff: cc/debug/rasterize_and_record_benchmark.cc

Issue 1855013002: cc : Stop calculating visible rects on main thread (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 12c3bf96063393e23a0312735e39b6638d39b533..a9cae0a1598f6464a3b40899b973125ff6b654f5 100644
--- a/cc/debug/rasterize_and_record_benchmark.cc
+++ b/cc/debug/rasterize_and_record_benchmark.cc
@@ -114,10 +114,6 @@ void RasterizeAndRecordBenchmark::RunOnLayer(PictureLayer* layer) {
if (!layer->DrawsContent())
return;
- gfx::Rect visible_layer_rect = layer->visible_layer_rect_for_testing();
- if (visible_layer_rect.IsEmpty())
- return;
ajuma 2016/04/04 20:47:17 This seems like the most realistic thing to do (si
jaydasika 2016/04/04 21:29:16 Done.
-
ContentLayerClient* painter = layer->client();
for (int mode_index = 0; mode_index < RecordingSource::RECORDING_MODE_COUNT;

Powered by Google App Engine
This is Rietveld 408576698