diff options
Diffstat (limited to 'webkit/api/src/WebURLRequest.cpp')
-rw-r--r-- | webkit/api/src/WebURLRequest.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/webkit/api/src/WebURLRequest.cpp b/webkit/api/src/WebURLRequest.cpp index d6eb114..14f5b8d 100644 --- a/webkit/api/src/WebURLRequest.cpp +++ b/webkit/api/src/WebURLRequest.cpp @@ -78,6 +78,11 @@ void WebURLRequest::assign(const WebURLRequest& r) assign(r.m_private ? new WebURLRequestPrivateImpl(r.m_private) : 0); } +bool WebURLRequest::isNull() const +{ + return !m_private || m_private->m_resourceRequest->isNull(); +} + WebURL WebURLRequest::url() const { return m_private->m_resourceRequest->url(); |