Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(227)

Unified Diff: third_party/WebKit/Source/core/timing/Performance.cpp

Issue 2685183002: Flip flag for Long Tasks to stable (Closed)
Patch Set: undo change to webview test (likely not needed) Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 b5a7447cdce29c10697f4262a00d1ffec3e74041..20e24d20693b5bd6a4eb7f10a0cc1b28e6d5309b 100644
--- a/third_party/WebKit/Source/core/timing/Performance.cpp
+++ b/third_party/WebKit/Source/core/timing/Performance.cpp
@@ -142,8 +142,7 @@ PerformanceTiming* Performance::timing() const {
void Performance::updateLongTaskInstrumentation() {
DCHECK(frame());
- if (!frame()->document() ||
- !OriginTrials::longTaskObserverEnabled(frame()->document()))
+ if (!frame()->document())
return;
if (hasObserverFor(PerformanceEntry::LongTask)) {

Powered by Google App Engine
This is Rietveld 408576698