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

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

Issue 2152373003: [Extensions] Code Cleanup - Remove redundant smart-ptr get()s (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 5 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/extension_icon_manager_unittest.cc
diff --git a/chrome/browser/extensions/extension_icon_manager_unittest.cc b/chrome/browser/extensions/extension_icon_manager_unittest.cc
index 3edb28522289cf585cd3e14f61367132ad73688f..d474e5c7e6d83e8d3305975fb9af8f0f567a5a62 100644
--- a/chrome/browser/extensions/extension_icon_manager_unittest.cc
+++ b/chrome/browser/extensions/extension_icon_manager_unittest.cc
@@ -117,9 +117,9 @@ TEST_F(ExtensionIconManagerTest, LoadRemoveLoad) {
ASSERT_TRUE(manifest.get() != NULL);
std::string error;
- scoped_refptr<Extension> extension(Extension::Create(
- manifest_path.DirName(), Manifest::INVALID_LOCATION, *manifest.get(),
- Extension::NO_FLAGS, &error));
+ scoped_refptr<Extension> extension(
+ Extension::Create(manifest_path.DirName(), Manifest::INVALID_LOCATION,
+ *manifest, Extension::NO_FLAGS, &error));
ASSERT_TRUE(extension.get());
TestIconManager icon_manager(this);
« no previous file with comments | « chrome/browser/extensions/extension_function_test_utils.cc ('k') | chrome/browser/extensions/extension_install_prompt.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698