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

Unified Diff: cc/layers/solid_color_layer_impl.h

Issue 2859483006: cc: Enable composited border-radius scrolling.
Patch Set: Calculate mask layer opacity. 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
Index: cc/layers/solid_color_layer_impl.h
diff --git a/cc/layers/solid_color_layer_impl.h b/cc/layers/solid_color_layer_impl.h
index ed0b2de065fbf76870ca61e1343e986588ce2ad6..824fe52216fffcbfb131fcd91f1d40ee181df436 100644
--- a/cc/layers/solid_color_layer_impl.h
+++ b/cc/layers/solid_color_layer_impl.h
@@ -10,6 +10,7 @@
#include "base/macros.h"
#include "base/memory/ptr_util.h"
#include "cc/cc_export.h"
+#include "cc/layers/layer.h"
#include "cc/layers/layer_impl.h"
namespace cc {
@@ -26,7 +27,8 @@ class CC_EXPORT SolidColorLayerImpl : public LayerImpl {
SharedQuadState* shared_quad_state,
const gfx::Rect& visible_layer_rect,
SkColor color,
- AppendQuadsData* append_quads_data);
+ AppendQuadsData* append_quads_data,
+ Layer::LayerMaskType mask_type);
~SolidColorLayerImpl() override;

Powered by Google App Engine
This is Rietveld 408576698