summaryrefslogtreecommitdiffstats
path: root/Source/WebKit/android/WebCoreSupport
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit/android/WebCoreSupport')
-rw-r--r--Source/WebKit/android/WebCoreSupport/WebRequestContext.cpp2
-rw-r--r--Source/WebKit/android/WebCoreSupport/WebRequestContext.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/Source/WebKit/android/WebCoreSupport/WebRequestContext.cpp b/Source/WebKit/android/WebCoreSupport/WebRequestContext.cpp
index 78c3501..f51ba53 100644
--- a/Source/WebKit/android/WebCoreSupport/WebRequestContext.cpp
+++ b/Source/WebKit/android/WebCoreSupport/WebRequestContext.cpp
@@ -115,7 +115,7 @@ void WebRequestContext::setAcceptLanguage(const String& string)
acceptLanguageWtfString = string;
}
-const std::string& WebRequestContext::GetAcceptLanguage() const
+const std::string& WebRequestContext::accept_language() const
{
MutexLocker lock(acceptLanguageMutex);
return acceptLanguageStdString;
diff --git a/Source/WebKit/android/WebCoreSupport/WebRequestContext.h b/Source/WebKit/android/WebCoreSupport/WebRequestContext.h
index 9286127..c254ad6 100644
--- a/Source/WebKit/android/WebCoreSupport/WebRequestContext.h
+++ b/Source/WebKit/android/WebCoreSupport/WebRequestContext.h
@@ -38,7 +38,7 @@ class WebRequestContext : public net::URLRequestContext {
public:
// URLRequestContext overrides.
virtual const std::string& GetUserAgent(const GURL&) const;
- virtual const std::string& GetAcceptLanguage() const;
+ virtual const std::string& accept_language() const;
WebRequestContext(bool isPrivateBrowsing);