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

Unified Diff: content/renderer/mojo_bindings_controller.cc

Issue 1642283002: Deal with frame removal by content scripts (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add more runScriptsAtDocumentElementAvailable + comments Created 4 years, 10 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: content/renderer/mojo_bindings_controller.cc
diff --git a/content/renderer/mojo_bindings_controller.cc b/content/renderer/mojo_bindings_controller.cc
index 2214254a0341703b7680ecbb6252a3efbf756da8..5f8b700db4c8c32d444de56082f75df40a7e8013 100644
--- a/content/renderer/mojo_bindings_controller.cc
+++ b/content/renderer/mojo_bindings_controller.cc
@@ -71,7 +71,7 @@ void MojoBindingsController::WillReleaseScriptContext(
DestroyContextState(context);
}
-void MojoBindingsController::DidFinishDocumentLoad() {
+void MojoBindingsController::RunScriptsAtDocumentReady() {
v8::HandleScope handle_scope(blink::mainThreadIsolate());
MojoContextState* state = GetContextState();
if (state)

Powered by Google App Engine
This is Rietveld 408576698