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

Unified Diff: third_party/WebKit/Source/core/timing/PerformanceLongTaskTiming.h

Issue 2515993002: Replace DOMWindow with iframe attrs: src, id, name (Closed)
Patch Set: don't truncate ID Created 4 years, 1 month 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/PerformanceLongTaskTiming.h
diff --git a/third_party/WebKit/Source/core/timing/PerformanceLongTaskTiming.h b/third_party/WebKit/Source/core/timing/PerformanceLongTaskTiming.h
index de6c2bc3615c99ba9875ce085ecdb4cb4d4f36c6..fdda50f219402b2dd8e74f36ce9562f450da12ad 100644
--- a/third_party/WebKit/Source/core/timing/PerformanceLongTaskTiming.h
+++ b/third_party/WebKit/Source/core/timing/PerformanceLongTaskTiming.h
@@ -21,12 +21,17 @@ class PerformanceLongTaskTiming final : public PerformanceEntry {
static PerformanceLongTaskTiming* create(double startTime,
double endTime,
String name,
- DOMWindow* culpritWindow) {
+ String culpritFrameSrc,
+ String culpritFrameId,
+ String culpritFrameName) {
return new PerformanceLongTaskTiming(startTime, endTime, name,
- culpritWindow);
+ culpritFrameSrc, culpritFrameId,
+ culpritFrameName);
}
- DOMWindow* culpritWindow() const;
+ String culpritFrameSrc() const;
+ String culpritFrameId() const;
+ String culpritFrameName() const;
DECLARE_VIRTUAL_TRACE();
@@ -34,10 +39,14 @@ class PerformanceLongTaskTiming final : public PerformanceEntry {
PerformanceLongTaskTiming(double startTime,
double endTime,
String name,
- DOMWindow* culpritWindow);
+ String culpritFrameSrc,
+ String culpritFrameId,
+ String culpritFrameName);
~PerformanceLongTaskTiming() override;
- Member<DOMWindow> m_culpritWindow;
+ String m_culpritFrameSrc;
+ String m_culpritFrameId;
+ String m_culpritFrameName;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698