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

Unified Diff: cc/layers/contents_scaling_layer.h

Issue 1101823002: CC Animations: Make LayerAnimationController creation optional (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Plumb LayerSettings parameter for cc::Layer construction. Created 5 years, 7 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/contents_scaling_layer.h
diff --git a/cc/layers/contents_scaling_layer.h b/cc/layers/contents_scaling_layer.h
index 15faa005dfcf3c9aa99433c703ed4d5afd943f9b..1ac6863b8255f08984527871889168505cb646ce 100644
--- a/cc/layers/contents_scaling_layer.h
+++ b/cc/layers/contents_scaling_layer.h
@@ -23,7 +23,7 @@ class CC_EXPORT ContentsScalingLayer : public Layer {
const OcclusionTracker<Layer>* occlusion) override;
protected:
- ContentsScalingLayer();
+ explicit ContentsScalingLayer(const LayerSettings& settings);
~ContentsScalingLayer() override;
gfx::Size ComputeContentBoundsForScale(float scale_x, float scale_y) const;

Powered by Google App Engine
This is Rietveld 408576698