Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(732)

Unified Diff: Source/core/html/forms/RangeInputType.cpp

Issue 267283007: Oilpan: Prepare to move form control ua shadow elements to Oilpan heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/html/forms/RangeInputType.cpp
diff --git a/Source/core/html/forms/RangeInputType.cpp b/Source/core/html/forms/RangeInputType.cpp
index 9f2e2614c83b0019cf7ac72e11bffbd9d4a5cc12..db6e5361de241e1a168588a8a440f16c04e8730c 100644
--- a/Source/core/html/forms/RangeInputType.cpp
+++ b/Source/core/html/forms/RangeInputType.cpp
@@ -250,7 +250,7 @@ void RangeInputType::createShadowSubtree()
track->setShadowPseudoId(AtomicString("-webkit-slider-runnable-track", AtomicString::ConstructFromLiteral));
track->setAttribute(idAttr, ShadowElementNames::sliderTrack());
track->appendChild(SliderThumbElement::create(document));
- RefPtr<HTMLElement> container = SliderContainerElement::create(document);
+ RefPtrWillBeRawPtr<HTMLElement> container = SliderContainerElement::create(document);
container->appendChild(track.release());
element().userAgentShadowRoot()->appendChild(container.release());
}

Powered by Google App Engine
This is Rietveld 408576698