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

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

Issue 2566753004: Simplify content_layer attachment and viewporting logic. (Closed)
Patch Set: Code review Created 4 years 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 b3c94641d6588bb8a9c7b8e63965a910e318c29e..3deedae41b7d63d6e09838f2d545b8bc17be8911 100644
--- a/chrome/browser/android/compositor/layer/tab_layer.cc
+++ b/chrome/browser/android/compositor/layer/tab_layer.cc
@@ -453,8 +453,7 @@ void TabLayer::SetProperties(int id,
content_->SetProperties(id, can_use_live_layer, static_to_view_blend,
true, alpha, saturation,
- rounded_descaled_content_area,
- gfx::Size(content_width, content_height));
+ true, rounded_descaled_content_area);
} else if (back_logo_resource) {
back_logo_->SetUIResourceId(back_logo_resource->ui_resource->id());
}
« no previous file with comments | « chrome/browser/android/compositor/layer/content_layer.cc ('k') | chrome/browser/android/compositor/layer/thumbnail_layer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698