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

Unified Diff: content/renderer/child_frame_compositing_helper.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
Index: content/renderer/child_frame_compositing_helper.cc
diff --git a/content/renderer/child_frame_compositing_helper.cc b/content/renderer/child_frame_compositing_helper.cc
index dd1459cb9a1e4a96e1013232e03a57a74795adcd..716819c60b7255a7bd84f7d4bcf746c8123d29f6 100644
--- a/content/renderer/child_frame_compositing_helper.cc
+++ b/content/renderer/child_frame_compositing_helper.cc
@@ -222,8 +222,7 @@ void ChildFrameCompositingHelper::OnSetSurface(
scale_factor = 1.0f;
surface_layer->SetSurfaceInfo(cc::SurfaceInfo(surface_info.id(), scale_factor,
- surface_info.size_in_pixels()),
- false /* stretch_content_to_fill_bounds */);
+ surface_info.size_in_pixels()));
surface_layer->SetMasksToBounds(true);
std::unique_ptr<cc_blink::WebLayerImpl> layer(
new cc_blink::WebLayerImpl(surface_layer));
« no previous file with comments | « cc/layers/surface_layer_unittest.cc ('k') | third_party/WebKit/Source/platform/graphics/CanvasSurfaceLayerBridge.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698