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

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

Issue 1315443010: Oilpan: Re-add a GC_PROFILING macro to GCInfo::className() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 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 | Source/platform/heap/Visitor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/heap/GCInfo.h
diff --git a/Source/platform/heap/GCInfo.h b/Source/platform/heap/GCInfo.h
index a435caeca58ecd649f04cec50ed914c1881d9f8a..b90465ba852dc44e7f6ce75efe6e3becf0d7e8f2 100644
--- a/Source/platform/heap/GCInfo.h
+++ b/Source/platform/heap/GCInfo.h
@@ -119,7 +119,7 @@ struct GCInfo {
FinalizationCallback m_finalize;
bool m_nonTrivialFinalizer;
bool m_hasVTable;
-#if ENABLE(DETAILED_MEMORY_INFRA)
+#if ENABLE(GC_PROFILING) || ENABLE(DETAILED_MEMORY_INFRA)
const String className() const { return m_className(); }
GetClassNameCallback m_className;
#endif
@@ -174,7 +174,7 @@ struct GCInfoAtBase {
FinalizerTrait<T>::finalize,
FinalizerTrait<T>::nonTrivialFinalizer,
WTF::IsPolymorphic<T>::value,
-#if ENABLE(DETAILED_MEMORY_INFRA)
+#if ENABLE(GC_PROFILING) || ENABLE(DETAILED_MEMORY_INFRA)
TypenameStringTrait<T>::get
#endif
};
« no previous file with comments | « no previous file | Source/platform/heap/Visitor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698