| Index: Source/core/timing/PerformanceTiming.cpp
|
| diff --git a/Source/core/timing/PerformanceTiming.cpp b/Source/core/timing/PerformanceTiming.cpp
|
| index e436f4ad047d6b99376699b1dccb0ca6cad74c0f..60d9b68fe18656143dae9d33e23bf329f838f7bf 100644
|
| --- a/Source/core/timing/PerformanceTiming.cpp
|
| +++ b/Source/core/timing/PerformanceTiming.cpp
|
| @@ -308,18 +308,18 @@ unsigned long long PerformanceTiming::loadEventEnd() const
|
|
|
| DocumentLoader* PerformanceTiming::documentLoader() const
|
| {
|
| - if (!m_frame)
|
| + if (!localFrame())
|
| return nullptr;
|
|
|
| - return m_frame->loader().documentLoader();
|
| + return localFrame()->loader().documentLoader();
|
| }
|
|
|
| const DocumentTiming* PerformanceTiming::documentTiming() const
|
| {
|
| - if (!m_frame)
|
| + if (!localFrame())
|
| return nullptr;
|
|
|
| - Document* document = m_frame->document();
|
| + Document* document = localFrame()->document();
|
| if (!document)
|
| return nullptr;
|
|
|
|
|