| Index: third_party/WebKit/Source/core/timing/PerformanceNavigation.cpp
|
| diff --git a/third_party/WebKit/Source/core/timing/PerformanceNavigation.cpp b/third_party/WebKit/Source/core/timing/PerformanceNavigation.cpp
|
| index ba2aca5a5fc392056489bf990d58a6975b593d77..1fd51f9beeb897d9736d597c350dbc1133175d97 100644
|
| --- a/third_party/WebKit/Source/core/timing/PerformanceNavigation.cpp
|
| +++ b/third_party/WebKit/Source/core/timing/PerformanceNavigation.cpp
|
| @@ -44,19 +44,19 @@ PerformanceNavigation::PerformanceNavigation(LocalFrame* frame)
|
| unsigned short PerformanceNavigation::type() const
|
| {
|
| if (!m_frame)
|
| - return TYPE_NAVIGATE;
|
| + return kTypeNavigate;
|
|
|
| DocumentLoader* documentLoader = m_frame->loader().documentLoader();
|
| if (!documentLoader)
|
| - return TYPE_NAVIGATE;
|
| + return kTypeNavigate;
|
|
|
| switch (documentLoader->getNavigationType()) {
|
| case NavigationTypeReload:
|
| - return TYPE_RELOAD;
|
| + return kTypeReload;
|
| case NavigationTypeBackForward:
|
| - return TYPE_BACK_FORWARD;
|
| + return kTypeBackForward;
|
| default:
|
| - return TYPE_NAVIGATE;
|
| + return kTypeNavigate;
|
| }
|
| }
|
|
|
|
|