summaryrefslogtreecommitdiffstats
path: root/WebKit/android/WebCoreSupport/autofill
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2010-10-20 17:24:30 +0100
committerSteve Block <steveblock@google.com>2010-10-21 11:49:39 +0100
commitf6c40294adb5fce93668a0e92e8731e21752a1df (patch)
treef1d852cdea4735d70f7c15cbf75ce709642e8ecf /WebKit/android/WebCoreSupport/autofill
parent0fe675d3b8a2b02feaf6720e30bc0a9270a8072a (diff)
downloadexternal_webkit-f6c40294adb5fce93668a0e92e8731e21752a1df.zip
external_webkit-f6c40294adb5fce93668a0e92e8731e21752a1df.tar.gz
external_webkit-f6c40294adb5fce93668a0e92e8731e21752a1df.tar.bz2
Fix Chromium HTTP request context getters to use raw pointers
All call sites into the Chromium stack take raw pointers rather than scoped_refptr, so we should do the same for simplicity. This change also makes the ownership model more clear. Previously we were sometimes throwing away the scoped_refptr and using the raw pointer, which is unsafe unless you know that somebody else holds a reference. Requires a change to external/chromium ... https://android-git.corp.google.com/g/75220 Change-Id: I09c86d424193a3f3c2644bcf77a2d363fa24293b
Diffstat (limited to 'WebKit/android/WebCoreSupport/autofill')
-rw-r--r--WebKit/android/WebCoreSupport/autofill/WebAutoFill.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/WebKit/android/WebCoreSupport/autofill/WebAutoFill.cpp b/WebKit/android/WebCoreSupport/autofill/WebAutoFill.cpp
index ed42c7a..bc4ca05 100644
--- a/WebKit/android/WebCoreSupport/autofill/WebAutoFill.cpp
+++ b/WebKit/android/WebCoreSupport/autofill/WebAutoFill.cpp
@@ -55,7 +55,7 @@ WebAutoFill::WebAutoFill()
mFormManager = new FormManager();
mQueryId = 1;
- AndroidURLRequestContextGetter::Get()->SetURLRequestContextGetterFunction(&WebRequestContext::GetAndroidContext);
+ AndroidURLRequestContextGetter::Get()->SetURLRequestContextGetterFunction(&WebRequestContext::GetContext);
AndroidURLRequestContextGetter::Get()->SetIOThread(WebUrlLoaderClient::ioThread());
mTabContents = new TabContents();
mAutoFillManager = new AutoFillManager(mTabContents.get());