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

Unified Diff: Source/web/WebDataSourceImpl.cpp

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 | « Source/core/loader/NavigationAction.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebDataSourceImpl.cpp
diff --git a/Source/web/WebDataSourceImpl.cpp b/Source/web/WebDataSourceImpl.cpp
index 93be359dbb62eaa2a9faa68ea9932e5abc64372f..de7b4b3176d4c537d73a2edf18227b0d9b847d30 100644
--- a/Source/web/WebDataSourceImpl.cpp
+++ b/Source/web/WebDataSourceImpl.cpp
@@ -106,11 +106,8 @@ WebNavigationType WebDataSourceImpl::navigationType() const
double WebDataSourceImpl::triggeringEventTime() const
{
- if (!triggeringAction().event())
- return 0.0;
-
// DOMTimeStamp uses units of milliseconds.
- return convertDOMTimeStampToSeconds(triggeringAction().event()->timeStamp());
+ return convertDOMTimeStampToSeconds(triggeringAction().eventTimeStamp());
}
WebDataSource::ExtraData* WebDataSourceImpl::extraData() const
« no previous file with comments | « Source/core/loader/NavigationAction.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698