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

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

Issue 2786593002: Remove redundant WebLocalFrame* in runScriptsAtDocumentElementAvailable (Closed)
Patch Set: Created 3 years, 9 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
« no previous file with comments | « content/renderer/render_frame_impl.cc ('k') | third_party/WebKit/public/web/WebFrameClient.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/LocalFrameClientImpl.cpp
diff --git a/third_party/WebKit/Source/web/LocalFrameClientImpl.cpp b/third_party/WebKit/Source/web/LocalFrameClientImpl.cpp
index 6d41c4722aaa74a90af2d742fd2a925c88fa42b0..caaa2d6c4518e347b2dec4b88707afd101d47e1d 100644
--- a/third_party/WebKit/Source/web/LocalFrameClientImpl.cpp
+++ b/third_party/WebKit/Source/web/LocalFrameClientImpl.cpp
@@ -178,7 +178,7 @@ void LocalFrameClientImpl::documentElementAvailable() {
void LocalFrameClientImpl::runScriptsAtDocumentElementAvailable() {
if (m_webFrame->client())
- m_webFrame->client()->runScriptsAtDocumentElementAvailable(m_webFrame);
+ m_webFrame->client()->runScriptsAtDocumentElementAvailable();
// The callback might have deleted the frame, do not use |this|!
}
« no previous file with comments | « content/renderer/render_frame_impl.cc ('k') | third_party/WebKit/public/web/WebFrameClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698