| Index: Source/core/events/PopStateEvent.h
|
| diff --git a/Source/core/events/PopStateEvent.h b/Source/core/events/PopStateEvent.h
|
| index 19f5f88d1285b5088833118e153af465bacc9b82..6492ffd3f79e87a9187398c3b769a8d3445ffe13 100644
|
| --- a/Source/core/events/PopStateEvent.h
|
| +++ b/Source/core/events/PopStateEvent.h
|
| @@ -28,6 +28,7 @@
|
| #define PopStateEvent_h
|
|
|
| #include "core/events/Event.h"
|
| +#include "heap/Handle.h"
|
|
|
| namespace WebCore {
|
|
|
| @@ -40,7 +41,7 @@ class PopStateEvent FINAL : public Event {
|
| public:
|
| virtual ~PopStateEvent();
|
| static PassRefPtr<PopStateEvent> create();
|
| - static PassRefPtr<PopStateEvent> create(PassRefPtr<SerializedScriptValue>, PassRefPtr<History>);
|
| + static PassRefPtr<PopStateEvent> create(PassRefPtr<SerializedScriptValue>, PassRefPtrWillBeRawPtr<History>);
|
| static PassRefPtr<PopStateEvent> create(const AtomicString&, const PopStateEventInit&);
|
|
|
| SerializedScriptValue* serializedState() const { return m_serializedState.get(); }
|
| @@ -58,10 +59,10 @@ public:
|
| private:
|
| PopStateEvent();
|
| PopStateEvent(const AtomicString&, const PopStateEventInit&);
|
| - explicit PopStateEvent(PassRefPtr<SerializedScriptValue>, PassRefPtr<History>);
|
| + PopStateEvent(PassRefPtr<SerializedScriptValue>, PassRefPtrWillBeRawPtr<History>);
|
|
|
| RefPtr<SerializedScriptValue> m_serializedState;
|
| - RefPtr<History> m_history;
|
| + RefPtrWillBePersistent<History> m_history;
|
| };
|
|
|
| } // namespace WebCore
|
|
|