| Index: sky/engine/core/editing/htmlediting.cpp
|
| diff --git a/sky/engine/core/editing/htmlediting.cpp b/sky/engine/core/editing/htmlediting.cpp
|
| index 46a31fb8f406ba93b05b24c3003a06bddf0acb84..0734dce8092784f530e48e910568c0866cc4ad87 100644
|
| --- a/sky/engine/core/editing/htmlediting.cpp
|
| +++ b/sky/engine/core/editing/htmlediting.cpp
|
| @@ -756,7 +756,7 @@ bool isMailHTMLBlockquoteElement(const Node* node)
|
| int caretMinOffset(const Node* n)
|
| {
|
| RenderObject* r = n->renderer();
|
| - ASSERT(!n->isCharacterDataNode() || !r || r->isText()); // FIXME: This was a runtime check that seemingly couldn't fail; changed it to an assertion for now.
|
| + ASSERT(!n->isTextNode() || !r || r->isText()); // FIXME: This was a runtime check that seemingly couldn't fail; changed it to an assertion for now.
|
| return r ? r->caretMinOffset() : 0;
|
| }
|
|
|
|
|