| Index: third_party/WebKit/Source/core/timing/Performance.cpp
|
| diff --git a/third_party/WebKit/Source/core/timing/Performance.cpp b/third_party/WebKit/Source/core/timing/Performance.cpp
|
| index 6837afa6c4809db9f263fc73de173c5ed24915dd..be8ca988df6026ca8dcce36cc0795cb4392c98e0 100644
|
| --- a/third_party/WebKit/Source/core/timing/Performance.cpp
|
| +++ b/third_party/WebKit/Source/core/timing/Performance.cpp
|
| @@ -106,8 +106,11 @@ Performance::Performance(LocalFrame* frame)
|
| Performance::~Performance() {
|
| }
|
|
|
| -void Performance::contextDestroyed() {
|
| - frame()->performanceMonitor()->unsubscribeAll(this);
|
| +void Performance::contextDestroyed(ExecutionContext* destroyedContext) {
|
| + toDocument(destroyedContext)
|
| + ->frame()
|
| + ->performanceMonitor()
|
| + ->unsubscribeAll(this);
|
| }
|
|
|
| ExecutionContext* Performance::getExecutionContext() const {
|
|
|