| Index: content/renderer/render_view.cc
|
| diff --git a/content/renderer/render_view.cc b/content/renderer/render_view.cc
|
| index 4787ff96b53e08f56165922a22bbd95ff0df432d..433b7e832ddea1201cd74dc03940929d3fb57937 100644
|
| --- a/content/renderer/render_view.cc
|
| +++ b/content/renderer/render_view.cc
|
| @@ -39,6 +39,7 @@
|
| #include "content/common/renderer_preferences.h"
|
| #include "content/common/url_constants.h"
|
| #include "content/common/view_messages.h"
|
| +#include "content/common/web_quota_dispatcher_callback.h"
|
| #include "content/renderer/content_renderer_client.h"
|
| #include "content/renderer/device_orientation_dispatcher.h"
|
| #include "content/renderer/external_popup_menu.h"
|
| @@ -2857,7 +2858,9 @@ void RenderView::queryStorageUsageAndQuota(
|
| return;
|
| }
|
| ChildThread::current()->quota_dispatcher()->QueryStorageUsageAndQuota(
|
| - GURL(origin.toString()), type, callbacks);
|
| + GURL(origin.toString()),
|
| + static_cast<quota::StorageType>(type),
|
| + new WebQuotaDispatcherCallback(callbacks));
|
| }
|
|
|
| void RenderView::requestStorageQuota(
|
| @@ -2873,7 +2876,9 @@ void RenderView::requestStorageQuota(
|
| return;
|
| }
|
| ChildThread::current()->quota_dispatcher()->RequestStorageQuota(
|
| - routing_id(), GURL(origin.toString()), type, requested_size, callbacks);
|
| + routing_id(), GURL(origin.toString()),
|
| + static_cast<quota::StorageType>(type), requested_size,
|
| + new WebQuotaDispatcherCallback(callbacks));
|
| }
|
|
|
| // webkit_glue::WebPluginPageDelegate -----------------------------------------
|
|
|