| Index: third_party/WebKit/Source/core/timing/PerformanceBase.cpp
|
| diff --git a/third_party/WebKit/Source/core/timing/PerformanceBase.cpp b/third_party/WebKit/Source/core/timing/PerformanceBase.cpp
|
| index 7d5d08827914d5250028c845f85f189fcfe56467..0c81e4b50b23fba781fbc1233c2eef3ba2689500 100644
|
| --- a/third_party/WebKit/Source/core/timing/PerformanceBase.cpp
|
| +++ b/third_party/WebKit/Source/core/timing/PerformanceBase.cpp
|
| @@ -80,28 +80,6 @@ PerformanceBase::PerformanceBase(double timeOrigin,
|
|
|
| PerformanceBase::~PerformanceBase() {}
|
|
|
| -PerformanceNavigationTiming::NavigationType PerformanceBase::getNavigationType(
|
| - NavigationType type,
|
| - const Document* document) {
|
| - if (document &&
|
| - document->pageVisibilityState() == PageVisibilityStatePrerender) {
|
| - return PerformanceNavigationTiming::NavigationType::Prerender;
|
| - }
|
| - switch (type) {
|
| - case NavigationTypeReload:
|
| - return PerformanceNavigationTiming::NavigationType::Reload;
|
| - case NavigationTypeBackForward:
|
| - return PerformanceNavigationTiming::NavigationType::BackForward;
|
| - case NavigationTypeLinkClicked:
|
| - case NavigationTypeFormSubmitted:
|
| - case NavigationTypeFormResubmitted:
|
| - case NavigationTypeOther:
|
| - return PerformanceNavigationTiming::NavigationType::Navigate;
|
| - }
|
| - NOTREACHED();
|
| - return PerformanceNavigationTiming::NavigationType::Navigate;
|
| -}
|
| -
|
| const AtomicString& PerformanceBase::interfaceName() const {
|
| return EventTargetNames::Performance;
|
| }
|
|
|