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

Unified Diff: extensions/renderer/print_native_handler.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 | « extensions/renderer/module_system.cc ('k') | extensions/renderer/runtime_custom_bindings.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/renderer/print_native_handler.cc
diff --git a/extensions/renderer/print_native_handler.cc b/extensions/renderer/print_native_handler.cc
index 1e83b0e5b9529031fc61cf9940109c6f9a0858c6..8e71eb5f7b5ccba832b1db96d4240765d5a19772 100644
--- a/extensions/renderer/print_native_handler.cc
+++ b/extensions/renderer/print_native_handler.cc
@@ -24,7 +24,7 @@ void PrintNativeHandler::Print(
std::vector<std::string> components;
for (int i = 0; i < args.Length(); ++i)
- components.push_back(*v8::String::Utf8Value(args[i]->ToString()));
+ components.push_back(*v8::String::Utf8Value(args[i]));
LOG(ERROR) << JoinString(components, ',');
}
« no previous file with comments | « extensions/renderer/module_system.cc ('k') | extensions/renderer/runtime_custom_bindings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698