Chromium Code Reviews| Index: third_party/WebKit/Source/core/loader/ProgressTracker.cpp |
| diff --git a/third_party/WebKit/Source/core/loader/ProgressTracker.cpp b/third_party/WebKit/Source/core/loader/ProgressTracker.cpp |
| index d36261a18510f718c7e9223801dbab0c23e7886a..f8523408baea53cc1bae2b47a433622b3c11d07d 100644 |
| --- a/third_party/WebKit/Source/core/loader/ProgressTracker.cpp |
| +++ b/third_party/WebKit/Source/core/loader/ProgressTracker.cpp |
| @@ -116,12 +116,13 @@ void ProgressTracker::reset() |
| m_finalProgressChangedSent = false; |
| } |
| -void ProgressTracker::progressStarted() |
| +void ProgressTracker::progressStarted(bool informClient) |
| { |
| if (!m_frame->isLoading()) { |
| reset(); |
| m_progressValue = initialProgressValue; |
| - m_frame->loader().client()->didStartLoading(NavigationToDifferentDocument); |
| + if (informClient) |
| + m_frame->loader().client()->didStartLoading(NavigationToDifferentDocument); |
|
dcheng
2015/12/11 17:14:06
We absolutely can not special-case mandoline here.
clamy
2015/12/14 15:47:18
The issue here is the combination of what content
|
| } |
| m_frame->setIsLoading(true); |
| InspectorInstrumentation::frameStartedLoading(m_frame); |