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

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
« no previous file with comments | « cc/debug/invalidation_benchmark.cc ('k') | cc/test/layer_tree_host_common_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
-
ContentLayerClient* painter = layer->client();
for (int mode_index = 0; mode_index < RecordingSource::RECORDING_MODE_COUNT;
« no previous file with comments | « cc/debug/invalidation_benchmark.cc ('k') | cc/test/layer_tree_host_common_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698