| Index: Source/core/dom/ScopedWindowFocusAllowedIndicator.h
|
| diff --git a/Source/core/dom/ScopedWindowFocusAllowedIndicator.h b/Source/core/dom/ScopedWindowFocusAllowedIndicator.h
|
| index c6f9ee31b31ef2942987cccd31db72d40385826c..f4a8743a28d08448a40e48e43bd727821031e631 100644
|
| --- a/Source/core/dom/ScopedWindowFocusAllowedIndicator.h
|
| +++ b/Source/core/dom/ScopedWindowFocusAllowedIndicator.h
|
| @@ -31,13 +31,13 @@ private:
|
| : ContextLifecycleObserver(executionContext)
|
| {
|
| if (executionContext)
|
| - executionContext->allowWindowFocus();
|
| + executionContext->allowWindowInteraction();
|
| }
|
|
|
| void dispose()
|
| {
|
| if (executionContext())
|
| - executionContext()->consumeWindowFocus();
|
| + executionContext()->consumeWindowInteraction();
|
| }
|
|
|
| void trace(Visitor* visitor)
|
| @@ -49,7 +49,7 @@ private:
|
| // In Oilpan, destructors are not allowed to touch other on-heap objects.
|
| // The Observer indirection is needed to keep
|
| // ScopedWindowFocusAllowedIndicator off-heap and thus allows its destructor
|
| - // to call executionContext()->consumeWindowFocus().
|
| + // to call executionContext()->consumeWindowInteraction().
|
| OwnPtrWillBePersistent<Observer> m_observer;
|
| };
|
|
|
|
|