Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(426)

Unified Diff: Source/bindings/v8/custom/V8BiquadFilterNodeCustom.cpp

Issue 202203009: Rename |imp| => |impl| in bindings generation (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: custom/v8 too Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
}
}
« no previous file with comments | « Source/bindings/tests/results/V8TestTypedefs.cpp ('k') | Source/bindings/v8/custom/V8CSSStyleDeclarationCustom.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698