diff options
Diffstat (limited to 'chrome/common/render_messages.h')
-rw-r--r-- | chrome/common/render_messages.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/common/render_messages.h b/chrome/common/render_messages.h index e91a2fe..fa714cc 100644 --- a/chrome/common/render_messages.h +++ b/chrome/common/render_messages.h @@ -1635,6 +1635,7 @@ struct ParamTraits<WebPreferences> { WriteParam(m, p.user_style_sheet_location); WriteParam(m, p.allow_universal_access_from_file_urls); WriteParam(m, p.experimental_webgl_enabled); + WriteParam(m, p.geolocation_enabled); } static bool Read(const Message* m, void** iter, param_type* p) { return @@ -1673,7 +1674,8 @@ struct ParamTraits<WebPreferences> { ReadParam(m, iter, &p->user_style_sheet_enabled) && ReadParam(m, iter, &p->user_style_sheet_location) && ReadParam(m, iter, &p->allow_universal_access_from_file_urls) && - ReadParam(m, iter, &p->experimental_webgl_enabled); + ReadParam(m, iter, &p->experimental_webgl_enabled) && + ReadParam(m, iter, &p->geolocation_enabled); } static void Log(const param_type& p, std::wstring* l) { l->append(L"<WebPreferences>"); |