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

Unified Diff: third_party/WebKit/Source/platform/graphics/GraphicsContext.h

Issue 2280003003: Clean up some assertion code in WebKit. (Closed)
Patch Set: Try to fix patchset deps again Created 4 years, 4 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/platform/graphics/GraphicsContext.h
diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsContext.h b/third_party/WebKit/Source/platform/graphics/GraphicsContext.h
index 71fde7edaa75c97d6418e8c14a66dfe454fdba5a..6416ca5641c575d0353959e69de1f305a63d7c7f 100644
--- a/third_party/WebKit/Source/platform/graphics/GraphicsContext.h
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsContext.h
@@ -271,7 +271,7 @@ public:
static int focusRingWidth(int width) { return 1; }
#endif
-#if ENABLE(ASSERT)
+#if DCHECK_IS_ON()
void setInDrawingRecorder(bool);
#endif
@@ -353,7 +353,7 @@ private:
SkMetaData m_metaData;
-#if ENABLE(ASSERT)
+#if DCHECK_IS_ON()
unsigned m_layerCount;
bool m_disableDestructionChecks;
bool m_inDrawingRecorder;

Powered by Google App Engine
This is Rietveld 408576698