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

Unified Diff: chrome/renderer/extensions/document_custom_bindings.cc

Issue 98543004: Remove usage of deprecated V8 APIs from c/r/extensions (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
Index: chrome/renderer/extensions/document_custom_bindings.cc
diff --git a/chrome/renderer/extensions/document_custom_bindings.cc b/chrome/renderer/extensions/document_custom_bindings.cc
index b647b5b75aa3186555c261bb07e7650aa7252b71..b8471a4802ec360c81da7a22fa3ad49612ad9a34 100644
--- a/chrome/renderer/extensions/document_custom_bindings.cc
+++ b/chrome/renderer/extensions/document_custom_bindings.cc
@@ -30,7 +30,7 @@ void DocumentCustomBindings::RegisterElement(
return;
}
- std::string element_name(*v8::String::AsciiValue(args[0]));
+ std::string element_name(*v8::String::Utf8Value(args[0]));
v8::Local<v8::Object> options = args[1]->ToObject();
blink::WebExceptionCode ec = 0;

Powered by Google App Engine
This is Rietveld 408576698