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

Unified Diff: chrome/renderer/navigation_state.cc

Issue 6099013: Fix race condition where chrome.tabs.executeScript sometimes wouldn't (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: compile Created 9 years, 11 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 | « chrome/renderer/navigation_state.h ('k') | chrome/renderer/render_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/navigation_state.cc
diff --git a/chrome/renderer/navigation_state.cc b/chrome/renderer/navigation_state.cc
index fe1c6d9cf0ecdbdb8208238cd6a9b65aadee961b..899c2d224820d6fc0c32296cb7926bae159b5455 100644
--- a/chrome/renderer/navigation_state.cc
+++ b/chrome/renderer/navigation_state.cc
@@ -15,6 +15,11 @@ void NavigationState::set_user_script_idle_scheduler(
user_script_idle_scheduler_.reset(scheduler);
}
+void NavigationState::swap_user_script_idle_scheduler(
+ NavigationState* state) {
+ user_script_idle_scheduler_.swap(state->user_script_idle_scheduler_);
+}
+
void NavigationState::set_password_form_data(webkit_glue::PasswordForm* data) {
password_form_data_.reset(data);
}
« no previous file with comments | « chrome/renderer/navigation_state.h ('k') | chrome/renderer/render_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698