| Index: third_party/WebKit/Source/platform/graphics/paint/PropertyTreeState.cpp
|
| diff --git a/third_party/WebKit/Source/platform/graphics/paint/PropertyTreeState.cpp b/third_party/WebKit/Source/platform/graphics/paint/PropertyTreeState.cpp
|
| index cac9fe0686b8d2af4c8d2cf1011104841b4fa044..784fc2d415a43a823cbf635bc79144ec2e6c9e72 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/paint/PropertyTreeState.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/paint/PropertyTreeState.cpp
|
| @@ -8,6 +8,15 @@
|
|
|
| namespace blink {
|
|
|
| +const PropertyTreeState& PropertyTreeState::root() {
|
| + DEFINE_STATIC_LOCAL(
|
| + std::unique_ptr<PropertyTreeState>, root,
|
| + (WTF::wrapUnique(new PropertyTreeState(
|
| + TransformPaintPropertyNode::root(), ClipPaintPropertyNode::root(),
|
| + EffectPaintPropertyNode::root()))));
|
| + return *root;
|
| +}
|
| +
|
| bool PropertyTreeState::hasDirectCompositingReasons() const {
|
| switch (innermostNode()) {
|
| case Transform:
|
|
|