Index: Source/bindings/v8/custom/V8OscillatorNodeCustom.cpp |
diff --git a/Source/bindings/v8/custom/V8OscillatorNodeCustom.cpp b/Source/bindings/v8/custom/V8OscillatorNodeCustom.cpp |
index 80bf07a18cdf9d11a34f769fbb236f728f377c4c..7216a8ec56bf1902f009acc05391f8719b37a6cf 100644 |
--- a/Source/bindings/v8/custom/V8OscillatorNodeCustom.cpp |
+++ b/Source/bindings/v8/custom/V8OscillatorNodeCustom.cpp |
@@ -45,7 +45,7 @@ void V8OscillatorNode::typeAttributeSetterCustom(v8::Local<v8::Value> value, con |
} |
if (value->IsString()) { |
- String type = toWebCoreString(value.As<v8::String>()); |
+ String type = toCoreString(value.As<v8::String>()); |
if (type == "sine" || type == "square" || type == "sawtooth" || type == "triangle") { |
imp->setType(type); |
return; |