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

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

Issue 2343553005: enable / disable Long Task instrumentation based on presence of LongTask observer (Closed)
Patch Set: remove check in dtor Created 4 years, 3 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/PerformanceBase.cpp
diff --git a/third_party/WebKit/Source/core/timing/PerformanceBase.cpp b/third_party/WebKit/Source/core/timing/PerformanceBase.cpp
index 512e6ebd6432ab2f21863f4b9c0c1e70544b9006..bba74a2cf1a3db8d94b74fa632b9d05f0e220692 100644
--- a/third_party/WebKit/Source/core/timing/PerformanceBase.cpp
+++ b/third_party/WebKit/Source/core/timing/PerformanceBase.cpp
@@ -430,7 +430,7 @@ void PerformanceBase::notifyObserversOfEntry(PerformanceEntry& entry)
}
}
-bool PerformanceBase::hasObserverFor(PerformanceEntry::EntryType filterType)
+bool PerformanceBase::hasObserverFor(PerformanceEntry::EntryType filterType) const
{
return m_observerFilterOptions & filterType;
}

Powered by Google App Engine
This is Rietveld 408576698