| 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 d1729fc0a79fe752484ab1e0caf122636c491bf3..d46265bf24e7f54f0679956f7daa7195982f5090 100644
|
| --- a/third_party/WebKit/Source/core/frame/History.h
|
| +++ b/third_party/WebKit/Source/core/frame/History.h
|
| @@ -60,12 +60,12 @@ public:
|
|
|
| void pushState(PassRefPtr<SerializedScriptValue> data, const String& title, const String& url, ExceptionState& exceptionState)
|
| {
|
| - stateObjectAdded(data, title, url, scrollRestorationInternal(), FrameLoadTypeStandard, exceptionState);
|
| + stateObjectAdded(std::move(data), title, url, scrollRestorationInternal(), FrameLoadTypeStandard, exceptionState);
|
| }
|
|
|
| void replaceState(PassRefPtr<SerializedScriptValue> data, const String& title, const String& url, ExceptionState& exceptionState)
|
| {
|
| - stateObjectAdded(data, title, url, scrollRestorationInternal(), FrameLoadTypeReplaceCurrentItem, exceptionState);
|
| + stateObjectAdded(std::move(data), title, url, scrollRestorationInternal(), FrameLoadTypeReplaceCurrentItem, exceptionState);
|
| }
|
|
|
| void setScrollRestoration(const String& value);
|
|
|