| Index: third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp b/third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp
|
| index 270b58da73fdffcc85911256061fb14a25bbc8bf..027696a4695704a32d8da47d893b47b09e518d03 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp
|
| @@ -694,10 +694,6 @@ static bool executeFindString(LocalFrame& frame,
|
| Event*,
|
| EditorCommandSource,
|
| const String& value) {
|
| - DCHECK(frame.document());
|
| - // Up-to-date, clean tree is required for finding text in page, since it relies
|
| - // on TextIterator to look over the text.
|
| - frame.document()->updateStyleAndLayoutIgnorePendingStylesheets();
|
| return frame.editor().findString(value, CaseInsensitive | WrapAround);
|
| }
|
|
|
|
|