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

Unified Diff: third_party/WebKit/Source/core/fileapi/FileError.cpp

Issue 2804403003: Replace ASSERT, ASSERT_NOT_REACHED, and RELEASE_ASSERT in core/fileapi (Closed)
Patch Set: fix Created 3 years, 8 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/FileError.cpp
diff --git a/third_party/WebKit/Source/core/fileapi/FileError.cpp b/third_party/WebKit/Source/core/fileapi/FileError.cpp
index 90bf9362cea9c11933f003311cf44e579e386c9a..52bb582dbd4831be0dab12a81ab8127adff942fd 100644
--- a/third_party/WebKit/Source/core/fileapi/FileError.cpp
+++ b/third_party/WebKit/Source/core/fileapi/FileError.cpp
@@ -101,7 +101,7 @@ ExceptionCode ErrorCodeToExceptionCode(ErrorCode code) {
case kPathExistsErr:
return kPathExistsError;
default:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return code;
}
}
@@ -137,7 +137,7 @@ const char* ErrorCodeToMessage(ErrorCode code) {
case kPathExistsErr:
return kPathExistsErrorMessage;
default:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return 0;
}
}
« no previous file with comments | « third_party/WebKit/Source/core/fileapi/File.cpp ('k') | third_party/WebKit/Source/core/fileapi/FileReader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698