Chromium Code Reviews| Index: Source/bindings/core/v8/V8ErrorHandler.cpp | 
| diff --git a/Source/bindings/core/v8/V8ErrorHandler.cpp b/Source/bindings/core/v8/V8ErrorHandler.cpp | 
| index f482e4873c3fb080343ade5d5e2d20a8d79eec7a..87d7bdefb4250e1a5e53d4115a8a93fcb407635b 100644 | 
| --- a/Source/bindings/core/v8/V8ErrorHandler.cpp | 
| +++ b/Source/bindings/core/v8/V8ErrorHandler.cpp | 
| @@ -89,7 +89,7 @@ void V8ErrorHandler::storeExceptionOnErrorEventWrapper(v8::Isolate* isolate, Err | 
| bool V8ErrorHandler::shouldPreventDefault(v8::Local<v8::Value> returnValue) | 
| { | 
| - return returnValue->IsBoolean() && returnValue->BooleanValue(); | 
| + return returnValue->IsBoolean() && returnValue->BooleanValue(isolate()->GetCurrentContext()).FromJust(); | 
| 
 
bashi
2015/03/06 07:16:18
Correct me if I'm wrong: I assume that BooleanValu
 
dcarney
2015/03/06 07:32:26
If you know the object's type exactly, always use
 
 | 
| } | 
| } // namespace blink |