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

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

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.h
diff --git a/third_party/WebKit/Source/core/timing/PerformanceEntry.h b/third_party/WebKit/Source/core/timing/PerformanceEntry.h
index 3abb644dda4189d496bf00ce65e6020d9086a512..8933442cf17df1f7331e3971ec2641e0d47d07fb 100644
--- a/third_party/WebKit/Source/core/timing/PerformanceEntry.h
+++ b/third_party/WebKit/Source/core/timing/PerformanceEntry.h
@@ -43,8 +43,8 @@ class ScriptState;
class ScriptValue;
class V8ObjectBuilder;
-using PerformanceEntryType = unsigned char;
-using PerformanceEntryTypeMask = unsigned char;
+using PerformanceEntryType = unsigned short;
panicker 2017/01/06 23:55:31 prefer unsigned long so we don't have to worry abo
sunjian 2017/01/07 00:19:34 Done.
+using PerformanceEntryTypeMask = unsigned short;
class CORE_EXPORT PerformanceEntry
: public GarbageCollectedFinalized<PerformanceEntry>,
@@ -64,6 +64,7 @@ class CORE_EXPORT PerformanceEntry
Resource = 1 << 5,
LongTask = 1 << 6,
TaskAttribution = 1 << 7,
+ Paint = 1 << 8
};
String name() const;
« no previous file with comments | « third_party/WebKit/Source/core/timing/PerformanceBase.cpp ('k') | third_party/WebKit/Source/core/timing/PerformanceEntry.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698