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

Unified Diff: src/api.cc

Issue 238353015: Simplify v8/Isolate teardown. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 8 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
Index: src/api.cc
diff --git a/src/api.cc b/src/api.cc
index 00e90d859a649e95873956a0cadda54cf3049497..3f41646e998a51ed6de0e30e381ebd94c5be1eeb 100644
--- a/src/api.cc
+++ b/src/api.cc
@@ -4995,12 +4995,6 @@ void v8::V8::SetArrayBufferAllocator(
bool v8::V8::Dispose() {
- i::Isolate* isolate = i::Isolate::Current();
- if (!Utils::ApiCheck(isolate != NULL && isolate->IsDefaultIsolate(),
- "v8::V8::Dispose()",
- "Use v8::Isolate::Dispose() for non-default isolate.")) {
- return false;
- }
i::V8::TearDown();
return true;
}
« no previous file with comments | « samples/shell.cc ('k') | src/arm/assembler-arm.cc » ('j') | src/arm/assembler-arm.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698