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

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

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/PerformanceBase.cpp
diff --git a/third_party/WebKit/Source/core/timing/PerformanceBase.cpp b/third_party/WebKit/Source/core/timing/PerformanceBase.cpp
index 6ba9a2000253cb958586e3e9a673c46ae36cae33..dd08831fa87d0ae26bf6dc33f108063dcacedb62 100644
--- a/third_party/WebKit/Source/core/timing/PerformanceBase.cpp
+++ b/third_party/WebKit/Source/core/timing/PerformanceBase.cpp
@@ -320,12 +320,15 @@ bool PerformanceBase::isFrameTimingBufferFull() {
void PerformanceBase::addLongTaskTiming(double startTime,
double endTime,
const String& name,
- DOMWindow* culpritWindow) {
+ const String& culpritFrameSrc,
+ const String& culpritFrameId,
+ const String& culpritFrameName) {
if (!hasObserverFor(PerformanceEntry::LongTask))
return;
PerformanceEntry* entry = PerformanceLongTaskTiming::create(
monotonicTimeToDOMHighResTimeStampInMillis(startTime),
- monotonicTimeToDOMHighResTimeStampInMillis(endTime), name, culpritWindow);
+ monotonicTimeToDOMHighResTimeStampInMillis(endTime), name,
+ culpritFrameSrc, culpritFrameId, culpritFrameName);
notifyObserversOfEntry(*entry);
}
« no previous file with comments | « third_party/WebKit/Source/core/timing/PerformanceBase.h ('k') | third_party/WebKit/Source/core/timing/PerformanceBaseTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698