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

Unified Diff: cc/trees/layer_tree_impl.cc

Issue 2730203002: Revert of Discard compositor frames from unloaded web content (Closed)
Patch Set: Created 3 years, 10 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/trees/layer_tree_impl.h ('k') | content/browser/frame_host/render_frame_host_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_impl.cc
diff --git a/cc/trees/layer_tree_impl.cc b/cc/trees/layer_tree_impl.cc
index f694b09eb3ca73fe23544b5580dfee764a8898f2..90966982ad7c87e371c480c5a2848fc89cd11cb5 100644
--- a/cc/trees/layer_tree_impl.cc
+++ b/cc/trees/layer_tree_impl.cc
@@ -73,7 +73,6 @@
max_page_scale_factor_(0),
device_scale_factor_(1.f),
painted_device_scale_factor_(1.f),
- content_source_id_(0),
elastic_overscroll_(elastic_overscroll),
layers_(new OwnedLayerImplList),
viewport_size_invalid_(false),
@@ -487,8 +486,6 @@
target_tree->set_painted_device_scale_factor(painted_device_scale_factor());
target_tree->SetDeviceColorSpace(device_color_space_);
target_tree->elastic_overscroll()->PushPendingToActive();
-
- target_tree->set_content_source_id(content_source_id());
target_tree->pending_page_scale_animation_ =
std::move(pending_page_scale_animation_);
« no previous file with comments | « cc/trees/layer_tree_impl.h ('k') | content/browser/frame_host/render_frame_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698