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 b86ac35b42a4954b3cf3c7ad1a5bc522444aaea4..4f668ba96563fcf89dc87343aff4f11df29817e5 100644 |
--- a/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.h |
+++ b/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.h |
@@ -161,6 +161,12 @@ class PaintPropertyTreeBuilder { |
ALWAYS_INLINE static void UpdateOutOfFlowContext( |
const LayoutObject&, |
PaintPropertyTreeBuilderContext&); |
+ |
+ // Ensure the ObjectPaintProperties object is created if it will be needed, or |
+ // cleared otherwise. |
+ ALWAYS_INLINE static void UpdatePaintProperties( |
+ const LayoutObject&, |
+ PaintPropertyTreeBuilderContext&); |
}; |
} // namespace blink |