Index: Source/core/html/HTMLMeterElement.cpp |
diff --git a/Source/core/html/HTMLMeterElement.cpp b/Source/core/html/HTMLMeterElement.cpp |
index fd4d214e9cb0dacf67bc597a6bd7cbdf6cbebaa5..dd9261d2b3ab192f5a9b46a133816d3629e38a0c 100644 |
--- a/Source/core/html/HTMLMeterElement.cpp |
+++ b/Source/core/html/HTMLMeterElement.cpp |
@@ -211,6 +211,12 @@ void HTMLMeterElement::didAddUserAgentShadowRoot(ShadowRoot& root) |
inner->appendChild(bar); |
} |
+void HTMLMeterElement::willAddFirstAuthorShadowRoot() |
+{ |
+ ASSERT(RuntimeEnabledFeatures::authorShadowDOMForAnyElementEnabled()); |
+ lazyReattachIfAttached(); |
+} |
+ |
void HTMLMeterElement::trace(Visitor* visitor) |
{ |
visitor->trace(m_value); |