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

Unified Diff: src/extensions/statistics-extension.cc

Issue 10830213: Fix Win64 compile error caused by r12272. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/extensions/statistics-extension.cc
diff --git a/src/extensions/statistics-extension.cc b/src/extensions/statistics-extension.cc
index c5977208524b0f506677966d1a07b14feb42d71b..7ae090c987bef6b6bac1eb7b829aedcdc4266220 100644
--- a/src/extensions/statistics-extension.cc
+++ b/src/extensions/statistics-extension.cc
@@ -51,9 +51,10 @@ static void AddCounter(v8::Local<v8::Object> object,
}
static void AddNumber(v8::Local<v8::Object> object,
- double value,
+ intptr_t value,
const char* name) {
- object->Set(v8::String::New(name), v8::Number::New(value));
+ object->Set(v8::String::New(name),
+ v8::Number::New(static_cast<double>(value)));
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698