| 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());
|
| }
|
|
|