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

Unified Diff: extensions/common/manifest_handlers/file_handler_manifest_unittest.cc

Issue 503873002: Remove implicit conversions from scoped_refptr to T* in extensions/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « extensions/common/extension_set_unittest.cc ('k') | extensions/common/permissions/permissions_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/manifest_handlers/file_handler_manifest_unittest.cc
diff --git a/extensions/common/manifest_handlers/file_handler_manifest_unittest.cc b/extensions/common/manifest_handlers/file_handler_manifest_unittest.cc
index 5d770fbcabd1d7159dbdf6aacd6b26f7aa5dc98e..678dc6bcc7576d56e93d736dbb32886d99fc786e 100644
--- a/extensions/common/manifest_handlers/file_handler_manifest_unittest.cc
+++ b/extensions/common/manifest_handlers/file_handler_manifest_unittest.cc
@@ -39,7 +39,8 @@ TEST_F(FileHandlersManifestTest, ValidFileHandlers) {
LoadAndExpectSuccess("file_handlers_valid.json");
ASSERT_TRUE(extension.get());
- const FileHandlersInfo* handlers = FileHandlers::GetFileHandlers(extension);
+ const FileHandlersInfo* handlers =
+ FileHandlers::GetFileHandlers(extension.get());
ASSERT_TRUE(handlers != NULL);
ASSERT_EQ(2U, handlers->size());
@@ -64,7 +65,8 @@ TEST_F(FileHandlersManifestTest, NotPlatformApp) {
LoadAndExpectSuccess("file_handlers_invalid_not_app.json");
ASSERT_TRUE(extension.get());
- const FileHandlersInfo* handlers = FileHandlers::GetFileHandlers(extension);
+ const FileHandlersInfo* handlers =
+ FileHandlers::GetFileHandlers(extension.get());
ASSERT_TRUE(handlers == NULL);
}
« no previous file with comments | « extensions/common/extension_set_unittest.cc ('k') | extensions/common/permissions/permissions_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698