| Index: chrome/browser/extensions/window_controller_list.cc
|
| diff --git a/chrome/browser/extensions/window_controller_list.cc b/chrome/browser/extensions/window_controller_list.cc
|
| index 608d3e5a9576c3de8c9a301e2307c8310078b911..230ec5145ba6bbac1a3ada40944ebee24e1e61fb 100644
|
| --- a/chrome/browser/extensions/window_controller_list.cc
|
| +++ b/chrome/browser/extensions/window_controller_list.cc
|
| @@ -62,7 +62,7 @@ WindowController* WindowControllerList::FindWindowById(int id) const {
|
| }
|
|
|
| WindowController* WindowControllerList::FindWindowForFunctionById(
|
| - const ChromeAsyncExtensionFunction* function,
|
| + const ChromeUIThreadExtensionFunction* function,
|
| int id) const {
|
| WindowController* controller = FindWindowById(id);
|
| if (controller && function->CanOperateOnWindow(controller))
|
| @@ -71,7 +71,7 @@ WindowController* WindowControllerList::FindWindowForFunctionById(
|
| }
|
|
|
| WindowController* WindowControllerList::CurrentWindowForFunction(
|
| - const ChromeAsyncExtensionFunction* function) const {
|
| + const ChromeUIThreadExtensionFunction* function) const {
|
| WindowController* result = NULL;
|
| // Returns either the focused window (if any), or the last window in the list.
|
| for (ControllerList::const_iterator iter = windows().begin();
|
|
|