Index: chrome/common/extensions/user_script.cc |
diff --git a/chrome/common/extensions/user_script.cc b/chrome/common/extensions/user_script.cc |
index 10d0b60eef0d06167703de1bec38604108cc5b4b..96f7dd4bcc5e5d6341fee786e504f8ee084de832 100644 |
--- a/chrome/common/extensions/user_script.cc |
+++ b/chrome/common/extensions/user_script.cc |
@@ -84,6 +84,9 @@ void UserScript::Pickle(::Pickle* pickle) const { |
// Write Greasemonkey emulation. |
pickle->WriteBool(emulate_greasemonkey()); |
+ // Write match all frames |
+ pickle->WriteBool(match_all_frames()); |
+ |
// Write globs. |
std::vector<std::string>::const_iterator glob; |
pickle->WriteSize(globs_.size()); |
@@ -130,6 +133,9 @@ void UserScript::Unpickle(const ::Pickle& pickle, void** iter) { |
// Read Greasemonkey emulation. |
CHECK(pickle.ReadBool(iter, &emulate_greasemonkey_)); |
+ // Read match all frames |
+ CHECK(pickle.ReadBool(iter, &match_all_frames_)); |
+ |
// Read globs. |
size_t num_globs = 0; |
CHECK(pickle.ReadSize(iter, &num_globs)); |