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

Unified Diff: Source/web/WebDataSourceImpl.cpp

Issue 790383002: Remove NavigationAction (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years 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/web/WebDataSourceImpl.cpp
diff --git a/Source/web/WebDataSourceImpl.cpp b/Source/web/WebDataSourceImpl.cpp
index 7edc186d8ca984c52d36c9d7e14bd5cc2bd3b29f..92b4cc92dbdeec7fb61d316cab28f7c30d9a6036 100644
--- a/Source/web/WebDataSourceImpl.cpp
+++ b/Source/web/WebDataSourceImpl.cpp
@@ -99,13 +99,7 @@ bool WebDataSourceImpl::replacesCurrentHistoryItem() const
WebNavigationType WebDataSourceImpl::navigationType() const
{
- return toWebNavigationType(triggeringAction().type());
-}
-
-double WebDataSourceImpl::triggeringEventTime() const
-{
- // DOMTimeStamp uses units of milliseconds.
- return convertDOMTimeStampToSeconds(triggeringAction().eventTimeStamp());
+ return toWebNavigationType(DocumentLoader::navigationType());
}
WebDataSource::ExtraData* WebDataSourceImpl::extraData() const

Powered by Google App Engine
This is Rietveld 408576698