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

Unified Diff: ui/compositor/layer.cc

Issue 2621653002: Remove stretch_content_to_fill_bounds from cc::SurfaceLayer::SetSurfaceInfo (Closed)
Patch Set: up Created 3 years, 11 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
« no previous file with comments | « ui/android/delegated_frame_host_android.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/layer.cc
diff --git a/ui/compositor/layer.cc b/ui/compositor/layer.cc
index eb8096256d26df29e595fdce9d89518582f64785..7d9c07b32e4f20ca9d93f3ec46617f1606449cb6 100644
--- a/ui/compositor/layer.cc
+++ b/ui/compositor/layer.cc
@@ -660,8 +660,7 @@ void Layer::SetShowSurface(
scoped_refptr<cc::SurfaceLayer> new_layer =
cc::SurfaceLayer::Create(ref_factory);
- new_layer->SetSurfaceInfo(surface_info,
- false /* stretch_content_to_fill_bounds */);
+ new_layer->SetSurfaceInfo(surface_info);
SwitchToLayer(new_layer);
surface_layer_ = new_layer;
« no previous file with comments | « ui/android/delegated_frame_host_android.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698