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

Unified Diff: src/platform-linux.cc

Issue 3121009: [Isolates] Fix Linux build in Isolates branch. (Closed)
Patch Set: Fixed the crash due to incorrect usage of API in test. Created 10 years, 4 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 | src/v8threads.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/platform-linux.cc
diff --git a/src/platform-linux.cc b/src/platform-linux.cc
index 54c4f6f06ab7e9d3023592c8a8e82a7f14c54c16..4538be2f2fba43159b7d3969880420393ccd08d5 100644
--- a/src/platform-linux.cc
+++ b/src/platform-linux.cc
@@ -748,7 +748,7 @@ static inline bool IsVmThread() {
if (isolate == NULL) return false;
ThreadManager* thread_manager = isolate->thread_manager();
- if (thread_manager->HasId() && !thread_manager->IsArchived() &&
+ if (!thread_manager->IsArchived() &&
thread_manager->CurrentId() == isolate->thread_id()) {
return true;
}
« no previous file with comments | « no previous file | src/v8threads.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698