| Index: third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| index 259c12ece4c8f34f3965885f40c6ba3bef2798de..e23523445ac0b163f50b90aa006eacb939dc761a 100644
|
| --- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| @@ -1073,7 +1073,7 @@ void WebLocalFrameImpl::requestTextChecking(const WebElement& webElement)
|
| // see http://crbug.com/590369 for more details.
|
| frame()->document()->updateStyleAndLayoutIgnorePendingStylesheets();
|
|
|
| - DocumentLifecycle::DisallowTransitionScope(frame()->document()->lifecycle());
|
| + DocumentLifecycle::DisallowTransitionScope disallowTransition(frame()->document()->lifecycle());
|
|
|
| frame()->spellChecker().requestTextChecking(*webElement.constUnwrap<Element>());
|
| }
|
| @@ -1157,7 +1157,7 @@ void WebLocalFrameImpl::selectRange(const WebRange& webRange)
|
| // see http://crbug.com/590369 for more details.
|
| frame()->document()->updateStyleAndLayoutIgnorePendingStylesheets();
|
|
|
| - DocumentLifecycle::DisallowTransitionScope(frame()->document()->lifecycle());
|
| + DocumentLifecycle::DisallowTransitionScope disallowTransition(frame()->document()->lifecycle());
|
|
|
| frame()->selection().setSelectedRange(webRange.createEphemeralRange(frame()), VP_DEFAULT_AFFINITY, SelectionDirectionalMode::NonDirectional, NotUserTriggered);
|
| }
|
| @@ -1168,7 +1168,7 @@ WebString WebLocalFrameImpl::rangeAsText(const WebRange& webRange)
|
| // see http://crbug.com/590369 for more details.
|
| frame()->document()->updateStyleAndLayoutIgnorePendingStylesheets();
|
|
|
| - DocumentLifecycle::DisallowTransitionScope(frame()->document()->lifecycle());
|
| + DocumentLifecycle::DisallowTransitionScope disallowTransition(frame()->document()->lifecycle());
|
|
|
| return plainText(webRange.createEphemeralRange(frame()), TextIteratorEmitsObjectReplacementCharacter);
|
| }
|
|
|