diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-08 04:01:06 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-08 04:01:06 +0000 |
commit | 50703fcc3d01ed720ed2fb54a28855a384fc37e3 (patch) | |
tree | 475777581c66f58700315b6f40f7620f9d6b6c0d /extensions/browser/runtime_data_unittest.cc | |
parent | da463967e200fe91ccc3384db8f8ba34c08f3847 (diff) | |
download | chromium_src-50703fcc3d01ed720ed2fb54a28855a384fc37e3.zip chromium_src-50703fcc3d01ed720ed2fb54a28855a384fc37e3.tar.gz chromium_src-50703fcc3d01ed720ed2fb54a28855a384fc37e3.tar.bz2 |
Cleanup: Remove NOTIFICATION_EXTENSION_UNLOADED usage in MediaScanManager.
BUG=354046
Review URL: https://codereview.chromium.org/207613002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@262295 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'extensions/browser/runtime_data_unittest.cc')
-rw-r--r-- | extensions/browser/runtime_data_unittest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/browser/runtime_data_unittest.cc b/extensions/browser/runtime_data_unittest.cc index 207f8aa..48c1bbc 100644 --- a/extensions/browser/runtime_data_unittest.cc +++ b/extensions/browser/runtime_data_unittest.cc @@ -39,7 +39,7 @@ scoped_refptr<Extension> CreateExtensionWithBackgroundPage() { class RuntimeDataTest : public testing::Test { public: - RuntimeDataTest() : runtime_data_(®istry_) {} + RuntimeDataTest() : registry_(NULL), runtime_data_(®istry_) {} virtual ~RuntimeDataTest() {} protected: @@ -100,7 +100,7 @@ TEST_F(RuntimeDataTest, OnExtensionUnloaded) { runtime_data_.SetBackgroundPageReady(extension, true); ASSERT_TRUE(runtime_data_.HasExtensionForTesting(extension)); - runtime_data_.OnExtensionUnloaded(extension); + runtime_data_.OnExtensionUnloaded(NULL, extension); EXPECT_FALSE(runtime_data_.HasExtensionForTesting(extension)); } |