summaryrefslogtreecommitdiffstats
path: root/extensions/common/user_script.cc
diff options
context:
space:
mode:
authorhanxi <hanxi@chromium.org>2015-03-04 19:44:35 -0800
committerCommit bot <commit-bot@chromium.org>2015-03-05 03:45:42 +0000
commit8806af42f41a804d3b4203dd042ce71983af886f (patch)
tree10284d14bfea69961cba4c00058aeb3854e0ee65 /extensions/common/user_script.cc
parentad9e147af655ac1fa09cb3bc12af9de22f15e4b1 (diff)
downloadchromium_src-8806af42f41a804d3b4203dd042ce71983af886f.zip
chromium_src-8806af42f41a804d3b4203dd042ce71983af886f.tar.gz
chromium_src-8806af42f41a804d3b4203dd042ce71983af886f.tar.bz2
Fix tests failures caused by issue 906493004 (https://codereview.chromium.org/906493004/).
The failed tests were caused by missing the initialization of consumer_instance_type_ in UserScript. BUG=463906 TBR=rdevlin Review URL: https://codereview.chromium.org/976173002 Cr-Commit-Position: refs/heads/master@{#319207}
Diffstat (limited to 'extensions/common/user_script.cc')
-rw-r--r--extensions/common/user_script.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/extensions/common/user_script.cc b/extensions/common/user_script.cc
index 7859e75..ea7b6a7 100644
--- a/extensions/common/user_script.cc
+++ b/extensions/common/user_script.cc
@@ -81,6 +81,7 @@ UserScript::File::~File() {}
UserScript::UserScript()
: run_location_(DOCUMENT_IDLE),
+ consumer_instance_type_(TAB),
user_script_id_(-1),
emulate_greasemonkey_(false),
match_all_frames_(false),