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

Unified Diff: src/serialize.cc

Issue 8536042: Extension state made per-siolate in genesis (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 1 month 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
Index: src/serialize.cc
diff --git a/src/serialize.cc b/src/serialize.cc
index 9a628aab958859c07ccc4c1d67db2f543f99c99e..842982cc683d04810cd6575feb966e13f8e1989c 100644
--- a/src/serialize.cc
+++ b/src/serialize.cc
@@ -1135,7 +1135,7 @@ void StartupSerializer::SerializeStrongReferences() {
for (RegisteredExtension* ext = v8::RegisteredExtension::first_extension();
ext != NULL;
ext = ext->next()) {
- CHECK_NE(v8::INSTALLED, ext->state());
+ CHECK_NE(INSTALLED, isolate->extension_states()->get_state(ext));
}
HEAP->IterateStrongRoots(this, VISIT_ONLY_STRONG);
}

Powered by Google App Engine
This is Rietveld 408576698