| Index: third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp b/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
|
| index 1250ed12777b73ff166f44ffc5fe84f57b024122..9aff3ac0edd8f176394ca7fefccc1db0dea76ef6 100644
|
| --- a/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
|
| @@ -354,7 +354,8 @@ Document* LocalDOMWindow::installNewDocument(const String& mimeType,
|
|
|
| frame()->selection().updateSecureKeyboardEntryIfActive();
|
|
|
| - m_document->maybeRecordLoadReason(Created);
|
| + if (frame()->isCrossOriginSubframe())
|
| + m_document->recordDeferredLoadReason(Created);
|
|
|
| return m_document;
|
| }
|
|
|