Index: Source/core/html/ColorInputType.cpp |
diff --git a/Source/core/html/ColorInputType.cpp b/Source/core/html/ColorInputType.cpp |
index e30d3dec0284e22ae2ace584cc3d9e60bd699049..ce7a157ce5e46d86fc2caf159451352d887a0c09 100644 |
--- a/Source/core/html/ColorInputType.cpp |
+++ b/Source/core/html/ColorInputType.cpp |
@@ -119,9 +119,9 @@ void ColorInputType::createShadowSubtree() |
ASSERT(element()->shadow()); |
Document& document = element()->document(); |
- RefPtr<HTMLDivElement> wrapperElement = HTMLDivElement::create(&document); |
+ RefPtr<HTMLDivElement> wrapperElement = HTMLDivElement::create(document); |
wrapperElement->setPart(AtomicString("-webkit-color-swatch-wrapper", AtomicString::ConstructFromLiteral)); |
- RefPtr<HTMLDivElement> colorSwatch = HTMLDivElement::create(&document); |
+ RefPtr<HTMLDivElement> colorSwatch = HTMLDivElement::create(document); |
colorSwatch->setPart(AtomicString("-webkit-color-swatch", AtomicString::ConstructFromLiteral)); |
wrapperElement->appendChild(colorSwatch.release()); |
element()->userAgentShadowRoot()->appendChild(wrapperElement.release()); |