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

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

Issue 17063016: Remove leak of objects between isolated worlds on custom events. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Large set of fixes from adamk and haraken. Created 7 years, 6 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
Index: Source/core/dom/PopStateEvent.h
diff --git a/Source/core/dom/PopStateEvent.h b/Source/core/dom/PopStateEvent.h
index 1c59d0f302dd0686f8adb64c788c2cfc4dbecb15..7176e81461e429fee51be1581acbb11dfda1f495 100644
--- a/Source/core/dom/PopStateEvent.h
+++ b/Source/core/dom/PopStateEvent.h
@@ -27,15 +27,12 @@
#ifndef PopStateEvent_h
#define PopStateEvent_h
-#include "bindings/v8/ScriptValue.h"
#include "core/dom/Event.h"
namespace WebCore {
struct PopStateEventInit : public EventInit {
PopStateEventInit();
-
- ScriptValue state;
};
class History;
@@ -49,7 +46,6 @@ public:
static PassRefPtr<PopStateEvent> create(const AtomicString&, const PopStateEventInit&);
PassRefPtr<SerializedScriptValue> serializedState() const { return m_serializedState; }
- const ScriptValue& state() const { return m_state; }
History* history() const { return m_history.get(); }
virtual const AtomicString& interfaceName() const;
@@ -59,7 +55,6 @@ private:
PopStateEvent(const AtomicString&, const PopStateEventInit&);
explicit PopStateEvent(PassRefPtr<SerializedScriptValue>, PassRefPtr<History>);
- ScriptValue m_state;
RefPtr<SerializedScriptValue> m_serializedState;
RefPtr<History> m_history;
};

Powered by Google App Engine
This is Rietveld 408576698