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 f146688b226ab9125b00aa12f8b26bb25b62e02a..3e50fc12e4ae23014f86ea22e7aca852be85f8e4 100644 |
--- a/third_party/WebKit/Source/core/loader/DocumentLoader.cpp |
+++ b/third_party/WebKit/Source/core/loader/DocumentLoader.cpp |
@@ -211,6 +211,14 @@ void DocumentLoader::didChangePerformanceTiming() |
} |
} |
+void DocumentLoader::didObserveLoadingBehavior(WebLoadingBehaviorFlag behavior) |
+{ |
+ if (frame() && frame()->isMainFrame()) { |
+ ASSERT(m_state >= Committed); |
+ frameLoader()->client()->didObserveLoadingBehavior(behavior); |
+ } |
+} |
+ |
void DocumentLoader::updateForSameDocumentNavigation(const KURL& newURL, SameDocumentNavigationSource sameDocumentNavigationSource) |
{ |
KURL oldURL = m_request.url(); |