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

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

Issue 22417002: Rename ASSERT_NO_EXCEPTION_STATE and IGNORE_EXCEPTION_STATE (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/PluginDocument.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 eef08b5ad6fe8b15479942667c2c59046acadcc7..8ede6204e5cad8016922df4a46887525c320f883 100644
--- a/Source/core/html/RangeInputType.cpp
+++ b/Source/core/html/RangeInputType.cpp
@@ -231,7 +231,7 @@ void RangeInputType::handleKeydownEvent(KeyboardEvent* event)
if (newValue != current) {
EventQueueScope scope;
TextFieldEventBehavior eventBehavior = DispatchChangeEvent;
- setValueAsDecimal(newValue, eventBehavior, IGNORE_EXCEPTION_STATE);
+ setValueAsDecimal(newValue, eventBehavior, IGNORE_EXCEPTION);
if (AXObjectCache* cache = element()->document()->existingAXObjectCache())
cache->postNotification(element(), AXObjectCache::AXValueChanged, true);
@@ -248,10 +248,10 @@ void RangeInputType::createShadowSubtree()
Document* document = element()->document();
RefPtr<HTMLDivElement> track = HTMLDivElement::create(document);
track->setPseudo(AtomicString("-webkit-slider-runnable-track", AtomicString::ConstructFromLiteral));
- track->appendChild(SliderThumbElement::create(document), IGNORE_EXCEPTION_STATE);
+ track->appendChild(SliderThumbElement::create(document), IGNORE_EXCEPTION);
RefPtr<HTMLElement> container = SliderContainerElement::create(document);
- container->appendChild(track.release(), IGNORE_EXCEPTION_STATE);
- element()->userAgentShadowRoot()->appendChild(container.release(), IGNORE_EXCEPTION_STATE);
+ container->appendChild(track.release(), IGNORE_EXCEPTION);
+ element()->userAgentShadowRoot()->appendChild(container.release(), IGNORE_EXCEPTION);
}
RenderObject* RangeInputType::createRenderer(RenderStyle*) const
« no previous file with comments | « Source/core/html/PluginDocument.cpp ('k') | Source/core/html/SearchInputType.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698