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

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

Issue 22880029: Make AttachBehavior a required argument. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 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
« no previous file with comments | « Source/core/html/MediaDocument.cpp ('k') | Source/core/html/SearchInputType.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/RangeInputType.cpp
diff --git a/Source/core/html/RangeInputType.cpp b/Source/core/html/RangeInputType.cpp
index 08aaf28018a24218b29d59543bb1a61d72d36d54..017680595a712dfea5e80578463cbca07784f398 100644
--- a/Source/core/html/RangeInputType.cpp
+++ b/Source/core/html/RangeInputType.cpp
@@ -248,10 +248,10 @@ void RangeInputType::createShadowSubtree()
RefPtr<HTMLDivElement> track = HTMLDivElement::create(document);
track->setPart(AtomicString("-webkit-slider-runnable-track", AtomicString::ConstructFromLiteral));
track->setAttribute(idAttr, ShadowElementNames::sliderTrack());
- track->appendChild(SliderThumbElement::create(document), IGNORE_EXCEPTION);
+ track->appendChild(SliderThumbElement::create(document), IGNORE_EXCEPTION, DeprecatedAttachNow);
RefPtr<HTMLElement> container = SliderContainerElement::create(document);
- container->appendChild(track.release(), IGNORE_EXCEPTION);
- element()->userAgentShadowRoot()->appendChild(container.release(), IGNORE_EXCEPTION);
+ container->appendChild(track.release(), IGNORE_EXCEPTION, DeprecatedAttachNow);
+ element()->userAgentShadowRoot()->appendChild(container.release(), IGNORE_EXCEPTION, DeprecatedAttachNow);
}
RenderObject* RangeInputType::createRenderer(RenderStyle*) const
« no previous file with comments | « Source/core/html/MediaDocument.cpp ('k') | Source/core/html/SearchInputType.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698