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

Unified Diff: chrome/browser/android/compositor/layer/tab_layer.cc

Issue 2810813004: Hide fullscreen rotation jank (Closed)
Patch Set: Assume true/false when updating fullscreen state Created 3 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: chrome/browser/android/compositor/layer/tab_layer.cc
diff --git a/chrome/browser/android/compositor/layer/tab_layer.cc b/chrome/browser/android/compositor/layer/tab_layer.cc
index 9ee09013d58d5eace35e4b20f7defa1c3dd545a2..6f50f4ce3c976dab7b9e91319d445dd08d91df22 100644
--- a/chrome/browser/android/compositor/layer/tab_layer.cc
+++ b/chrome/browser/android/compositor/layer/tab_layer.cc
@@ -94,6 +94,7 @@ static void PositionPadding(scoped_refptr<cc::SolidColorLayer> padding_layer,
void TabLayer::SetProperties(int id,
bool can_use_live_layer,
+ bool can_use_static_layer,
bool browser_controls_at_bottom,
int toolbar_resource_id,
int close_button_resource_id,
@@ -453,9 +454,9 @@ void TabLayer::SetProperties(int id,
round(desired_content_size.width()),
round(desired_content_size.height()));
- content_->SetProperties(id, can_use_live_layer, static_to_view_blend,
- true, alpha, saturation,
- true, rounded_descaled_content_area);
+ content_->SetProperties(id, can_use_live_layer, can_use_static_layer,
+ static_to_view_blend, true, alpha, saturation, true,
+ rounded_descaled_content_area);
} else if (back_logo_resource) {
back_logo_->SetUIResourceId(back_logo_resource->ui_resource()->id());
}

Powered by Google App Engine
This is Rietveld 408576698