Index: third_party/WebKit/Source/core/loader/DocumentLoader.cpp |
diff --git a/third_party/WebKit/Source/core/loader/DocumentLoader.cpp b/third_party/WebKit/Source/core/loader/DocumentLoader.cpp |
index e9498218cf2fbbd83ea56c8714a1b73c3f1ba69c..8a2f7991a5de227e8a33673e17cd4cfcfdb2380b 100644 |
--- a/third_party/WebKit/Source/core/loader/DocumentLoader.cpp |
+++ b/third_party/WebKit/Source/core/loader/DocumentLoader.cpp |
@@ -210,6 +210,13 @@ void DocumentLoader::didChangePerformanceTiming() |
} |
} |
+void DocumentLoader::didObserveLoadingBehavior(WebLoadingBehaviorFlag behavior) |
+{ |
+ if (frame() && frame()->isMainFrame() && m_state >= Committed) { |
Nate Chapin
2016/04/07 16:13:10
ASSERT(m_state >= Committed).
If there's a Docume
Charlie Harrison
2016/04/07 17:42:16
Done.
|
+ frameLoader()->client()->didObserveLoadingBehavior(behavior); |
+ } |
+} |
+ |
void DocumentLoader::updateForSameDocumentNavigation(const KURL& newURL, SameDocumentNavigationSource sameDocumentNavigationSource) |
{ |
KURL oldURL = m_request.url(); |