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

Unified Diff: chrome/common/extensions/manifest_tests/extension_manifests_command_unittest.cc

Issue 11275088: Remove implicit scoped_refptr operator T* Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 8 years, 2 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/common/extensions/manifest_tests/extension_manifests_command_unittest.cc
diff --git a/chrome/common/extensions/manifest_tests/extension_manifests_command_unittest.cc b/chrome/common/extensions/manifest_tests/extension_manifests_command_unittest.cc
index a9e4ffb0d7540486ebf969fd1a6487c06ad2f64a..730aa73a93e5e130712cb4c2543aef5c8d34c5cb 100644
--- a/chrome/common/extensions/manifest_tests/extension_manifests_command_unittest.cc
+++ b/chrome/common/extensions/manifest_tests/extension_manifests_command_unittest.cc
@@ -30,7 +30,7 @@ TEST_F(ExtensionManifestTest, CommandManifestSimple) {
scoped_refptr<extensions::Extension> extension =
LoadAndExpectSuccess("command_simple.json");
- ASSERT_TRUE(extension);
+ ASSERT_TRUE(extension.get());
const extensions::CommandMap& commands = extension->named_commands();
ASSERT_EQ(1u, commands.size());

Powered by Google App Engine
This is Rietveld 408576698