Index: Source/bindings/v8/V8StringResource.cpp |
diff --git a/Source/bindings/v8/V8StringResource.cpp b/Source/bindings/v8/V8StringResource.cpp |
index 888d1c24937e1649d2beee3f11cca6dd2c23a67d..bce62d4c2faaf394d35fb3f8dddbb8d931748571 100644 |
--- a/Source/bindings/v8/V8StringResource.cpp |
+++ b/Source/bindings/v8/V8StringResource.cpp |
@@ -148,7 +148,7 @@ StringType v8StringToWebCoreString(v8::Handle<v8::String> v8String, ExternalMode |
int length = v8String->Length(); |
if (UNLIKELY(!length)) |
- return String(""); |
+ return StringType(""); |
bool oneByte = v8String->ContainsOnlyOneByte(); |
StringType result(oneByte ? StringTraits<StringType>::template fromV8String<true>(v8String, length) : StringTraits<StringType>::template fromV8String<false>(v8String, length)); |