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

Unified Diff: Source/bindings/core/v8/V8Binding.cpp

Issue 967293002: [bindings] Make toFloat inline (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Removed stale code Created 5 years, 10 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/bindings/core/v8/V8Binding.h ('k') | Source/bindings/core/v8/V8BindingTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/core/v8/V8Binding.cpp
diff --git a/Source/bindings/core/v8/V8Binding.cpp b/Source/bindings/core/v8/V8Binding.cpp
index b010879387e759cdfb0c3588e03603a0eaeb03f1..53ceb0d8be0db883c826d03af399e9caa4687184 100644
--- a/Source/bindings/core/v8/V8Binding.cpp
+++ b/Source/bindings/core/v8/V8Binding.cpp
@@ -505,11 +505,6 @@ uint64_t toUInt64(v8::Handle<v8::Value> value)
return toUInt64(value, NormalConversion, exceptionState);
}
-float toFloat(v8::Handle<v8::Value> value, ExceptionState& exceptionState)
-{
- return static_cast<float>(toDouble(value, exceptionState));
-}
-
float toRestrictedFloat(v8::Handle<v8::Value> value, ExceptionState& exceptionState)
{
float numberValue = toFloat(value, exceptionState);
« no previous file with comments | « Source/bindings/core/v8/V8Binding.h ('k') | Source/bindings/core/v8/V8BindingTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698