summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorantonm@chromium.org <antonm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-06 15:33:30 +0000
committerantonm@chromium.org <antonm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-06 15:33:30 +0000
commit58ebc23446fbe554797a2253ee81a57314bd8770 (patch)
tree74995a4b09654145b91ee0a31d93ca1416cc36aa /chrome
parent7010297385ce13f0590725f60e144f49bda1d903 (diff)
downloadchromium_src-58ebc23446fbe554797a2253ee81a57314bd8770.zip
chromium_src-58ebc23446fbe554797a2253ee81a57314bd8770.tar.gz
chromium_src-58ebc23446fbe554797a2253ee81a57314bd8770.tar.bz2
Rename some other occurrences of deperecated methods.
Review URL: http://codereview.chromium.org/1954002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46569 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/renderer/extensions/extension_process_bindings.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/renderer/extensions/extension_process_bindings.cc b/chrome/renderer/extensions/extension_process_bindings.cc
index 0a586c4..0e28a91 100644
--- a/chrome/renderer/extensions/extension_process_bindings.cc
+++ b/chrome/renderer/extensions/extension_process_bindings.cc
@@ -625,7 +625,7 @@ void ExtensionProcessBindings::SetHostPermissions(
const GURL& extension_url,
const std::vector<URLPattern>& permissions) {
for (size_t i = 0; i < permissions.size(); ++i) {
- WebSecurityPolicy::whiteListAccessFromOrigin(
+ WebSecurityPolicy::addOriginAccessWhitelistEntry(
extension_url,
WebKit::WebString::fromUTF8(permissions[i].scheme()),
WebKit::WebString::fromUTF8(permissions[i].host()),