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

Unified Diff: cc/layers/layer.cc

Issue 2801383002: cc : Delete layer's draw blend mode (Closed)
Patch Set: . 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
Index: cc/layers/layer.cc
diff --git a/cc/layers/layer.cc b/cc/layers/layer.cc
index 5f3e504c49d48af627a18c945e4079bcc6ef2100..4af2f0a5f89e447c956589ea05d778fc782e2a0d 100644
--- a/cc/layers/layer.cc
+++ b/cc/layers/layer.cc
@@ -94,7 +94,6 @@ Layer::Layer()
is_scroll_clip_layer_(false),
needs_show_scrollbars_(false),
safe_opaque_background_color_(0),
- draw_blend_mode_(SkBlendMode::kSrcOver),
num_unclipped_descendants_(0) {}
Layer::~Layer() {
@@ -1163,7 +1162,6 @@ void Layer::PushPropertiesTo(LayerImpl* layer) {
layer->SetPosition(inputs_.position);
layer->set_should_flatten_transform_from_property_tree(
should_flatten_transform_from_property_tree_);
- layer->set_draw_blend_mode(draw_blend_mode_);
layer->SetUseParentBackfaceVisibility(inputs_.use_parent_backface_visibility);
layer->SetUseLocalTransformForBackfaceVisibility(
use_local_transform_for_backface_visibility_);
« no previous file with comments | « cc/layers/layer.h ('k') | cc/layers/layer_impl.h » ('j') | cc/layers/layer_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698