Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5001)

Unified Diff: chrome/browser/extensions/active_script_controller_unittest.cc

Issue 508513002: Remove implicit conversions from scoped_refptr to T* in chrome/browser/extensions/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Two more Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/active_script_controller_unittest.cc
diff --git a/chrome/browser/extensions/active_script_controller_unittest.cc b/chrome/browser/extensions/active_script_controller_unittest.cc
index f816f6d513c01f41cd2a02ca942e1555ec41e89c..010ad02b1fa119a83b07782e9f06ab24f65d3319 100644
--- a/chrome/browser/extensions/active_script_controller_unittest.cc
+++ b/chrome/browser/extensions/active_script_controller_unittest.cc
@@ -110,8 +110,8 @@ const Extension* ActiveScriptControllerUnitTest::AddExtension() {
.Build();
ExtensionRegistry::Get(profile())->AddEnabled(extension_);
- PermissionsUpdater(profile()).InitializePermissions(extension_);
- return extension_;
+ PermissionsUpdater(profile()).InitializePermissions(extension_.get());
+ return extension_.get();
}
const Extension* ActiveScriptControllerUnitTest::ReloadExtension() {

Powered by Google App Engine
This is Rietveld 408576698