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

Unified Diff: Source/core/loader/NavigationAction.h

Issue 206453010: NavigationAction should not retain Event. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 | « LayoutTests/resources/leak-check.js ('k') | Source/core/loader/NavigationAction.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/loader/NavigationAction.h
diff --git a/Source/core/loader/NavigationAction.h b/Source/core/loader/NavigationAction.h
index 966aa7b1c522dc15a1d8ed2c1452897aa0ff3bee..54e6bd7ea23a7293c8b0cf9a85c5153ecbae551e 100644
--- a/Source/core/loader/NavigationAction.h
+++ b/Source/core/loader/NavigationAction.h
@@ -29,6 +29,7 @@
#ifndef NavigationAction_h
#define NavigationAction_h
+#include "core/dom/DOMTimeStamp.h"
#include "core/events/Event.h"
#include "core/loader/FrameLoaderTypes.h"
#include "core/loader/NavigationPolicy.h"
@@ -45,14 +46,14 @@ namespace WebCore {
const ResourceRequest& resourceRequest() const { return m_resourceRequest; }
NavigationType type() const { return m_type; }
- Event* event() const { return m_event.get(); }
+ DOMTimeStamp eventTimeStamp() const { return m_eventTimeStamp; }
NavigationPolicy policy() const { return m_policy; }
bool shouldOpenInNewWindow() const { return m_policy != NavigationPolicyCurrentTab; }
private:
ResourceRequest m_resourceRequest;
NavigationType m_type;
- RefPtr<Event> m_event;
+ DOMTimeStamp m_eventTimeStamp;
NavigationPolicy m_policy;
};
« no previous file with comments | « LayoutTests/resources/leak-check.js ('k') | Source/core/loader/NavigationAction.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698