Index: third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.h |
diff --git a/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.h b/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.h |
index 74a59ba803d5390b455da299a1473c0a0b533883..825ec46852384865814d277bf945a7dd10116a30 100644 |
--- a/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.h |
+++ b/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.h |
@@ -25,9 +25,6 @@ |
USING_FAST_MALLOC(PaintPropertyTreeBuilderContext); |
public: |
- // Initializes all property tree nodes to the roots. |
- PaintPropertyTreeBuilderContext(); |
- |
// State that propagates on the containing block chain (and so is adjusted |
// when an absolute or fixed position object is encountered). |
struct ContainingBlockContext { |
@@ -93,11 +90,8 @@ |
// property tree changes (i.e., a node is added or removed). |
bool forceSubtreeUpdate; |
-#if DCHECK_IS_ON() |
- // When DCHECK_IS_ON() we create PaintPropertyTreeBuilderContext even if not |
- // needed. See FindPaintOffsetAndVisualRectNeedingUpdate.h. |
- bool isActuallyNeeded = true; |
-#endif |
+ // Initializes all property tree nodes to the roots. |
+ PaintPropertyTreeBuilderContext(); |
}; |
// Creates paint property tree nodes for special things in the layout tree. |