Index: Source/bindings/v8/custom/V8BiquadFilterNodeCustom.cpp |
diff --git a/Source/bindings/v8/custom/V8BiquadFilterNodeCustom.cpp b/Source/bindings/v8/custom/V8BiquadFilterNodeCustom.cpp |
index 2f1316207b8a26420b02c1b4e170b2362a43ad45..77916a7c1d67af56b458cfa6c8a116b098651c78 100644 |
--- a/Source/bindings/v8/custom/V8BiquadFilterNodeCustom.cpp |
+++ b/Source/bindings/v8/custom/V8BiquadFilterNodeCustom.cpp |
@@ -35,13 +35,13 @@ namespace WebCore { |
void V8BiquadFilterNode::typeAttributeSetterCustom(v8::Local<v8::Value> value, const v8::PropertyCallbackInfo<void>& info) |
{ |
ExceptionState exceptionState(ExceptionState::SetterContext, "type", "BiquadFilterNode", info.Holder(), info.GetIsolate()); |
- BiquadFilterNode* imp = V8BiquadFilterNode::toNative(info.Holder()); |
+ BiquadFilterNode* impl = V8BiquadFilterNode::toNative(info.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 BiquadFilterNode type"); |
exceptionState.throwIfNeeded(); |
} |
@@ -51,7 +51,7 @@ void V8BiquadFilterNode::typeAttributeSetterCustom(v8::Local<v8::Value> value, c |
if (value->IsString()) { |
String type = toCoreString(value.As<v8::String>()); |
if (type == "lowpass" || type == "highpass" || type == "bandpass" || type == "lowshelf" || type == "highshelf" || type == "peaking" || type == "notch" || type == "allpass") { |
- imp->setType(type); |
+ impl->setType(type); |
return; |
} |
} |