Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(171)

Unified Diff: third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp

Issue 2369613003: Require WebLocalFrame to be created with a non-null client (Closed)
Patch Set: oops Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp
diff --git a/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp b/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp
index a0684f80b7e06f7374b48af6c614da0578e5e1e5..3d4abe9aa49f85fafdd94633bd84ea83ebe1c888 100644
--- a/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp
+++ b/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp
@@ -435,10 +435,10 @@ void FrameLoaderClientImpl::dispatchDidNavigateWithinPage(HistoryItem* item, His
m_webFrame->client()->didNavigateWithinPage(m_webFrame, WebHistoryItem(item), static_cast<WebHistoryCommitType>(commitType), contentInitiated);
}
-void FrameLoaderClientImpl::dispatchWillClose()
+void FrameLoaderClientImpl::dispatchWillCommitProvisionalLoad()
{
if (m_webFrame->client())
- m_webFrame->client()->willClose(m_webFrame);
+ m_webFrame->client()->willCommitProvisionalLoad(m_webFrame);
}
void FrameLoaderClientImpl::dispatchDidStartProvisionalLoad(double triggeringEventTime)

Powered by Google App Engine
This is Rietveld 408576698