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

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: fix typo 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 147fe552a7ec221daa50567753e71f83f65512a2..e604c13c5e643e93d2afd8bc8e82605539f7bbe0 100644
--- a/third_party/WebKit/Source/platform/graphics/ColorSpaceProfileData.cpp
+++ b/third_party/WebKit/Source/platform/graphics/ColorSpaceProfileData.cpp
@@ -95,13 +95,15 @@ struct bt601ColorProfile {
namespace blink {
void Bt709ColorProfileData(Vector<char>& data) {
- ASSERT(WTF::IsMainThread() && data.IsEmpty());
+ DCHECK(WTF::IsMainThread());
+ DCHECK(data.IsEmpty());
data.Append(bt709ColorProfile::data(), bt709ColorProfile::size());
}
void Bt601ColorProfileData(Vector<char>& data) {
- ASSERT(WTF::IsMainThread() && data.IsEmpty());
+ DCHECK(WTF::IsMainThread());
+ DCHECK(data.IsEmpty());
data.Append(bt601ColorProfile::data(), bt601ColorProfile::size());
}

Powered by Google App Engine
This is Rietveld 408576698