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

Unified Diff: extensions/renderer/user_script_set.cc

Issue 906493004: Refactoring: de-couple Extensions from "script injection System" [render side]:2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@decouple_brower_isolated_world_1
Patch Set: Rebase. Created 5 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: extensions/renderer/user_script_set.cc
diff --git a/extensions/renderer/user_script_set.cc b/extensions/renderer/user_script_set.cc
index 65d7d7db36a2ba9bf9ddd60dbd8719486d361152..1b55ebc1b94c2be4ef252a60d3e530cfc71613cd 100644
--- a/extensions/renderer/user_script_set.cc
+++ b/extensions/renderer/user_script_set.cc
@@ -217,8 +217,7 @@ scoped_ptr<ScriptInjection> UserScriptSet::GetInjectionForScript(
injector.Pass(),
web_frame->toWebLocalFrame(),
host_id,
- // TODO(hanxi): store and obtain the instance id from the UserScript.
- HostID::kDefaultInstanceId,
+ script->consumer_instance_info(),
run_location,
tab_id));
}
« extensions/renderer/script_injection.cc ('K') | « extensions/renderer/user_script_injector.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698