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

Unified Diff: third_party/WebKit/Source/core/page/Page.h

Issue 2640163004: Replace ENABLE(ASSERT) with DCHECK_IS_ON(). (Closed)
Patch Set: m_domTreeVersion initialization Created 3 years, 11 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/core/page/Page.h
diff --git a/third_party/WebKit/Source/core/page/Page.h b/third_party/WebKit/Source/core/page/Page.h
index 918050f7cfe70dd2e88050216b452d7c084fd070..133260a54178c5fa4c0b3f3ce9a3fac74f875156 100644
--- a/third_party/WebKit/Source/core/page/Page.h
+++ b/third_party/WebKit/Source/core/page/Page.h
@@ -213,7 +213,7 @@ class CORE_EXPORT Page final : public GarbageCollectedFinalized<Page>,
bool isCursorVisible() const;
void setIsCursorVisible(bool isVisible) { m_isCursorVisible = isVisible; }
-#if ENABLE(ASSERT)
+#if DCHECK_IS_ON()
void setIsPainting(bool painting) { m_isPainting = painting; }
bool isPainting() const { return m_isPainting; }
#endif
@@ -295,8 +295,8 @@ class CORE_EXPORT Page final : public GarbageCollectedFinalized<Page>,
bool m_isCursorVisible;
-#if ENABLE(ASSERT)
- bool m_isPainting;
+#if DCHECK_IS_ON()
+ bool m_isPainting = false;
#endif
// A pointer to all the interfaces provided to in-process Frames for this
« no previous file with comments | « third_party/WebKit/Source/core/layout/svg/LayoutSVGText.cpp ('k') | third_party/WebKit/Source/core/page/Page.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698