| Index: Source/bindings/v8/DOMWrapperWorld.cpp
|
| diff --git a/Source/bindings/v8/DOMWrapperWorld.cpp b/Source/bindings/v8/DOMWrapperWorld.cpp
|
| index 22ca0877425b52d3b570995e03ba02774c549c0f..30f1911f4df2e4cdc7c332524212fe9c87e0ba68 100644
|
| --- a/Source/bindings/v8/DOMWrapperWorld.cpp
|
| +++ b/Source/bindings/v8/DOMWrapperWorld.cpp
|
| @@ -115,7 +115,7 @@ DOMWrapperWorld::~DOMWrapperWorld()
|
| #ifndef NDEBUG
|
| static bool isIsolatedWorldId(int worldId)
|
| {
|
| - return worldId != MainWorldId && worldId != WorkerWorldId;
|
| + return MainWorldId < worldId && worldId < IsolatedWorldIdLimit;
|
| }
|
| #endif
|
|
|
|
|