Commit 3e3cc15c authored by horo@chromium.org's avatar horo@chromium.org

Stop calling blink::Platform::current()->cookieJar() in CookieJar.cpp

We no longer have DRT in Blink.

BUG=327256

Review URL: https://codereview.chromium.org/205323004

git-svn-id: svn://svn.chromium.org/blink/trunk@169641 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 74095815
......@@ -47,12 +47,7 @@ static blink::WebCookieJar* toCookieJar(const Document* document)
{
if (!document || !document->frame())
return 0;
blink::WebCookieJar* cookieJar = document->frame()->loader().client()->cookieJar();
// FIXME: DRT depends on being able to get a cookie jar from Platform rather than
// FrameLoaderClient. Delete this when DRT is deleted.
if (!cookieJar)
cookieJar = blink::Platform::current()->cookieJar();
return cookieJar;
return document->frame()->loader().client()->cookieJar();
}
String cookies(const Document* document, const KURL& url)
......
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