Index: content/renderer/renderer_webcookiejar_impl.cc |
diff --git a/content/renderer/renderer_webcookiejar_impl.cc b/content/renderer/renderer_webcookiejar_impl.cc |
index afabadc46e71bd38d72f2fc3b5a0ba0e0af87006..dacd1f6d11c80bb280144d6f4a103d48cee10d45 100644 |
--- a/content/renderer/renderer_webcookiejar_impl.cc |
+++ b/content/renderer/renderer_webcookiejar_impl.cc |
@@ -25,9 +25,9 @@ void RendererWebCookieJarImpl::setCookie( |
WebString RendererWebCookieJarImpl::cookies( |
const WebURL& url, const WebURL& first_party_for_cookies) { |
- std::string value_utf8; |
- sender_->Send(new FrameHostMsg_GetCookies( |
- sender_->GetRoutingID(), url, first_party_for_cookies, &value_utf8)); |
+ mojo::String value_utf8; |
+ RenderThreadImpl::current()->render_frame_message_filter()->GetCookies( |
+ sender_->GetRoutingID(), url, first_party_for_cookies, &value_utf8); |
return WebString::fromUTF8(value_utf8); |
} |