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

Unified Diff: chrome/renderer/benchmarking_extension.cc

Issue 744723002: remove some calls to to-be-deprecated v8::Value::To* functions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
« no previous file with comments | « no previous file | chrome/renderer/extensions/enterprise_platform_keys_natives.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/benchmarking_extension.cc
diff --git a/chrome/renderer/benchmarking_extension.cc b/chrome/renderer/benchmarking_extension.cc
index d8372d8f2fe9370f5a61d953809f823b39958831..f7fe37d51f11aa61c1ca949a2456e1758046c3bb 100644
--- a/chrome/renderer/benchmarking_extension.cc
+++ b/chrome/renderer/benchmarking_extension.cc
@@ -86,7 +86,7 @@ class BenchmarkingWrapper : public v8::Extension {
size_t capacity) {
name[0] = 'c';
name[1] = ':';
- args[0]->ToString()->WriteUtf8(&name[2], capacity - 3);
+ args[0]->ToString(args.GetIsolate())->WriteUtf8(&name[2], capacity - 3);
}
static void GetCounter(const v8::FunctionCallbackInfo<v8::Value>& args) {
« no previous file with comments | « no previous file | chrome/renderer/extensions/enterprise_platform_keys_natives.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698