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

Unified Diff: cc/layers/render_surface_impl.cc

Issue 2892103002: Update cc effect node documentation. (Closed)
Patch Set: Revert bitpacking. Created 3 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
« no previous file with comments | « no previous file | cc/trees/effect_node.h » ('j') | cc/trees/effect_node.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/render_surface_impl.cc
diff --git a/cc/layers/render_surface_impl.cc b/cc/layers/render_surface_impl.cc
index eba8543beccce7560c21c79ecb772ad3d5282bcd..b02397f31f24f469a9c4adbd13014b5d5e94dfeb 100644
--- a/cc/layers/render_surface_impl.cc
+++ b/cc/layers/render_surface_impl.cc
@@ -127,6 +127,8 @@ LayerImpl* RenderSurfaceImpl::MaskLayer() {
}
bool RenderSurfaceImpl::HasMask() const {
+ // TODO(wkorman): Shouldn't we use Layer::INVALID_ID rather than
+ // kInvalidNodeId below?
return OwningEffectNode()->mask_layer_id != EffectTree::kInvalidNodeId;
}
« no previous file with comments | « no previous file | cc/trees/effect_node.h » ('j') | cc/trees/effect_node.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698