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

Unified Diff: Source/bindings/v8/custom/V8PannerNodeCustom.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/V8PannerNodeCustom.cpp
diff --git a/Source/bindings/v8/custom/V8PannerNodeCustom.cpp b/Source/bindings/v8/custom/V8PannerNodeCustom.cpp
index f4d32e1a690f41c55f11057aa417e64f2437bb57..c9e2f2d7a6f035c8086ec48e04f0cddf44c2741f 100644
--- a/Source/bindings/v8/custom/V8PannerNodeCustom.cpp
+++ b/Source/bindings/v8/custom/V8PannerNodeCustom.cpp
@@ -35,13 +35,13 @@ namespace WebCore {
void V8PannerNode::panningModelAttributeSetterCustom(v8::Local<v8::Value> value, const v8::PropertyCallbackInfo<void>& info)
{
ExceptionState exceptionState(ExceptionState::SetterContext, "panningModel", "PannerNode", info.Holder(), info.GetIsolate());
- PannerNode* imp = V8PannerNode::toNative(info.Holder());
+ PannerNode* impl = V8PannerNode::toNative(info.Holder());
if (value->IsNumber()) {
uint32_t model = toUInt32(value, exceptionState);
if (exceptionState.throwIfNeeded())
return;
- if (!imp->setPanningModel(model)) {
+ if (!impl->setPanningModel(model)) {
exceptionState.throwTypeError("Illegal panningModel");
exceptionState.throwIfNeeded();
}
@@ -51,7 +51,7 @@ void V8PannerNode::panningModelAttributeSetterCustom(v8::Local<v8::Value> value,
if (value->IsString()) {
String model = toCoreString(value.As<v8::String>());
if (model == "equalpower" || model == "HRTF") {
- imp->setPanningModel(model);
+ impl->setPanningModel(model);
return;
}
}
@@ -63,13 +63,13 @@ void V8PannerNode::panningModelAttributeSetterCustom(v8::Local<v8::Value> value,
void V8PannerNode::distanceModelAttributeSetterCustom(v8::Local<v8::Value> value, const v8::PropertyCallbackInfo<void>& info)
{
ExceptionState exceptionState(ExceptionState::SetterContext, "distanceModel", "PannerNode", info.Holder(), info.GetIsolate());
- PannerNode* imp = V8PannerNode::toNative(info.Holder());
+ PannerNode* impl = V8PannerNode::toNative(info.Holder());
if (value->IsNumber()) {
uint32_t model = toUInt32(value, exceptionState);
if (exceptionState.throwIfNeeded())
return;
- if (!imp->setDistanceModel(model)) {
+ if (!impl->setDistanceModel(model)) {
exceptionState.throwTypeError("Illegal distanceModel");
exceptionState.throwIfNeeded();
}
@@ -79,7 +79,7 @@ void V8PannerNode::distanceModelAttributeSetterCustom(v8::Local<v8::Value> value
if (value->IsString()) {
String model = toCoreString(value.As<v8::String>());
if (model == "linear" || model == "inverse" || model == "exponential") {
- imp->setDistanceModel(model);
+ impl->setDistanceModel(model);
return;
}
}
« no previous file with comments | « Source/bindings/v8/custom/V8OscillatorNodeCustom.cpp ('k') | Source/bindings/v8/custom/V8WebGLRenderingContextBaseCustom.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698