Index: Source/bindings/v8/custom/V8DeviceMotionEventCustom.cpp |
diff --git a/Source/bindings/v8/custom/V8DeviceMotionEventCustom.cpp b/Source/bindings/v8/custom/V8DeviceMotionEventCustom.cpp |
index 611a9ed82931b3bd35416661e93670d0ab697053..047cad193ea70c220b476b7ef7bed890ec4d9f16 100644 |
--- a/Source/bindings/v8/custom/V8DeviceMotionEventCustom.cpp |
+++ b/Source/bindings/v8/custom/V8DeviceMotionEventCustom.cpp |
@@ -102,7 +102,7 @@ PassRefPtrWillBeRawPtr<DeviceMotionData::RotationRate> readRotationRateArgument( |
void V8DeviceMotionEvent::initDeviceMotionEventMethodCustom(const v8::FunctionCallbackInfo<v8::Value>& info) |
{ |
- DeviceMotionEvent* imp = V8DeviceMotionEvent::toNative(info.Holder()); |
+ DeviceMotionEvent* impl = V8DeviceMotionEvent::toNative(info.Holder()); |
v8::Isolate* isolate = info.GetIsolate(); |
V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, type, info[0]); |
bool bubbles = info[1]->BooleanValue(); |
@@ -113,7 +113,7 @@ void V8DeviceMotionEvent::initDeviceMotionEventMethodCustom(const v8::FunctionCa |
bool intervalProvided = !isUndefinedOrNull(info[6]); |
double interval = info[6]->NumberValue(); |
RefPtrWillBeRawPtr<DeviceMotionData> deviceMotionData = DeviceMotionData::create(acceleration.release(), accelerationIncludingGravity.release(), rotationRate.release(), intervalProvided, interval); |
- imp->initDeviceMotionEvent(type, bubbles, cancelable, deviceMotionData.get()); |
+ impl->initDeviceMotionEvent(type, bubbles, cancelable, deviceMotionData.get()); |
} |
} // namespace WebCore |