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

Unified Diff: third_party/WebKit/Source/platform/heap/ThreadState.cpp

Issue 2951673002: Determine stability of system_health:memory_mobile results.
Patch Set: Created 3 years, 6 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: third_party/WebKit/Source/platform/heap/ThreadState.cpp
diff --git a/third_party/WebKit/Source/platform/heap/ThreadState.cpp b/third_party/WebKit/Source/platform/heap/ThreadState.cpp
index 2c2b2630b7007c9910fcc1ae6a3226be81463c06..47e046cefd94513d6dbd87d35cacc96c22971573 100644
--- a/third_party/WebKit/Source/platform/heap/ThreadState.cpp
+++ b/third_party/WebKit/Source/platform/heap/ThreadState.cpp
@@ -175,8 +175,9 @@ void ThreadState::DetachCurrentThread() {
void ThreadState::RemoveAllPages() {
DCHECK(CheckThread());
- for (int i = 0; i < BlinkGC::kNumberOfArenas; ++i)
+ for (int i = 0; i < BlinkGC::kNumberOfArenas; ++i) {
arenas_[i]->RemoveAllPages();
+ }
}
void ThreadState::RunTerminationGC() {
« 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