Index: Source/core/html/HTMLProgressElement.cpp |
diff --git a/Source/core/html/HTMLProgressElement.cpp b/Source/core/html/HTMLProgressElement.cpp |
index 17984378649827fa4aac759af68ba776750accf4..0781b6c730dc410ff573153ba9ba7356f7378e07 100644 |
--- a/Source/core/html/HTMLProgressElement.cpp |
+++ b/Source/core/html/HTMLProgressElement.cpp |
@@ -145,13 +145,13 @@ void HTMLProgressElement::didElementStateChange() |
} |
} |
-void HTMLProgressElement::didAddUserAgentShadowRoot(ShadowRoot* root) |
+void HTMLProgressElement::didAddUserAgentShadowRoot(ShadowRoot& root) |
{ |
ASSERT(!m_value); |
RefPtr<ProgressInnerElement> inner = ProgressInnerElement::create(document()); |
inner->setPart(AtomicString("-webkit-progress-inner-element", AtomicString::ConstructFromLiteral)); |
- root->appendChild(inner); |
+ root.appendChild(inner); |
RefPtr<ProgressBarElement> bar = ProgressBarElement::create(document()); |
bar->setPart(AtomicString("-webkit-progress-bar", AtomicString::ConstructFromLiteral)); |