summaryrefslogtreecommitdiffstats
path: root/Source/WebKit2/Shared/WebURLRequest.cpp
blob: 1e255c215a743198b4a48cfcb40a344f293777b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
 *  WebURLRequest.cpp
 *  WebKit2
 *
 *  Created by Sam Weinig on 8/30/10.
 *  Copyright 2010 Apple Inc. All rights reserved.
 *
 */

#include "WebURLRequest.h"

using namespace WebCore;

namespace WebKit {

PassRefPtr<WebURLRequest> WebURLRequest::create(const KURL& url)
{
    return adoptRef(new WebURLRequest(ResourceRequest(url)));
}

WebURLRequest::WebURLRequest(const ResourceRequest& request)
    : m_request(request)
{
}

} // namespace WebKit