| Index: third_party/WebKit/Source/platform/fonts/FontFaceCreationParams.h
|
| diff --git a/third_party/WebKit/Source/platform/fonts/FontFaceCreationParams.h b/third_party/WebKit/Source/platform/fonts/FontFaceCreationParams.h
|
| index 3e47d4e81e465227f2f48bc7aa5206ce154cc453..653c274ff9644e79b959bbc3df96903175cd38f6 100644
|
| --- a/third_party/WebKit/Source/platform/fonts/FontFaceCreationParams.h
|
| +++ b/third_party/WebKit/Source/platform/fonts/FontFaceCreationParams.h
|
| @@ -79,19 +79,19 @@ class FontFaceCreationParams {
|
|
|
| FontFaceCreationType creationType() const { return m_creationType; }
|
| AtomicString family() const {
|
| - ASSERT(m_creationType == CreateFontByFamily);
|
| + DCHECK_EQ(m_creationType, CreateFontByFamily);
|
| return m_family;
|
| }
|
| CString filename() const {
|
| - ASSERT(m_creationType == CreateFontByFciIdAndTtcIndex);
|
| + DCHECK_EQ(m_creationType, CreateFontByFciIdAndTtcIndex);
|
| return m_filename;
|
| }
|
| int fontconfigInterfaceId() const {
|
| - ASSERT(m_creationType == CreateFontByFciIdAndTtcIndex);
|
| + DCHECK_EQ(m_creationType, CreateFontByFciIdAndTtcIndex);
|
| return m_fontconfigInterfaceId;
|
| }
|
| int ttcIndex() const {
|
| - ASSERT(m_creationType == CreateFontByFciIdAndTtcIndex);
|
| + DCHECK_EQ(m_creationType, CreateFontByFciIdAndTtcIndex);
|
| return m_ttcIndex;
|
| }
|
|
|
|
|