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

Unified Diff: extensions/common/user_script.cc

Issue 982113002: Fix a bug in UserScriptLoader. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/common/user_script.cc
diff --git a/extensions/common/user_script.cc b/extensions/common/user_script.cc
index ea7b6a7423edbbc9ffdd2b4dd64412d3f66ae2e2..51e6084727a82f6d1ac30ef743e01a19399a88ab 100644
--- a/extensions/common/user_script.cc
+++ b/extensions/common/user_script.cc
@@ -81,7 +81,9 @@ UserScript::File::~File() {}
UserScript::UserScript()
: run_location_(DOCUMENT_IDLE),
+ host_id_(HostID()),
Devlin 2015/03/05 20:18:38 Default constructors are automatically called; you
Xi Han 2015/03/05 20:26:24 Remove initializations for both host_id and routin
consumer_instance_type_(TAB),
+ routing_info_(RoutingInfo()),
user_script_id_(-1),
emulate_greasemonkey_(false),
match_all_frames_(false),
« extensions/browser/user_script_loader.cc ('K') | « extensions/common/user_script.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698