summaryrefslogtreecommitdiff
path: root/Source/WebCore/page/PerformanceNavigation.cpp
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@lorry>2017-06-27 06:07:23 +0000
committerLorry Tar Creator <lorry-tar-importer@lorry>2017-06-27 06:07:23 +0000
commit1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c (patch)
tree46dcd36c86e7fbc6e5df36deb463b33e9967a6f7 /Source/WebCore/page/PerformanceNavigation.cpp
parent32761a6cee1d0dee366b885b7b9c777e67885688 (diff)
downloadWebKitGtk-tarball-master.tar.gz
Diffstat (limited to 'Source/WebCore/page/PerformanceNavigation.cpp')
-rw-r--r--Source/WebCore/page/PerformanceNavigation.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/WebCore/page/PerformanceNavigation.cpp b/Source/WebCore/page/PerformanceNavigation.cpp
index 2cb3aefed..6c60e3239 100644
--- a/Source/WebCore/page/PerformanceNavigation.cpp
+++ b/Source/WebCore/page/PerformanceNavigation.cpp
@@ -55,9 +55,9 @@ unsigned short PerformanceNavigation::type() const
WebCore::NavigationType navigationType = documentLoader->triggeringAction().type();
switch (navigationType) {
- case NavigationTypeReload:
+ case NavigationType::Reload:
return TYPE_RELOAD;
- case NavigationTypeBackForward:
+ case NavigationType::BackForward:
return TYPE_BACK_FORWARD;
default:
return TYPE_NAVIGATE;
@@ -73,11 +73,11 @@ unsigned short PerformanceNavigation::redirectCount() const
if (!loader)
return 0;
- DocumentLoadTiming* timing = loader->timing();
- if (timing->hasCrossOriginRedirect())
+ LoadTiming& timing = loader->timing();
+ if (timing.hasCrossOriginRedirect())
return 0;
- return timing->redirectCount();
+ return timing.redirectCount();
}
} // namespace WebCore