Index: Source/bindings/v8/custom/V8OscillatorNodeCustom.cpp |
diff --git a/Source/bindings/v8/custom/V8OscillatorNodeCustom.cpp b/Source/bindings/v8/custom/V8OscillatorNodeCustom.cpp |
index f6db41308d4f4d65a6563f5fba4ee5d69b0354e7..ca00520ff343c84e91d07b2cd38935214ad34177 100644 |
--- a/Source/bindings/v8/custom/V8OscillatorNodeCustom.cpp |
+++ b/Source/bindings/v8/custom/V8OscillatorNodeCustom.cpp |
@@ -36,13 +36,13 @@ void V8OscillatorNode::typeAttributeSetterCustom(v8::Local<v8::Value> value, con |
{ |
ExceptionState exceptionState(ExceptionState::SetterContext, "type", "OscillatorNode", info.Holder(), info.GetIsolate()); |
v8::Handle<v8::Object> holder = info.Holder(); |
- OscillatorNode* imp = V8OscillatorNode::toNative(holder); |
+ OscillatorNode* impl = V8OscillatorNode::toNative(holder); |
if (value->IsNumber()) { |
uint32_t type = toUInt32(value, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
- if (!imp->setType(type)) { |
+ if (!impl->setType(type)) { |
exceptionState.throwTypeError("Illegal OscillatorNode type"); |
exceptionState.throwIfNeeded(); |
} |
@@ -52,7 +52,7 @@ void V8OscillatorNode::typeAttributeSetterCustom(v8::Local<v8::Value> value, con |
if (value->IsString()) { |
String type = toCoreString(value.As<v8::String>()); |
if (type == "sine" || type == "square" || type == "sawtooth" || type == "triangle") { |
- imp->setType(type); |
+ impl->setType(type); |
return; |
} |
} |