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/extension_error_controller.cc b/chrome/browser/extensions/extension_error_controller.cc index 8ae3154..cf2f07c7 100644 --- a/chrome/browser/extensions/extension_error_controller.cc +++ b/chrome/browser/extensions/extension_error_controller.cc
@@ -119,7 +119,7 @@ for (ExtensionSet::const_iterator iter = enabled_set.begin(); iter != enabled_set.end(); ++iter) { - const Extension* extension = *iter; + const Extension* extension = iter->get(); // Skip for extensions that have pending updates. They will be checked again // once the pending update is finished.