Commit edeeec6a authored by willchan@chromium.org's avatar willchan@chromium.org

Add debugging info for crbug.com/99242 crashes.

Copy the url onto the stack.

BUG=99242
TEST=none


Review URL: http://codereview.chromium.org/8907055

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114555 0039d316-1c4b-4281-b951-d872f2087c98
parent afcc20da
......@@ -453,6 +453,12 @@ void RenderMessageFilter::OnGetCookies(const GURL& url,
return;
}
// If we crash here, figure out what URL the renderer was requesting.
// http://crbug.com/99242
char url_buf[128];
base::strlcpy(url_buf, url.spec().c_str(), arraysize(url_buf));
base::debug::Alias(url_buf);
net::URLRequestContext* context = GetRequestContextForURL(url);
net::CookieMonster* cookie_monster =
context->cookie_store()->GetCookieMonster();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment