Index: chrome/browser/extensions/api/tabs/tabs_api.cc |
diff --git a/chrome/browser/extensions/api/tabs/tabs_api.cc b/chrome/browser/extensions/api/tabs/tabs_api.cc |
index fb448f7971c488fbccf548c734d63c4e4d2e6cfe..e4ec50d3ce1cbe127880073ff250eaddf86ab6fd 100644 |
--- a/chrome/browser/extensions/api/tabs/tabs_api.cc |
+++ b/chrome/browser/extensions/api/tabs/tabs_api.cc |
@@ -658,7 +658,7 @@ ExtensionFunction::ResponseAction WindowsCreateFunction::Run() { |
!browser_context()->IsOffTheRecord() && !include_incognito()) { |
// Don't expose incognito windows if extension itself works in non-incognito |
// profile and CanCrossIncognito isn't allowed. |
- result = base::Value::CreateNullValue(); |
+ result = base::MakeUnique<base::Value>(); |
} else { |
result = controller->CreateWindowValueWithTabs(extension()); |
} |