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

Unified Diff: Source/core/events/PopStateEvent.h

Issue 201083004: Oilpan: move History to the oilpan heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Drop redundant 'explicit' Created 6 years, 9 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 | « no previous file | Source/core/events/PopStateEvent.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | Source/core/events/PopStateEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698