diff options
author | Steve Block <steveblock@google.com> | 2010-09-30 11:53:33 +0100 |
---|---|---|
committer | Steve Block <steveblock@google.com> | 2010-10-01 12:01:48 +0100 |
commit | ad9d1f8f641a8800bcfcb19fbf988621229f0360 (patch) | |
tree | ce13b29720914e520a32fe907175f2a54455834f /WebKit/android/WebCoreSupport/WebRequest.cpp | |
parent | 08ef6dc844161417a99f45546abb6e798410d0de (diff) | |
download | external_webkit-ad9d1f8f641a8800bcfcb19fbf988621229f0360.zip external_webkit-ad9d1f8f641a8800bcfcb19fbf988621229f0360.tar.gz external_webkit-ad9d1f8f641a8800bcfcb19fbf988621229f0360.tar.bz2 |
Update WebRequestContext static getters to return pointers to the base class
This allows us to use these static getters with Chromium APIs which
can use only the Chromium base class, not the Android derived class.
Change-Id: I9690ef00a775cff2b580ae5c0c745d7b24021a4c
Diffstat (limited to 'WebKit/android/WebCoreSupport/WebRequest.cpp')
-rw-r--r-- | WebKit/android/WebCoreSupport/WebRequest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/WebKit/android/WebCoreSupport/WebRequest.cpp b/WebKit/android/WebCoreSupport/WebRequest.cpp index e440181..d24c6cc 100644 --- a/WebKit/android/WebCoreSupport/WebRequest.cpp +++ b/WebKit/android/WebCoreSupport/WebRequest.cpp @@ -136,7 +136,7 @@ void WebRequest::start(bool isPrivateBrowsing) if (m_request->url().SchemeIs("browser")) return handleBrowserURL(m_request->url()); - scoped_refptr<WebRequestContext> context; + scoped_refptr<URLRequestContext> context; if (!isPrivateBrowsing) context = WebRequestContext::GetAndroidContext(); else |