summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
Diffstat (limited to 'chrome')
-rw-r--r--chrome/renderer/renderer_webkitclient_impl.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/chrome/renderer/renderer_webkitclient_impl.cc b/chrome/renderer/renderer_webkitclient_impl.cc
index a475616..6bf926a 100644
--- a/chrome/renderer/renderer_webkitclient_impl.cc
+++ b/chrome/renderer/renderer_webkitclient_impl.cc
@@ -131,8 +131,12 @@ WebString RendererWebKitClientImpl::cookies(
// when there is no active script context.
int32 routing_id = RenderThread::RoutingIDForCurrentContext();
+ // TODO(darin): We should use SendAndRunNestedMessageLoop here to avoid dead-
+ // locking the browser, but this causes a performance regression. Switching
+ // back to Send to verify. See http://crbug.com/36310.
+
std::string value_utf8;
- RenderThread::current()->SendAndRunNestedMessageLoop(
+ RenderThread::current()->Send(
new ViewHostMsg_GetCookies(routing_id, url, first_party_for_cookies,
&value_utf8));