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

Unified Diff: third_party/WebKit/Source/core/dom/custom/CustomElementRegistry.cpp

Issue 2459443004: Add tracing to custom elements operations (Closed)
Patch Set: Bring patch to head. Created 4 years, 2 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
« no previous file with comments | « third_party/WebKit/Source/core/dom/custom/CustomElementReactionQueue.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/custom/CustomElementRegistry.cpp
diff --git a/third_party/WebKit/Source/core/dom/custom/CustomElementRegistry.cpp b/third_party/WebKit/Source/core/dom/custom/CustomElementRegistry.cpp
index f500fb450624f32344001a292cbb9db57cf147ec..66919fd57022330f1273dcdb54ce5fa035f86615 100644
--- a/third_party/WebKit/Source/core/dom/custom/CustomElementRegistry.cpp
+++ b/third_party/WebKit/Source/core/dom/custom/CustomElementRegistry.cpp
@@ -22,6 +22,7 @@
#include "core/dom/custom/CustomElementUpgradeSorter.h"
#include "core/dom/custom/V0CustomElementRegistrationContext.h"
#include "core/frame/LocalDOMWindow.h"
+#include "platform/tracing/TraceEvent.h"
#include "wtf/Allocator.h"
namespace blink {
@@ -104,6 +105,7 @@ void CustomElementRegistry::define(const AtomicString& name,
CustomElementDefinitionBuilder& builder,
const ElementDefinitionOptions& options,
ExceptionState& exceptionState) {
+ TRACE_EVENT1("blink", "CustomElementRegistry::define", "name", name.utf8());
if (!builder.checkConstructorIntrinsics())
return;
« no previous file with comments | « third_party/WebKit/Source/core/dom/custom/CustomElementReactionQueue.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698