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

Unified Diff: cc/layers/layer.cc

Issue 2859483006: cc: Enable composited border-radius scrolling.
Patch Set: Do not skip solid color mask layer quads. 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/layers/render_surface_impl.cc » ('j') | cc/trees/layer_tree_settings.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/layer.cc
diff --git a/cc/layers/layer.cc b/cc/layers/layer.cc
index d3100f3daa802322ca072e5be186709b65020bce..7ec2bf6ea25ddb7e036d94025f988be499f459ab 100644
--- a/cc/layers/layer.cc
+++ b/cc/layers/layer.cc
@@ -426,6 +426,7 @@ void Layer::SetMaskLayer(Layer* mask_layer) {
if (inputs_.mask_layer.get()) {
// The mask layer should not have any children.
DCHECK(inputs_.mask_layer->children().empty());
+ DCHECK_EQ(bounds().ToString(), inputs_.mask_layer->bounds().ToString());
inputs_.mask_layer->RemoveFromParent();
DCHECK(!inputs_.mask_layer->parent());
« no previous file with comments | « no previous file | cc/layers/render_surface_impl.cc » ('j') | cc/trees/layer_tree_settings.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698