summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-26 20:43:36 +0000
committeraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-26 20:43:36 +0000
commitcbc2872f872178c484bc5c219c05e82b6a0b5f61 (patch)
tree0d72a09714bba71d8c9d7f60582fc59cb58cfcc9
parent9e64eed38740f9d0f411348f8cfa0dda97c345d7 (diff)
downloadchromium_src-cbc2872f872178c484bc5c219c05e82b6a0b5f61.zip
chromium_src-cbc2872f872178c484bc5c219c05e82b6a0b5f61.tar.gz
chromium_src-cbc2872f872178c484bc5c219c05e82b6a0b5f61.tar.bz2
Reapply Issue 1458001 on 249 branch directly.
Write and read content blocked flag. This should have resulted in random showing/hiding of the blocked url bar notification when databases were in use. It also caused lots of crashes. BUG=38857 git-svn-id: svn://svn.chromium.org/chrome/branches/249/src@42816 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/common/render_messages.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/common/render_messages.h b/chrome/common/render_messages.h
index f8dfb4b..3c919eb 100644
--- a/chrome/common/render_messages.h
+++ b/chrome/common/render_messages.h
@@ -1921,12 +1921,14 @@ struct ParamTraits<ViewMsg_DatabaseOpenFileResponse_Params> {
#if defined(OS_POSIX)
WriteParam(m, p.dir_handle);
#endif
+ WriteParam(m, p.blocked);
}
static bool Read(const Message* m, void** iter, param_type* p) {
return ReadParam(m, iter, &p->file_handle)
#if defined(OS_POSIX)
&& ReadParam(m, iter, &p->dir_handle)
#endif
+ && ReadParam(m, iter, &p->blocked)
;
}
static void Log(const param_type& p, std::wstring* l) {