| Index: Source/bindings/modules/v8/custom/V8DeviceOrientationEventCustom.cpp
 | 
| diff --git a/Source/bindings/modules/v8/custom/V8DeviceOrientationEventCustom.cpp b/Source/bindings/modules/v8/custom/V8DeviceOrientationEventCustom.cpp
 | 
| index 118d445969c431e17054c7388cb6ea061ec43d8a..278912245fc36af99c900aea5a3254af5dde2dcb 100644
 | 
| --- a/Source/bindings/modules/v8/custom/V8DeviceOrientationEventCustom.cpp
 | 
| +++ b/Source/bindings/modules/v8/custom/V8DeviceOrientationEventCustom.cpp
 | 
| @@ -39,8 +39,11 @@ void V8DeviceOrientationEvent::initDeviceOrientationEventMethodCustom(const v8::
 | 
|      V8StringResource<> type(info[0]);
 | 
|      if (!type.prepare())
 | 
|          return;
 | 
| -    bool bubbles = info[1]->BooleanValue();
 | 
| -    bool cancelable = info[2]->BooleanValue();
 | 
| +    v8::Local<v8::Context> context = info.GetIsolate()->GetCurrentContext();
 | 
| +    bool bubbles;
 | 
| +    V8_CALL(bubbles, info[1], BooleanValue(context), return);
 | 
| +    bool cancelable;
 | 
| +    V8_CALL(cancelable, info[2], BooleanValue(context), return);
 | 
|      // If alpha, beta, gamma or absolute are null or undefined, mark them as not provided.
 | 
|      // Otherwise, use the standard JavaScript conversion.
 | 
|      bool alphaProvided = !isUndefinedOrNull(info[3]);
 | 
| 
 |