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

Unified Diff: cc/layers/surface_layer.h

Issue 2621653002: Remove stretch_content_to_fill_bounds from cc::SurfaceLayer::SetSurfaceInfo (Closed)
Patch Set: fix android 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: cc/layers/surface_layer.h
diff --git a/cc/layers/surface_layer.h b/cc/layers/surface_layer.h
index a7b16abdac0f603b7fecf1e7ee28046ee666b57e..425dd39f800e629cc05799d6357da0c0c70da1d7 100644
--- a/cc/layers/surface_layer.h
+++ b/cc/layers/surface_layer.h
@@ -24,9 +24,10 @@ class CC_EXPORT SurfaceLayer : public Layer {
static scoped_refptr<SurfaceLayer> Create(
scoped_refptr<SurfaceReferenceFactory> ref_factory);
+ void SetSurfaceInfo(const SurfaceInfo& surface_info);
+
// When stretch_content_to_fill_bounds is true, scale is unused.
danakj 2017/01/09 19:37:12 I think this comment doesn't quite work now, which
- void SetSurfaceInfo(const SurfaceInfo& surface_info,
- bool stretch_content_to_fill_bounds);
+ void SetStretchContentToFillBounds(bool stretch_content_to_fill_bounds);
// Layer overrides.
std::unique_ptr<LayerImpl> CreateLayerImpl(LayerTreeImpl* tree_impl) override;

Powered by Google App Engine
This is Rietveld 408576698