| Index: Source/bindings/v8/custom/V8TypedArrayCustom.h
|
| diff --git a/Source/bindings/v8/custom/V8TypedArrayCustom.h b/Source/bindings/v8/custom/V8TypedArrayCustom.h
|
| index ca15506f2003d2aee0c8d0a7cd2e4ebbceb68d91..d268d6df3f6afe6d70c68e61bc512e9410a90044 100644
|
| --- a/Source/bindings/v8/custom/V8TypedArrayCustom.h
|
| +++ b/Source/bindings/v8/custom/V8TypedArrayCustom.h
|
| @@ -91,7 +91,7 @@ public:
|
| template<typename CallbackInfo>
|
| static void v8SetReturnValueForMainWorld(const CallbackInfo& info, TypedArray* impl)
|
| {
|
| - ASSERT(worldType(info.GetIsolate()) == MainWorld);
|
| + ASSERT(DOMWrapperWorld::current(info.GetIsolate())->isMainWorld());
|
| if (UNLIKELY(!impl)) {
|
| v8SetReturnValueNull(info);
|
| return;
|
|
|