| Index: third_party/WebKit/Source/core/frame/History.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/History.cpp b/third_party/WebKit/Source/core/frame/History.cpp
|
| index a1dd7e7bf88eb08eb0807f1148009002701d23ea..05fb85a97b7b7fec8cc96cf0d568f7c41a2c00d5 100644
|
| --- a/third_party/WebKit/Source/core/frame/History.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/History.cpp
|
| @@ -36,6 +36,7 @@
|
| #include "core/loader/NavigationScheduler.h"
|
| #include "core/page/Page.h"
|
| #include "platform/RuntimeEnabledFeatures.h"
|
| +#include "platform/instrumentation/tracing/TraceEvent.h"
|
| #include "platform/weborigin/KURL.h"
|
| #include "platform/weborigin/SecurityOrigin.h"
|
| #include "wtf/text/StringView.h"
|
| @@ -161,6 +162,15 @@ void History::go(ScriptState* scriptState, int delta) {
|
| }
|
| }
|
|
|
| +void History::pushState(PassRefPtr<SerializedScriptValue> data,
|
| + const String& title,
|
| + const String& url,
|
| + ExceptionState& exceptionState) {
|
| + TRACE_EVENT0("blink", "History::pushState");
|
| + stateObjectAdded(std::move(data), title, url, scrollRestorationInternal(),
|
| + FrameLoadTypeStandard, exceptionState);
|
| +}
|
| +
|
| KURL History::urlForState(const String& urlString) {
|
| Document* document = frame()->document();
|
|
|
|
|