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

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

Issue 2499863002: Simplify content_layer attachment and viewporting logic. (Closed)
Patch Set: Fix clang error Created 4 years, 1 month 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 47aaf8a0f6ba74b3ff6cd0799c59f8be913ea54a..c664549d621345576f08b46c921bf733e594180a 100644
--- a/chrome/browser/android/compositor/layer/tab_layer.cc
+++ b/chrome/browser/android/compositor/layer/tab_layer.cc
@@ -449,8 +449,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