Index: Source/core/frame/LocalFrame.cpp |
diff --git a/Source/core/frame/LocalFrame.cpp b/Source/core/frame/LocalFrame.cpp |
index 9a41e1ef6dbb2d99a4abf8a1a8f74ad31889c6cd..b2787069476e6b72c578cbed107a3fc3a73d0594 100644 |
--- a/Source/core/frame/LocalFrame.cpp |
+++ b/Source/core/frame/LocalFrame.cpp |
@@ -546,6 +546,11 @@ bool LocalFrame::isURLAllowed(const KURL& url) const |
return true; |
} |
+bool LocalFrame::shouldReuseDefaultView(const KURL& url) const |
+{ |
+ return loader().stateMachine()->isDisplayingInitialEmptyDocument() && document()->isSecureTransitionTo(url); |
+} |
+ |
void LocalFrame::removeSpellingMarkersUnderWords(const Vector<String>& words) |
{ |
spellChecker().removeSpellingMarkersUnderWords(words); |