Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1925)

Unified Diff: Source/core/timing/PerformanceNavigation.cpp

Issue 790383002: Remove NavigationAction (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/timing/PerformanceNavigation.cpp
diff --git a/Source/core/timing/PerformanceNavigation.cpp b/Source/core/timing/PerformanceNavigation.cpp
index 9abbabb5bad0392d1b9b39376cc55fd180c2840c..c1735ceeff5fedca5ada03606a38d8d0e8f96d67 100644
--- a/Source/core/timing/PerformanceNavigation.cpp
+++ b/Source/core/timing/PerformanceNavigation.cpp
@@ -51,8 +51,7 @@ unsigned short PerformanceNavigation::type() const
if (!documentLoader)
return TYPE_NAVIGATE;
- blink::NavigationType navigationType = documentLoader->triggeringAction().type();
- switch (navigationType) {
+ switch (documentLoader->navigationType()) {
case NavigationTypeReload:
return TYPE_RELOAD;
case NavigationTypeBackForward:

Powered by Google App Engine
This is Rietveld 408576698