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

Unified Diff: chrome/browser/android/compositor/scene_layer/static_tab_scene_layer.cc

Issue 2810813004: Hide fullscreen rotation jank (Closed)
Patch Set: Clear thumbnail cache instead of hiding static layer. Break out results of changing fullscreen stat… 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/scene_layer/static_tab_scene_layer.cc
diff --git a/chrome/browser/android/compositor/scene_layer/static_tab_scene_layer.cc b/chrome/browser/android/compositor/scene_layer/static_tab_scene_layer.cc
index 948126e74a8b3247d299dcbbf1be53ab24dbe70b..a5c37c25cbc8324885f589737972d304ee520aec 100644
--- a/chrome/browser/android/compositor/scene_layer/static_tab_scene_layer.cc
+++ b/chrome/browser/android/compositor/scene_layer/static_tab_scene_layer.cc
@@ -63,10 +63,10 @@ void StaticTabSceneLayer::UpdateTabLayer(
bool should_override_content_alpha = last_set_tab_id_ != id;
last_set_tab_id_ = id;
- content_layer_->SetProperties(
- id, can_use_live_layer, static_to_view_blend,
- should_override_content_alpha, content_alpha_override, saturation,
- false, gfx::Rect());
+ content_layer_->SetProperties(id, can_use_live_layer, static_to_view_blend,
+ should_override_content_alpha,
+ content_alpha_override, saturation, false,
+ gfx::Rect());
content_layer_->layer()->SetPosition(gfx::PointF(x, y));
content_layer_->layer()->SetIsDrawable(true);

Powered by Google App Engine
This is Rietveld 408576698