| Index: chrome/renderer/worker_content_settings_client_proxy.cc
|
| diff --git a/chrome/renderer/worker_content_settings_client_proxy.cc b/chrome/renderer/worker_content_settings_client_proxy.cc
|
| index 7ae145c134771db50a9f8eb792e30cb35ba88a1f..b16592885d629a7345be8532cd3182cb2917a7f8 100644
|
| --- a/chrome/renderer/worker_content_settings_client_proxy.cc
|
| +++ b/chrome/renderer/worker_content_settings_client_proxy.cc
|
| @@ -6,6 +6,7 @@
|
|
|
| #include "chrome/common/render_messages.h"
|
| #include "components/content_settings/content/common/content_settings_messages.h"
|
| +#include "content/public/child/url_conversion.h"
|
| #include "content/public/renderer/render_frame.h"
|
| #include "content/public/renderer/render_thread.h"
|
| #include "ipc/ipc_sync_message_filter.h"
|
| @@ -22,8 +23,10 @@ WorkerContentSettingsClientProxy::WorkerContentSettingsClientProxy(
|
| frame->top()->securityOrigin().isUnique())
|
| is_unique_origin_ = true;
|
| sync_message_filter_ = content::RenderThread::Get()->GetSyncMessageFilter();
|
| - document_origin_url_ = GURL(frame->document().securityOrigin().toString());
|
| - top_frame_origin_url_ = GURL(frame->top()->securityOrigin().toString());
|
| + document_origin_url_ =
|
| + content::WebStringToGURL(frame->document().securityOrigin().toString());
|
| + top_frame_origin_url_ =
|
| + content::WebStringToGURL(frame->top()->securityOrigin().toString());
|
| }
|
|
|
| WorkerContentSettingsClientProxy::~WorkerContentSettingsClientProxy() {}
|
|
|