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

Unified Diff: third_party/WebKit/Source/platform/graphics/ColorSpaceProfileData.cpp

Issue 2807923002: Replace ASSERT, ASSERT_NOT_REACHED, and RELEASE_ASSERT in platform/graphics (Closed)
Patch Set: Replace ASSERT, ASSERT_NOT_REACHED, and RELEASE_ASSERT in platform/graphics 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/platform/graphics/ColorSpaceProfileData.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/ColorSpaceProfileData.cpp b/third_party/WebKit/Source/platform/graphics/ColorSpaceProfileData.cpp
index 4d9644d1c4523d09bd0391acabb71bd379c31180..493686a0d4031224158fc0cecfa77de1e5a15722 100644
--- a/third_party/WebKit/Source/platform/graphics/ColorSpaceProfileData.cpp
+++ b/third_party/WebKit/Source/platform/graphics/ColorSpaceProfileData.cpp
@@ -95,13 +95,13 @@ struct bt601ColorProfile {
namespace blink {
void bt709ColorProfileData(Vector<char>& data) {
- ASSERT(WTF::isMainThread() && data.isEmpty());
+ DCHECK(WTF::isMainThread() && data.isEmpty());
tkent 2017/04/09 23:17:27 Split this into two DCHECKs.
Hwanseung Lee 2017/04/11 22:24:10 Done.
data.append(bt709ColorProfile::data(), bt709ColorProfile::size());
}
void bt601ColorProfileData(Vector<char>& data) {
- ASSERT(WTF::isMainThread() && data.isEmpty());
+ DCHECK(WTF::isMainThread() && data.isEmpty());
tkent 2017/04/09 23:17:27 Split this into two DCHECKs.
Hwanseung Lee 2017/04/11 22:24:10 Done.
data.append(bt601ColorProfile::data(), bt601ColorProfile::size());
}

Powered by Google App Engine
This is Rietveld 408576698