| 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 e32c306a1b3a69596060ea0f1d38ce53b2e11a37..2520de25ec42511a71f15e67c40e4d6ff47af07f 100644
|
| --- a/third_party/WebKit/Source/core/timing/Performance.cpp
|
| +++ b/third_party/WebKit/Source/core/timing/Performance.cpp
|
| @@ -46,7 +46,7 @@
|
| #include "platform/loader/fetch/ResourceTimingInfo.h"
|
| #include "platform/RuntimeEnabledFeatures.h"
|
|
|
| -static const double kLongTaskThreshold = 0.05;
|
| +static const double kLongTaskObserverThreshold = 0.05;
|
|
|
| static const char kUnknownAttribution[] = "unknown";
|
| static const char kAmbiguousAttribution[] = "multiple-contexts";
|
| @@ -162,7 +162,7 @@ void Performance::UpdateLongTaskInstrumentation() {
|
| UseCounter::Count(&GetFrame()->LocalFrameRoot(),
|
| WebFeature::kLongTaskObserver);
|
| GetFrame()->GetPerformanceMonitor()->Subscribe(
|
| - PerformanceMonitor::kLongTask, kLongTaskThreshold, this);
|
| + PerformanceMonitor::kLongTask, kLongTaskObserverThreshold, this);
|
| } else {
|
| GetFrame()->GetPerformanceMonitor()->UnsubscribeAll(this);
|
| }
|
|
|