| Index: Source/modules/presentation/Presentation.cpp
|
| diff --git a/Source/modules/presentation/Presentation.cpp b/Source/modules/presentation/Presentation.cpp
|
| index f14189b86ca939f69fd9e13b8f2af96354430f65..f08cb0781a5e686cce3aca13f433ceb77faa7b8c 100644
|
| --- a/Source/modules/presentation/Presentation.cpp
|
| +++ b/Source/modules/presentation/Presentation.cpp
|
| @@ -44,9 +44,9 @@ const AtomicString& Presentation::interfaceName() const
|
|
|
| ExecutionContext* Presentation::executionContext() const
|
| {
|
| - if (!frame())
|
| + if (!localFrame())
|
| return nullptr;
|
| - return frame()->document();
|
| + return localFrame()->document();
|
| }
|
|
|
| void Presentation::trace(Visitor* visitor)
|
| @@ -131,9 +131,9 @@ bool Presentation::isAvailableChangeWatched() const
|
|
|
| PresentationController* Presentation::presentationController()
|
| {
|
| - if (!frame())
|
| + if (!localFrame())
|
| return nullptr;
|
| - return PresentationController::from(*frame());
|
| + return PresentationController::from(*localFrame());
|
| }
|
|
|
| } // namespace blink
|
|
|