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

Unified Diff: Source/platform/RefCountedSupplement.h

Issue 397733004: Allow assertions to be enabled in Blink Release builds. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed config.gni. Minor cleanups. Created 6 years, 5 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/RefCountedSupplement.h
diff --git a/Source/platform/RefCountedSupplement.h b/Source/platform/RefCountedSupplement.h
index 9a06008da6ab3f21a86a8f71cc98d1742e3090aa..4815bceb7f270eaa9851804139baeeb3427d8339 100644
--- a/Source/platform/RefCountedSupplement.h
+++ b/Source/platform/RefCountedSupplement.h
@@ -44,7 +44,7 @@ public:
public:
explicit Wrapper(PassRefPtr<ThisType> wrapped) : m_wrapped(wrapped) { }
virtual ~Wrapper() { }
-#if SECURITY_ASSERT_ENABLED
+#if ENABLE(SECURITY_ASSERT)
virtual bool isRefCountedWrapper() const OVERRIDE { return true; }
#endif
ThisType* wrapped() const { return m_wrapped.get(); }

Powered by Google App Engine
This is Rietveld 408576698