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

Unified Diff: tracing/tracing/value/diagnostics/ownership.html

Issue 2914163002: Check that Diagnostic subclasses are registered in presubmit. (Closed)
Patch Set: Created 3 years, 7 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: tracing/tracing/value/diagnostics/ownership.html
diff --git a/tracing/tracing/value/diagnostics/ownership.html b/tracing/tracing/value/diagnostics/ownership.html
index b34172861ec481cf3f3a0e93e8f7d9033c9b631e..d2731dce7de8401b6974a4f2c7530e2899b88b4a 100644
--- a/tracing/tracing/value/diagnostics/ownership.html
+++ b/tracing/tracing/value/diagnostics/ownership.html
@@ -48,6 +48,10 @@ tr.exportTo('tr.v.d.', function() {
}
}
- return { Ownership };
+ tr.v.d.Diagnostic.register(Ownership);
+
+ return {
+ Ownership,
+ };
});
</script>

Powered by Google App Engine
This is Rietveld 408576698