| 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 ac49c2c2083853925e8c0abe089140044c32265d..d5885e324e2b066143b4310126d04c29c2505e5b 100644
|
| --- a/third_party/WebKit/Source/core/timing/PerformanceObserver.cpp
|
| +++ b/third_party/WebKit/Source/core/timing/PerformanceObserver.cpp
|
| @@ -69,6 +69,13 @@ void PerformanceObserver::disconnect() {
|
| is_registered_ = false;
|
| }
|
|
|
| +void PerformanceObserver::MaybeEnqueuePerformanceEntry(
|
| + PerformanceEntry& entry) {
|
| + if (FilterOptions() & entry.EntryTypeEnum()) {
|
| + EnqueuePerformanceEntry(entry);
|
| + }
|
| +}
|
| +
|
| void PerformanceObserver::EnqueuePerformanceEntry(PerformanceEntry& entry) {
|
| ASSERT(IsMainThread());
|
| performance_entries_.push_back(&entry);
|
|
|