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

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

Issue 2856123004: Fix some m_instVar instances in wtf/ (Closed)
Patch Set: . Created 3 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: 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 973cdd2d917f90ee52fa815a33c0eaf7148ae2e4..c92f21c8030be46e66144f4a32c46922f7c20c27 100644
--- a/third_party/WebKit/Source/platform/heap/ThreadState.cpp
+++ b/third_party/WebKit/Source/platform/heap/ThreadState.cpp
@@ -123,7 +123,7 @@ ThreadState::ThreadState()
asan_fake_stack_(__asan_get_current_fake_stack()),
#endif
#if defined(LEAK_SANITIZER)
- m_disabledStaticPersistentsRegistration(0),
+ disabled_static_persistent_registration_(0),
#endif
allocated_object_size_(0),
marked_object_size_(0),
@@ -1222,7 +1222,7 @@ void ThreadState::RegisterStaticPersistentNode(
PersistentNode* node,
PersistentClearCallback callback) {
#if defined(LEAK_SANITIZER)
- if (m_disabledStaticPersistentsRegistration)
+ if (disabled_static_persistent_registration_)
return;
#endif
@@ -1253,12 +1253,12 @@ void ThreadState::FreePersistentNode(PersistentNode* persistent_node) {
#if defined(LEAK_SANITIZER)
void ThreadState::enterStaticReferenceRegistrationDisabledScope() {
- m_disabledStaticPersistentsRegistration++;
+ disabled_static_persistent_registration_++;
}
void ThreadState::leaveStaticReferenceRegistrationDisabledScope() {
- DCHECK(m_disabledStaticPersistentsRegistration);
- m_disabledStaticPersistentsRegistration--;
+ DCHECK(disabled_static_persistent_registration_);
+ disabled_static_persistent_registration_--;
}
#endif

Powered by Google App Engine
This is Rietveld 408576698