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

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

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.h
diff --git a/third_party/WebKit/Source/platform/heap/ThreadState.h b/third_party/WebKit/Source/platform/heap/ThreadState.h
index ce8368a7921705178e7253c876bf2968055da69b..dd5f2218dfcf8884e7577a843c209b61c1b96b63 100644
--- a/third_party/WebKit/Source/platform/heap/ThreadState.h
+++ b/third_party/WebKit/Source/platform/heap/ThreadState.h
@@ -90,9 +90,9 @@ class Visitor;
// private:
// void dispose()
// {
-// m_bar->...; // It is safe to touch other on-heap objects.
+// bar_->...; // It is safe to touch other on-heap objects.
// }
-// Member<Bar> m_bar;
+// Member<Bar> bar_;
// };
#define USING_PRE_FINALIZER(Class, preFinalizer) \
public: \
@@ -478,7 +478,7 @@ class PLATFORM_EXPORT ThreadState {
size_t entry_index = gc_info_index & kLikelyToBePromptlyFreedArrayMask;
--likely_to_be_promptly_freed_[entry_index];
int arena_index = vector_backing_arena_index_;
- // If m_likelyToBePromptlyFreed[entryIndex] > 0, that means that
+ // If likely_to_be_promptly_freed_[entryIndex] > 0, that means that
// more than 33% of vectors of the type have been promptly freed
// since the last GC.
if (likely_to_be_promptly_freed_[entry_index] > 0) {
@@ -672,7 +672,7 @@ class PLATFORM_EXPORT ThreadState {
// Pre-finalizers are called in the reverse order in which they are
// registered by the constructors (including constructors of Mixin objects)
- // for an object, by processing the m_orderedPreFinalizers back-to-front.
+ // for an object, by processing the ordered_pre_finalizers_ back-to-front.
ListHashSet<PreFinalizer> ordered_pre_finalizers_;
v8::Isolate* isolate_;
@@ -692,7 +692,7 @@ class PLATFORM_EXPORT ThreadState {
#if defined(LEAK_SANITIZER)
// Count that controls scoped disabling of persistent registration.
- size_t m_disabledStaticPersistentsRegistration;
+ size_t disabled_static_persistent_registration_;
#endif
// Ideally we want to allocate an array of size |gcInfoTableMax| but it will

Powered by Google App Engine
This is Rietveld 408576698