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

Unified Diff: public/web/WebScopedMicrotaskSuppression.h

Issue 397733004: Allow assertions to be enabled in Blink Release builds. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased. 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
« no previous file with comments | « Source/wtf/text/StringImpl.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebScopedMicrotaskSuppression.h
diff --git a/public/web/WebScopedMicrotaskSuppression.h b/public/web/WebScopedMicrotaskSuppression.h
index 7245cd58832fa9050e15d42a0727c6e734f165eb..8347ddf508396afc12d7aedc3ce7021286b0f0bc 100644
--- a/public/web/WebScopedMicrotaskSuppression.h
+++ b/public/web/WebScopedMicrotaskSuppression.h
@@ -63,10 +63,12 @@ private:
BLINK_EXPORT void initialize();
BLINK_EXPORT void reset();
-#ifndef NDEBUG
+ // Always declare this data member. When assertions are on in
+ // Release builds of Blink, this header may be included from
+ // Chromium with different preprocessor options than used when
+ // building Blink itself.
class Impl;
WebPrivateOwnPtr<Impl> m_impl;
-#endif
};
} // WebKit
« no previous file with comments | « Source/wtf/text/StringImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698