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

Unified Diff: Source/platform/heap/SafePoint.cpp

Issue 1257723002: Simplify ownership of a ThreadState's interruptors. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Switch addInterruptor() to take a PassOwnPtr<> Created 5 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 | « Source/platform/WebThreadSupportingGC.cpp ('k') | Source/platform/heap/ThreadState.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/heap/SafePoint.cpp
diff --git a/Source/platform/heap/SafePoint.cpp b/Source/platform/heap/SafePoint.cpp
index ef64cdde29b59099679c90d08ce3c67b2bc7daa8..c0574503a1642e397c63a2361cc0987d09f5ae1f 100644
--- a/Source/platform/heap/SafePoint.cpp
+++ b/Source/platform/heap/SafePoint.cpp
@@ -45,7 +45,7 @@ bool SafePointBarrier::parkOthers()
if (state == current)
continue;
- for (ThreadState::Interruptor* interruptor : state->interruptors())
+ for (auto& interruptor : state->interruptors())
interruptor->requestInterrupt();
}
« no previous file with comments | « Source/platform/WebThreadSupportingGC.cpp ('k') | Source/platform/heap/ThreadState.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698