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

Unified Diff: extensions/renderer/script_injection_manager.h

Issue 1216453002: [Extensions] Handle some funny cases in script injection (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Ben's Created 5 years, 6 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: extensions/renderer/script_injection_manager.h
diff --git a/extensions/renderer/script_injection_manager.h b/extensions/renderer/script_injection_manager.h
index a0416b389e133755afcfbab794066ed423866a33..1c1bc96ff1eadb0c233ff03aa60977a022a5c57f 100644
--- a/extensions/renderer/script_injection_manager.h
+++ b/extensions/renderer/script_injection_manager.h
@@ -99,6 +99,9 @@ class ScriptInjectionManager : public UserScriptSetManager::Observer {
// RunLocation of the frame corresponds to the last location that has ran.
FrameStatusMap frame_statuses_;
+ // The frame currently being injected into, so long as that frame is valid.
+ content::RenderFrame* valid_running_injection_frame_;
+
// The collection of RFOHelpers.
ScopedVector<RFOHelper> rfo_helpers_;

Powered by Google App Engine
This is Rietveld 408576698