| Index: chrome/browser/extensions/api/tabs/windows_event_router.cc
|
| diff --git a/chrome/browser/extensions/api/tabs/windows_event_router.cc b/chrome/browser/extensions/api/tabs/windows_event_router.cc
|
| index ba1f49c6746f6a3b6f2535bccd1e3216537cc6c6..6c0251f4da0ef443a5d02b0f0c8013749810f654 100644
|
| --- a/chrome/browser/extensions/api/tabs/windows_event_router.cc
|
| +++ b/chrome/browser/extensions/api/tabs/windows_event_router.cc
|
| @@ -196,9 +196,7 @@ void WindowsEventRouter::OnWindowControllerAdded(
|
| return;
|
|
|
| std::unique_ptr<base::ListValue> args(new base::ListValue());
|
| - base::DictionaryValue* window_dictionary =
|
| - window_controller->CreateWindowValue();
|
| - args->Append(window_dictionary);
|
| + args->Append(window_controller->CreateWindowValue());
|
| DispatchEvent(events::WINDOWS_ON_CREATED, windows::OnCreated::kEventName,
|
| window_controller, std::move(args));
|
| }
|
|
|