| Index: third_party/WebKit/Source/core/editing/Editor.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/Editor.cpp b/third_party/WebKit/Source/core/editing/Editor.cpp
|
| index 55c7ddb7b33a7776cfd69cb7bbe8f4288b162a72..b42ad692f1784f4a4585f6fd97d68f8d19a3dc8d 100644
|
| --- a/third_party/WebKit/Source/core/editing/Editor.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/Editor.cpp
|
| @@ -1307,6 +1307,8 @@ void Editor::setMarkedTextMatchesAreHighlighted(bool flag)
|
|
|
| void Editor::respondToChangedSelection(const VisibleSelection& oldSelection, FrameSelection::SetSelectionOptions options)
|
| {
|
| + if (!frame().document()->isActive())
|
| + return;
|
| spellChecker().respondToChangedSelection(oldSelection, options);
|
| frame().inputMethodController().cancelCompositionIfSelectionIsInvalid();
|
| notifyComponentsOnChangedSelection(oldSelection, options);
|
|
|