| Index: Source/core/loader/CookieJar.cpp
|
| diff --git a/Source/core/loader/CookieJar.cpp b/Source/core/loader/CookieJar.cpp
|
| index d8ad40d1089ab5d6a78c772610f2331db967f16c..6fffb509612f047844fd379c07a8460cf0255fa2 100644
|
| --- a/Source/core/loader/CookieJar.cpp
|
| +++ b/Source/core/loader/CookieJar.cpp
|
| @@ -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)
|
|
|