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

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

Issue 1714523006: Refactoring: Remove DETAILED_MEMORY_INFRA (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove spamming info Created 4 years, 10 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/GCInfo.h
diff --git a/third_party/WebKit/Source/platform/heap/GCInfo.h b/third_party/WebKit/Source/platform/heap/GCInfo.h
index 0b6c1bbc6c900b1dd512ff2a95434df326496e5f..1f99505993e34a6cae388a53d63cca043dbcc362 100644
--- a/third_party/WebKit/Source/platform/heap/GCInfo.h
+++ b/third_party/WebKit/Source/platform/heap/GCInfo.h
@@ -121,18 +121,12 @@ extern PLATFORM_EXPORT GCInfo const** s_gcInfoTable;
// reachable. There is a GCInfo struct for each class that directly
// inherits from GarbageCollected or GarbageCollectedFinalized.
struct GCInfo {
- using GetClassNameCallback = const String (*)();
-
bool hasFinalizer() const { return m_nonTrivialFinalizer; }
bool hasVTable() const { return m_hasVTable; }
TraceCallback m_trace;
FinalizationCallback m_finalize;
bool m_nonTrivialFinalizer;
bool m_hasVTable;
-#if ENABLE(DETAILED_MEMORY_INFRA)
- const String className() const { return m_className(); }
- GetClassNameCallback m_className;
-#endif
};
#if ENABLE(ASSERT)
@@ -177,9 +171,6 @@ struct GCInfoAtBaseType {
FinalizerTrait<T>::finalize,
FinalizerTrait<T>::nonTrivialFinalizer,
std::is_polymorphic<T>::value,
-#if ENABLE(DETAILED_MEMORY_INFRA)
- TypenameStringTrait<T>::get
-#endif
};
static size_t gcInfoIndex = 0;
« no previous file with comments | « third_party/WebKit/Source/build/features.gypi ('k') | third_party/WebKit/Source/platform/heap/ThreadState.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698