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

Unified Diff: chrome/common/extensions/extension_test_util.cc

Issue 15836003: Update chrome/ to use scoped_refptr<T>::get() rather than implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 years, 7 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/extension_test_util.cc
diff --git a/chrome/common/extensions/extension_test_util.cc b/chrome/common/extensions/extension_test_util.cc
index b9b0425605740643b6acc7594b6a01dfd72000c1..20182ca42a39d9e4dd182f840f962b84531d44c0 100644
--- a/chrome/common/extensions/extension_test_util.cc
+++ b/chrome/common/extensions/extension_test_util.cc
@@ -68,7 +68,7 @@ scoped_refptr<Extension> LoadManifest(const std::string& dir,
scoped_refptr<Extension> extension =
LoadManifestUnchecked(dir, test_file, location, extra_flags, &error);
- EXPECT_TRUE(extension) << test_file << ":" << error;
+ EXPECT_TRUE(extension.get()) << test_file << ":" << error;
return extension;
}
« no previous file with comments | « chrome/common/extensions/extension_sync_type_unittest.cc ('k') | chrome/common/extensions/extension_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698