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

Unified Diff: third_party/WebKit/Source/core/fileapi/File.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/fileapi/File.h
diff --git a/third_party/WebKit/Source/core/fileapi/File.h b/third_party/WebKit/Source/core/fileapi/File.h
index 4dc77f63b1a1daf33926318778f9fbd180d2c8c5..481fc1e2400f73df56a1e436d0d3247c78862601 100644
--- a/third_party/WebKit/Source/core/fileapi/File.h
+++ b/third_party/WebKit/Source/core/fileapi/File.h
@@ -216,7 +216,7 @@ class CORE_EXPORT File final : public Blob {
// If the modification time isn't known, the current time is returned.
double lastModifiedMS() const;
-#if ENABLE(ASSERT)
+#if DCHECK_IS_ON()
// Instances backed by a file must have an empty file system URL.
bool hasValidFileSystemURL() const {
return !hasBackingFile() || m_fileSystemURL.isEmpty();
« no previous file with comments | « third_party/WebKit/Source/core/clipboard/DataObject.cpp ('k') | third_party/WebKit/Source/core/frame/EventHandlerRegistry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698