| Index: third_party/WebKit/Source/core/layout/LayoutTextFragment.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutTextFragment.cpp b/third_party/WebKit/Source/core/layout/LayoutTextFragment.cpp
|
| index 3f11242b54cd0d467d3c2a522b0994f63b62be22..787b308ee18bb5db53a48f483892b94dc06581b6 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutTextFragment.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutTextFragment.cpp
|
| @@ -48,7 +48,7 @@ LayoutTextFragment::LayoutTextFragment(Node* node, StringImpl* str)
|
| : LayoutTextFragment(node, str, 0, str ? str->length() : 0) {}
|
|
|
| LayoutTextFragment::~LayoutTextFragment() {
|
| - ASSERT(!m_firstLetterPseudoElement);
|
| + DCHECK(!m_firstLetterPseudoElement);
|
| }
|
|
|
| LayoutTextFragment* LayoutTextFragment::createAnonymous(PseudoElement& pseudo,
|
| @@ -102,7 +102,7 @@ void LayoutTextFragment::setText(PassRefPtr<StringImpl> text, bool force) {
|
| // first letter pseudo element to reattach itself so it can re-calculate the
|
| // correct first-letter settings.
|
| if (isRemainingTextLayoutObject()) {
|
| - ASSERT(firstLetterPseudoElement());
|
| + DCHECK(firstLetterPseudoElement());
|
| firstLetterPseudoElement()->updateTextFragments();
|
| }
|
| }
|
|
|