Index: src/extensions/statistics-extension.cc |
diff --git a/src/extensions/statistics-extension.cc b/src/extensions/statistics-extension.cc |
index 7ae090c987bef6b6bac1eb7b829aedcdc4266220..71b70a533df3edaf36f9dd6f4d7e17ebf14b5910 100644 |
--- a/src/extensions/statistics-extension.cc |
+++ b/src/extensions/statistics-extension.cc |
@@ -36,7 +36,7 @@ const char* const StatisticsExtension::kSource = |
v8::Handle<v8::FunctionTemplate> StatisticsExtension::GetNativeFunction( |
v8::Handle<v8::String> str) { |
- ASSERT(strcmp(*v8::String::AsciiValue(str), "getV8Statistics") == 0); |
+ ASSERT(strcmp(*v8::String::Utf8Value(str), "getV8Statistics") == 0); |
return v8::FunctionTemplate::New(StatisticsExtension::GetCounters); |
} |