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

Unified Diff: cc/trees/layer_tree_impl.cc

Issue 2810813004: Hide fullscreen rotation jank (Closed)
Patch Set: make overlay_video_mode not affect background transparency Created 3 years, 7 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/trees/layer_tree_impl.cc
diff --git a/cc/trees/layer_tree_impl.cc b/cc/trees/layer_tree_impl.cc
index 0fac7341641d8b7ac6f982828cb4e13abf9318c2..211d7ca738b4d2e4c235352f444d02c73b48960e 100644
--- a/cc/trees/layer_tree_impl.cc
+++ b/cc/trees/layer_tree_impl.cc
@@ -78,6 +78,7 @@ LayerTreeImpl::LayerTreeImpl(
hud_layer_(nullptr),
background_color_(0),
has_transparent_background_(false),
+ is_fullscreen_(false),
last_scrolled_scroll_node_index_(ScrollTree::kInvalidNodeId),
page_scale_factor_(page_scale_factor),
min_page_scale_factor_(0),
@@ -469,6 +470,7 @@ void LayerTreeImpl::PushPropertiesTo(LayerTreeImpl* target_tree) {
target_tree->set_source_frame_number(source_frame_number());
target_tree->set_background_color(background_color());
target_tree->set_has_transparent_background(has_transparent_background());
+ target_tree->set_is_fullscreen(is_fullscreen());
target_tree->set_have_scroll_event_handlers(have_scroll_event_handlers());
target_tree->set_event_listener_properties(
EventListenerClass::kTouchStartOrMove,

Powered by Google App Engine
This is Rietveld 408576698