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

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

Issue 2528513003: first-paint and first-contentful paint (Closed)
Patch Set: updated PerformanceEntryType size 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/PerformanceEntry.cpp
diff --git a/third_party/WebKit/Source/core/timing/PerformanceEntry.cpp b/third_party/WebKit/Source/core/timing/PerformanceEntry.cpp
index e5779fac0c398b53f4e6acf8c6ecc88b5e026c36..b0ef7f4263661466c8ab331ed3f4743f39095b00 100644
--- a/third_party/WebKit/Source/core/timing/PerformanceEntry.cpp
+++ b/third_party/WebKit/Source/core/timing/PerformanceEntry.cpp
@@ -81,6 +81,8 @@ PerformanceEntry::EntryType PerformanceEntry::toEntryTypeEnum(
return Navigation;
if (entryType == "taskattribution")
return TaskAttribution;
+ if (entryType == "paint")
+ return Paint;
return Invalid;
}

Powered by Google App Engine
This is Rietveld 408576698