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

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

Issue 2636503003: minor name updates based on spec update at: https://wicg.github.io/longtasks (Closed)
Patch Set: update global-interface layout test expectation Created 3 years, 11 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/PerformanceLongTaskTiming.cpp
diff --git a/third_party/WebKit/Source/core/timing/PerformanceLongTaskTiming.cpp b/third_party/WebKit/Source/core/timing/PerformanceLongTaskTiming.cpp
index 63e1658e96aba4ca7e074feab1c23195d4949378..ab0d08e6e21c123f788108c8f3f4454530f1a756 100644
--- a/third_party/WebKit/Source/core/timing/PerformanceLongTaskTiming.cpp
+++ b/third_party/WebKit/Source/core/timing/PerformanceLongTaskTiming.cpp
@@ -39,9 +39,10 @@ PerformanceLongTaskTiming::PerformanceLongTaskTiming(double startTime,
"longtask",
clampToMillisecond(startTime),
clampToMillisecond(endTime)) {
- // Only one possible name ("frame") currently.
+ // Only one possible task type exists currently: "script"
+ // Only one possible container type exists currently: "iframe"
TaskAttributionTiming* attributionEntry = TaskAttributionTiming::create(
- "frame", culpritFrameSrc, culpritFrameId, culpritFrameName);
+ "script", "iframe", culpritFrameSrc, culpritFrameId, culpritFrameName);
m_attribution.push_back(*attributionEntry);
}
« no previous file with comments | « third_party/WebKit/Source/core/timing/Performance.cpp ('k') | third_party/WebKit/Source/core/timing/PerformanceTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698