Chromium Code Reviews| 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()); |
| } |