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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.h

Issue 2386403002: Pass DOMWinow to PerformanceLongTaskTiming for attribution (Closed)
Patch Set: Address review comments Created 4 years, 2 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/inspector/InspectorWebPerfAgent.h
diff --git a/third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.h b/third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.h
index 212884f7195e85f99aae4402b7ff907ca8028ef7..e206758821d2b1b0b0e69a9337171eca0368556d 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.h
+++ b/third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.h
@@ -12,6 +12,7 @@
namespace blink {
+class DOMWindow;
class ExecutionContext;
class Frame;
class LocalFrame;
@@ -48,9 +49,9 @@ class CORE_EXPORT InspectorWebPerfAgent final
private:
bool m_enabled;
- String sanitizedLongTaskName(
+ std::pair<String, DOMWindow*> sanitizedAttribution(
const HeapHashSet<Member<Location>>& frameContextLocations,
- Frame* rootFrame);
+ Frame* observerFrame);
Member<InspectedFrames> m_inspectedFrames;
HeapHashSet<Member<Location>> m_frameContextLocations;

Powered by Google App Engine
This is Rietveld 408576698