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

Unified Diff: Source/core/frame/UseCounter.h

Issue 166173002: Count Promise constructor callings. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 10 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: Source/core/frame/UseCounter.h
diff --git a/Source/core/frame/UseCounter.h b/Source/core/frame/UseCounter.h
index 082ea065bfe5452c14f2af347da34af71646d599..6fdcc02e3068978673236b21883b98fd0c1e985d 100644
--- a/Source/core/frame/UseCounter.h
+++ b/Source/core/frame/UseCounter.h
@@ -322,6 +322,10 @@ public:
WorkerSubjectToCSP,
WorkerAllowedByChildBlockedByScript,
HTMLMediaElementControllerNotNull,
+ PromiseConstructor,
+ PromiseCast,
+ PromiseReject,
+ PromiseResolve,
// Add new features immediately above this line. Don't change assigned
// numbers of any item, and don't reuse removed slots.
NumberOfFeatures, // This enum value must be last.

Powered by Google App Engine
This is Rietveld 408576698