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

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

Issue 84713002: Add number() static methods to AtomicString class (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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/HTMLMeterElement.cpp
diff --git a/Source/core/html/HTMLMeterElement.cpp b/Source/core/html/HTMLMeterElement.cpp
index 63b3c9c7ee70963db1c559def1cad349c396a0bb..4efb9d0d317d8546299b06148516d764288bc1be 100644
--- a/Source/core/html/HTMLMeterElement.cpp
+++ b/Source/core/html/HTMLMeterElement.cpp
@@ -81,7 +81,7 @@ void HTMLMeterElement::setMin(double min, ExceptionState& exceptionState)
exceptionState.throwUninformativeAndGenericDOMException(NotSupportedError);
return;
}
- setAttribute(minAttr, String::number(min));
+ setAttribute(minAttr, AtomicString::number(min));
}
double HTMLMeterElement::max() const
@@ -95,7 +95,7 @@ void HTMLMeterElement::setMax(double max, ExceptionState& exceptionState)
exceptionState.throwUninformativeAndGenericDOMException(NotSupportedError);
return;
}
- setAttribute(maxAttr, String::number(max));
+ setAttribute(maxAttr, AtomicString::number(max));
}
double HTMLMeterElement::value() const
@@ -110,7 +110,7 @@ void HTMLMeterElement::setValue(double value, ExceptionState& exceptionState)
exceptionState.throwUninformativeAndGenericDOMException(NotSupportedError);
return;
}
- setAttribute(valueAttr, String::number(value));
+ setAttribute(valueAttr, AtomicString::number(value));
}
double HTMLMeterElement::low() const
@@ -125,7 +125,7 @@ void HTMLMeterElement::setLow(double low, ExceptionState& exceptionState)
exceptionState.throwUninformativeAndGenericDOMException(NotSupportedError);
return;
}
- setAttribute(lowAttr, String::number(low));
+ setAttribute(lowAttr, AtomicString::number(low));
}
double HTMLMeterElement::high() const
@@ -140,7 +140,7 @@ void HTMLMeterElement::setHigh(double high, ExceptionState& exceptionState)
exceptionState.throwUninformativeAndGenericDOMException(NotSupportedError);
return;
}
- setAttribute(highAttr, String::number(high));
+ setAttribute(highAttr, AtomicString::number(high));
}
double HTMLMeterElement::optimum() const
@@ -155,7 +155,7 @@ void HTMLMeterElement::setOptimum(double optimum, ExceptionState& exceptionState
exceptionState.throwUninformativeAndGenericDOMException(NotSupportedError);
return;
}
- setAttribute(optimumAttr, String::number(optimum));
+ setAttribute(optimumAttr, AtomicString::number(optimum));
}
HTMLMeterElement::GaugeRegion HTMLMeterElement::gaugeRegion() const

Powered by Google App Engine
This is Rietveld 408576698