commit | c704794140dcfe95c002c7b0bfd7361f33088190 | [log] [tgz] |
---|---|---|
author | dcheng <[email protected]> | Tue Aug 26 05:05:31 2014 |
committer | Commit bot <[email protected]> | Tue Aug 26 05:06:55 2014 |
tree | c78e5d70e95737ee4c5b5599717335903999b0ae | |
parent | 1bba58e7ed1fdfb97d53f7ed26df5571c2e9d7c5 [diff] [blame] |
Remove implicit conversions from scoped_refptr to T* in chrome/browser/extensions/ This patch was generated by running the rewrite_scoped_refptr clang tool on a Linux build. BUG=110610 Review URL: https://codereview.chromium.org/508513002 Cr-Commit-Position: refs/heads/master@{#291844}
diff --git a/chrome/browser/extensions/active_script_controller_unittest.cc b/chrome/browser/extensions/active_script_controller_unittest.cc index f816f6d..010ad02b 100644 --- a/chrome/browser/extensions/active_script_controller_unittest.cc +++ b/chrome/browser/extensions/active_script_controller_unittest.cc
@@ -110,8 +110,8 @@ .Build(); ExtensionRegistry::Get(profile())->AddEnabled(extension_); - PermissionsUpdater(profile()).InitializePermissions(extension_); - return extension_; + PermissionsUpdater(profile()).InitializePermissions(extension_.get()); + return extension_.get(); } const Extension* ActiveScriptControllerUnitTest::ReloadExtension() {