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

Unified Diff: cc/layers/picture_layer_impl.h

Issue 2845143002: cc: Allow changing mask type when pushing properties. (Closed)
Patch Set: Add comment to SetLayerMaskType Created 3 years, 8 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 | « cc/layers/picture_layer.cc ('k') | cc/layers/picture_layer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/picture_layer_impl.h
diff --git a/cc/layers/picture_layer_impl.h b/cc/layers/picture_layer_impl.h
index 0e85d8d4208d8e5446d44fdfe576bc7a375be6db..ba8fa4cd5224c5b0d5a7667f6a3ffd28bafc3dab 100644
--- a/cc/layers/picture_layer_impl.h
+++ b/cc/layers/picture_layer_impl.h
@@ -38,6 +38,7 @@ class CC_EXPORT PictureLayerImpl
~PictureLayerImpl() override;
Layer::LayerMaskType mask_type() const { return mask_type_; }
+ void SetLayerMaskType(Layer::LayerMaskType type);
// LayerImpl overrides.
const char* LayerTypeAsString() const override;
@@ -150,7 +151,7 @@ class CC_EXPORT PictureLayerImpl
bool was_screen_space_transform_animating_;
bool only_used_low_res_last_append_quads_;
- const Layer::LayerMaskType mask_type_;
+ Layer::LayerMaskType mask_type_;
bool nearest_neighbor_;
bool use_transformed_rasterization_;
« no previous file with comments | « cc/layers/picture_layer.cc ('k') | cc/layers/picture_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698