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

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

Issue 1317563005: Fix binary size increase because of class name loading. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fix build. 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
Index: Source/platform/heap/Visitor.h
diff --git a/Source/platform/heap/Visitor.h b/Source/platform/heap/Visitor.h
index 1a50d167289ab6dbd5e7863c176fbfc1777adecb..9e0e4e17449e0b53a4ffa6f0caf52719b35f0712 100644
--- a/Source/platform/heap/Visitor.h
+++ b/Source/platform/heap/Visitor.h
@@ -384,6 +384,7 @@ private:
bool m_isGlobalMarkingVisitor;
};
+#if ENABLE(GC_PROFILING)
template<typename T>
struct TypenameStringTrait {
static const String get()
@@ -391,6 +392,7 @@ struct TypenameStringTrait {
return WTF::extractTypeNameFromFunctionName(WTF::extractNameFunction<T>());
}
};
+#endif
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698