Index: third_party/WebKit/Source/core/timing/PerformanceNavigationTiming.cpp |
diff --git a/third_party/WebKit/Source/core/timing/PerformanceNavigationTiming.cpp b/third_party/WebKit/Source/core/timing/PerformanceNavigationTiming.cpp |
index 080836e01b62a151347b338d2609ebba07393c95..511148688462007074fd4bb50d4126d08b9588da 100644 |
--- a/third_party/WebKit/Source/core/timing/PerformanceNavigationTiming.cpp |
+++ b/third_party/WebKit/Source/core/timing/PerformanceNavigationTiming.cpp |
@@ -31,7 +31,7 @@ PerformanceNavigationTiming::PerformanceNavigationTiming( |
double domContentLoadedEventStart, |
double domContentLoadedEventEnd, |
double domComplete, |
- NavigationType type, |
+ PerformanceNavigationType type, |
double redirectStart, |
double redirectEnd, |
double fetchStart, |
@@ -124,10 +124,12 @@ AtomicString PerformanceNavigationTiming::type() const { |
// TODO(sunjian) Right now NavigationType doesn't seem to have a Prerender |
// type yet, need to look into this crbug/663217 |
switch (m_type) { |
- case NavigationTypeReload: |
+ case KTypeReload: |
return "reload"; |
- case NavigationTypeBackForward: |
+ case KTypeBackForward: |
return "back_forward"; |
+ case KTypePrerender: |
+ return "prerender"; |
default: |
return "navigate"; |
} |