summaryrefslogtreecommitdiffstats
path: root/WebCore/page/PerformanceNavigation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/page/PerformanceNavigation.cpp')
-rw-r--r--WebCore/page/PerformanceNavigation.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/WebCore/page/PerformanceNavigation.cpp b/WebCore/page/PerformanceNavigation.cpp
index d570561..597af20 100644
--- a/WebCore/page/PerformanceNavigation.cpp
+++ b/WebCore/page/PerformanceNavigation.cpp
@@ -57,20 +57,20 @@ void PerformanceNavigation::disconnectFrame()
unsigned short PerformanceNavigation::type() const
{
if (!m_frame)
- return NAVIGATE;
+ return TYPE_NAVIGATE;
DocumentLoader* documentLoader = m_frame->loader()->documentLoader();
if (!documentLoader)
- return NAVIGATE;
+ return TYPE_NAVIGATE;
WebCore::NavigationType navigationType = documentLoader->triggeringAction().type();
switch (navigationType) {
case NavigationTypeReload:
- return RELOAD;
+ return TYPE_RELOAD;
case NavigationTypeBackForward:
- return BACK_FORWARD;
+ return TYPE_BACK_FORWARD;
default:
- return NAVIGATE;
+ return TYPE_NAVIGATE;
}
}