Index: Source/core/html/HTMLMeterElement.cpp |
diff --git a/Source/core/html/HTMLMeterElement.cpp b/Source/core/html/HTMLMeterElement.cpp |
index 8f77d5f7bf1c166e595a0017f1a05555a22a6d65..7e085aec069b7bc93c81fd4e021c013a121b8582 100644 |
--- a/Source/core/html/HTMLMeterElement.cpp |
+++ b/Source/core/html/HTMLMeterElement.cpp |
@@ -221,12 +221,12 @@ RenderMeter* HTMLMeterElement::renderMeter() const |
return toRenderMeter(renderObject); |
} |
-void HTMLMeterElement::didAddUserAgentShadowRoot(ShadowRoot* root) |
+void HTMLMeterElement::didAddUserAgentShadowRoot(ShadowRoot& root) |
{ |
ASSERT(!m_value); |
RefPtr<MeterInnerElement> inner = MeterInnerElement::create(document()); |
- root->appendChild(inner); |
+ root.appendChild(inner); |
RefPtr<MeterBarElement> bar = MeterBarElement::create(document()); |
m_value = MeterValueElement::create(document()); |