| Index: third_party/WebKit/Source/core/timing/PerformanceObserver.cpp
|
| diff --git a/third_party/WebKit/Source/core/timing/PerformanceObserver.cpp b/third_party/WebKit/Source/core/timing/PerformanceObserver.cpp
|
| index 920a8d5ce3e84a6acd3a792946ff2c0fbc6d8802..47aaa0f7da2f1e7b58d4fed95d7165dfb294c30c 100644
|
| --- a/third_party/WebKit/Source/core/timing/PerformanceObserver.cpp
|
| +++ b/third_party/WebKit/Source/core/timing/PerformanceObserver.cpp
|
| @@ -57,9 +57,9 @@ void PerformanceObserver::observe(const PerformanceObserverInit& observerInit, E
|
|
|
| void PerformanceObserver::disconnect()
|
| {
|
| - if (m_performance)
|
| + if (m_performance) {
|
| m_performance->unregisterPerformanceObserver(*this);
|
| -
|
| + }
|
| m_performanceEntries.clear();
|
| m_isRegistered = false;
|
| }
|
|
|