Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(279)

Unified Diff: Source/bindings/core/v8/DOMWrapperWorld.cpp

Issue 404473003: Remove ASSERT(map.size() == isolatedWorldCount) from DOMWrapperWorld.cpp (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/core/v8/DOMWrapperWorld.cpp
diff --git a/Source/bindings/core/v8/DOMWrapperWorld.cpp b/Source/bindings/core/v8/DOMWrapperWorld.cpp
index a4d7ee0f334f4e41b3fd1c85d64e2086176a191b..a2f07b2418ce5cc96169d131722cb3a564c50f81 100644
--- a/Source/bindings/core/v8/DOMWrapperWorld.cpp
+++ b/Source/bindings/core/v8/DOMWrapperWorld.cpp
@@ -114,7 +114,6 @@ DOMWrapperWorld::~DOMWrapperWorld()
map.remove(it);
isolatedWorldCount--;
- ASSERT(map.size() == isolatedWorldCount);
}
void DOMWrapperWorld::dispose()
@@ -145,8 +144,6 @@ PassRefPtr<DOMWrapperWorld> DOMWrapperWorld::ensureIsolatedWorld(int worldId, in
world = DOMWrapperWorld::create(worldId, extensionGroup);
result.storedValue->value = world.get();
isolatedWorldCount++;
- ASSERT(map.size() == isolatedWorldCount);
-
return world.release();
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698