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

Unified Diff: third_party/WebKit/Source/web/WebPerformance.cpp

Issue 2655143002: Drop replacesCurrentHistoryItem, NavigationType (Closed)
Patch Set: More compile fixes Created 3 years, 11 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: third_party/WebKit/Source/web/WebPerformance.cpp
diff --git a/third_party/WebKit/Source/web/WebPerformance.cpp b/third_party/WebKit/Source/web/WebPerformance.cpp
index 6336020b6c0cc40d8eac4bede20db368058896fd..a6e72f010ca2960fd2becea4baf0804d1e03fa34 100644
--- a/third_party/WebKit/Source/web/WebPerformance.cpp
+++ b/third_party/WebKit/Source/web/WebPerformance.cpp
@@ -46,21 +46,6 @@ void WebPerformance::assign(const WebPerformance& other) {
m_private = other.m_private;
}
-WebNavigationType WebPerformance::navigationType() const {
- switch (m_private->navigation()->type()) {
- case PerformanceNavigation::kTypeNavigate:
- return WebNavigationTypeOther;
- case PerformanceNavigation::kTypeReload:
- return WebNavigationTypeReload;
- case PerformanceNavigation::kTypeBackForward:
- return WebNavigationTypeBackForward;
- case PerformanceNavigation::kTypeReserved:
- return WebNavigationTypeOther;
- }
- NOTREACHED();
- return WebNavigationTypeOther;
-}
-
double WebPerformance::navigationStart() const {
return millisecondsToSeconds(m_private->timing()->navigationStart());
}
« no previous file with comments | « third_party/WebKit/Source/web/WebLocalFrameImpl.cpp ('k') | third_party/WebKit/Source/web/WebSharedWorkerImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698