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

Unified Diff: content/renderer/gpu/gpu_benchmarking_extension.cc

Issue 107083006: More v8-API-related cleanup. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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 | « chrome/renderer/extensions/webstore_bindings.cc ('k') | content/renderer/pepper/v8_var_converter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/gpu/gpu_benchmarking_extension.cc
diff --git a/content/renderer/gpu/gpu_benchmarking_extension.cc b/content/renderer/gpu/gpu_benchmarking_extension.cc
index 77b81bc7bfa2c5332382e444d0098bccaf52ab83..38c75f5728a695e4e21b463cb4d647ef72548241 100644
--- a/content/renderer/gpu/gpu_benchmarking_extension.cc
+++ b/content/renderer/gpu/gpu_benchmarking_extension.cc
@@ -122,7 +122,7 @@ class RenderingStatsEnumerator : public cc::RenderingStats::Enumerator {
virtual void AddInt(const char* name, int value) OVERRIDE {
stats_object->Set(v8::String::NewFromUtf8(isolate, name),
- v8::Integer::New(value));
+ v8::Integer::New(isolate, value));
}
virtual void AddTimeDeltaInSecondsF(const char* name,
« no previous file with comments | « chrome/renderer/extensions/webstore_bindings.cc ('k') | content/renderer/pepper/v8_var_converter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698