| Index: chrome/browser/extensions/api/declarative/initializing_rules_registry_unittest.cc
|
| diff --git a/chrome/browser/extensions/api/declarative/initializing_rules_registry_unittest.cc b/chrome/browser/extensions/api/declarative/initializing_rules_registry_unittest.cc
|
| index 12d707dda9adea885ba09d8d0060cbb0143034d4..67ad2a206c13b9a1d10f5cdf58590b824431334d 100644
|
| --- a/chrome/browser/extensions/api/declarative/initializing_rules_registry_unittest.cc
|
| +++ b/chrome/browser/extensions/api/declarative/initializing_rules_registry_unittest.cc
|
| @@ -22,9 +22,10 @@ TEST(InitializingRulesRegistryTest, FillOptionalIdentifiers) {
|
| base::MessageLoopForUI message_loop;
|
| content::TestBrowserThread thread(content::BrowserThread::UI, &message_loop);
|
|
|
| + const RulesRegistry::WebViewKey key(0, 0);
|
| std::string error;
|
| scoped_refptr<RulesRegistry> registry =
|
| - new TestRulesRegistry(content::BrowserThread::UI, "" /*event_name*/);
|
| + new TestRulesRegistry(content::BrowserThread::UI, "" /*event_name*/, key);
|
|
|
| // Add rules and check that their identifiers are filled and unique.
|
|
|
| @@ -137,9 +138,10 @@ TEST(InitializingRulesRegistryTest, FillOptionalPriority) {
|
| base::MessageLoopForUI message_loop;
|
| content::TestBrowserThread thread(content::BrowserThread::UI, &message_loop);
|
|
|
| + const RulesRegistry::WebViewKey key(0, 0);
|
| std::string error;
|
| scoped_refptr<RulesRegistry> registry =
|
| - new TestRulesRegistry(content::BrowserThread::UI, "" /*event_name*/);
|
| + new TestRulesRegistry(content::BrowserThread::UI, "" /*event_name*/, key);
|
|
|
| // Add rules and check that their priorities are filled if they are empty.
|
|
|
|
|