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

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

Issue 1774943003: blink: Rename platform/ methods to prefix with get when they collide. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clash-platform: rebase-yayyyyyyyy Created 4 years, 9 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: 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 f0d95f8d6b445cdc229f08ff66555e8d25201ee5..beaaf3042c88d209bcfb248d590ff952b36e8035 100644
--- a/third_party/WebKit/Source/platform/heap/ThreadState.cpp
+++ b/third_party/WebKit/Source/platform/heap/ThreadState.cpp
@@ -290,12 +290,12 @@ void ThreadState::cleanup()
// Do thread local GC's as long as the count of thread local Persistents
// changes and is above zero.
int oldCount = -1;
- int currentCount = persistentRegion()->numberOfPersistents();
+ int currentCount = getPersistentRegion()->numberOfPersistents();
ASSERT(currentCount >= 0);
while (currentCount != oldCount) {
Heap::collectGarbageForTerminatingThread(this);
oldCount = currentCount;
- currentCount = persistentRegion()->numberOfPersistents();
+ currentCount = getPersistentRegion()->numberOfPersistents();
}
// We should not have any persistents left when getting to this point,
// if we have it is probably a bug so adding a debug ASSERT to catch this.
@@ -1368,7 +1368,7 @@ void ThreadState::registerStaticPersistentNode(PersistentNode* node)
void ThreadState::releaseStaticPersistentNodes()
{
for (PersistentNode* node : m_staticPersistents)
- persistentRegion()->freePersistentNode(node);
+ getPersistentRegion()->freePersistentNode(node);
m_staticPersistents.clear();
}

Powered by Google App Engine
This is Rietveld 408576698