Chromium Code Reviews| Index: third_party/WebKit/Source/core/frame/History.h |
| diff --git a/third_party/WebKit/Source/core/frame/History.h b/third_party/WebKit/Source/core/frame/History.h |
| index 4d3ab7d5e410eceb70b6475aabb9f9b61bf58f01..708b9b7e09a40f1ef7efae83dd1f0132d217280c 100644 |
| --- a/third_party/WebKit/Source/core/frame/History.h |
| +++ b/third_party/WebKit/Source/core/frame/History.h |
| @@ -32,6 +32,7 @@ |
| #include "core/dom/ContextLifecycleObserver.h" |
| #include "core/loader/FrameLoaderTypes.h" |
| #include "platform/heap/Handle.h" |
| +#include "platform/instrumentation/tracing/TraceEvent.h" |
| #include "wtf/Forward.h" |
| namespace blink { |
| @@ -63,6 +64,7 @@ class CORE_EXPORT History final : public GarbageCollectedFinalized<History>, |
| const String& title, |
| const String& url, |
| ExceptionState& exceptionState) { |
| + TRACE_EVENT0("spa:navigation", "History::pushState"); |
|
tdresser
2017/01/26 20:01:53
I think we can just use "blink" as the category.
L
|
| stateObjectAdded(std::move(data), title, url, scrollRestorationInternal(), |
| FrameLoadTypeStandard, exceptionState); |
| } |