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

Unified Diff: third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp

Issue 2290733002: Add new UseCounter metric (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make diff prettier Created 4 years, 3 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/workers/WorkerGlobalScope.cpp
diff --git a/third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp b/third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp
index ba9f02c4601f906c33c04cf771a1238ea6ef7a84..bcf5f54ea660cf42026a3fea66e81703fcc25428 100644
--- a/third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp
+++ b/third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp
@@ -90,7 +90,7 @@ void WorkerGlobalScope::countDeprecation(UseCounter::Feature feature) const
// (http://crbug.com/376039)
DCHECK(isSharedWorkerGlobalScope() || isServiceWorkerGlobalScope() || isCompositorWorkerGlobalScope());
- DCHECK(feature != UseCounter::PageDestruction);
+ DCHECK(feature != UseCounter::OBSOLETE_PageDestruction);
DCHECK(feature < UseCounter::NumberOfFeatures);
// For each deprecated feature, send console message at most once

Powered by Google App Engine
This is Rietveld 408576698