| 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 e54714344ace0ab61b1c7b3841c4c5e9392ad44c..306c0d01acf19f3d54daf7518afa73c2bc858ad5 100644
|
| --- a/third_party/WebKit/Source/core/loader/ProgressTracker.cpp
|
| +++ b/third_party/WebKit/Source/core/loader/ProgressTracker.cpp
|
| @@ -104,12 +104,13 @@ LocalFrameClient* ProgressTracker::localFrameClient() const {
|
| }
|
|
|
| void ProgressTracker::progressStarted(FrameLoadType type) {
|
| - if (!m_frame->isLoading())
|
| - localFrameClient()->didStartLoading(NavigationToDifferentDocument);
|
| reset();
|
| m_progressValue = initialProgressValue;
|
| - m_frame->setIsLoading(true);
|
| - InspectorInstrumentation::frameStartedLoading(m_frame, type);
|
| + if (!m_frame->isLoading()) {
|
| + localFrameClient()->didStartLoading(NavigationToDifferentDocument);
|
| + m_frame->setIsLoading(true);
|
| + InspectorInstrumentation::frameStartedLoading(m_frame, type);
|
| + }
|
| }
|
|
|
| void ProgressTracker::progressCompleted() {
|
|
|