| Index: Source/bindings/v8/custom/V8InjectedScriptHostCustom.cpp
|
| diff --git a/Source/bindings/v8/custom/V8InjectedScriptHostCustom.cpp b/Source/bindings/v8/custom/V8InjectedScriptHostCustom.cpp
|
| index 408b2a0d314ae456aa11bc2a6365a6bd68db6ab5..e7ee4101a39b497586135658fd0fe9725f54d9ce 100644
|
| --- a/Source/bindings/v8/custom/V8InjectedScriptHostCustom.cpp
|
| +++ b/Source/bindings/v8/custom/V8InjectedScriptHostCustom.cpp
|
| @@ -341,13 +341,13 @@ void V8InjectedScriptHost::evaluateMethodCustom(const v8::FunctionCallbackInfo<v
|
| {
|
| v8::Isolate* isolate = info.GetIsolate();
|
| if (info.Length() < 1) {
|
| - isolate->ThrowException(v8::Exception::Error(v8::String::NewFromUtf8(isolate, "One argument expected.")));
|
| + isolate->ThrowException(v8::Exception::Error(v8AtomicString(isolate, "One argument expected.")));
|
| return;
|
| }
|
|
|
| v8::Handle<v8::String> expression = info[0]->ToString();
|
| if (expression.IsEmpty()) {
|
| - isolate->ThrowException(v8::Exception::Error(v8::String::NewFromUtf8(isolate, "The argument must be a string.")));
|
| + isolate->ThrowException(v8::Exception::Error(v8AtomicString(isolate, "The argument must be a string.")));
|
| return;
|
| }
|
|
|
|
|