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

Unified Diff: content/renderer/java/gin_java_bridge_value_converter.cc

Issue 1076443002: Removed obsolete float_util.h as VS2013 supports standards well enough. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Added missing headers and fixed formatting. Created 5 years, 8 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: content/renderer/java/gin_java_bridge_value_converter.cc
diff --git a/content/renderer/java/gin_java_bridge_value_converter.cc b/content/renderer/java/gin_java_bridge_value_converter.cc
index c1727a42bb5681b3771ee7e4171f959ab94e4e30..9a8694c4788f930a41c40b92859da0213682e4fa 100644
--- a/content/renderer/java/gin_java_bridge_value_converter.cc
+++ b/content/renderer/java/gin_java_bridge_value_converter.cc
@@ -4,7 +4,6 @@
#include "content/renderer/java/gin_java_bridge_value_converter.h"
-#include "base/float_util.h"
#include "base/values.h"
#include "content/common/android/gin_java_bridge_value.h"
#include "content/renderer/java/gin_java_bridge_object.h"
@@ -148,7 +147,7 @@ bool GinJavaBridgeValueConverter::FromV8ArrayBuffer(
bool GinJavaBridgeValueConverter::FromV8Number(v8::Handle<v8::Number> value,
base::Value** out) const {
double double_value = value->Value();
- if (base::IsFinite(double_value))
+ if (std::isfinite(double_value))
Mark Mentovai 2015/04/09 12:46:37 #include <cmath>
return false;
*out = GinJavaBridgeValue::CreateNonFiniteValue(double_value).release();
return true;

Powered by Google App Engine
This is Rietveld 408576698