| Index: chrome/browser/chrome_worker_message_filter.cc
|
| diff --git a/chrome/browser/chrome_worker_message_filter.cc b/chrome/browser/chrome_worker_message_filter.cc
|
| index 0e2b569a6c83fd513d44ea25aa8f11bbc2d23f7a..453ac5d17de1df944fb55610ba47f02330dedadd 100644
|
| --- a/chrome/browser/chrome_worker_message_filter.cc
|
| +++ b/chrome/browser/chrome_worker_message_filter.cc
|
| @@ -43,8 +43,7 @@ void ChromeWorkerMessageFilter::OnAllowDatabase(int worker_route_id,
|
| unsigned long estimated_size,
|
| bool* result) {
|
| ContentSetting content_setting =
|
| - host_content_settings_map_->GetContentSetting(
|
| - url, CONTENT_SETTINGS_TYPE_COOKIES, "");
|
| + host_content_settings_map_->GetCookieContentSetting(url, url, true);
|
|
|
| *result = content_setting != CONTENT_SETTING_BLOCK;
|
|
|
| @@ -75,7 +74,6 @@ void ChromeWorkerMessageFilter::OnAllowFileSystem(int worker_route_id,
|
| // TODO(kinuko): Need to notify the UI thread to indicate that
|
| // there's a blocked content. See the above for inspiration.
|
| ContentSetting content_setting =
|
| - host_content_settings_map_->GetContentSetting(
|
| - url, CONTENT_SETTINGS_TYPE_COOKIES, "");
|
| + host_content_settings_map_->GetCookieContentSetting(url, url, true);
|
| *result = content_setting != CONTENT_SETTING_BLOCK;
|
| }
|
|
|