| Index: chrome/browser/extensions/api/system_display/system_display_api.cc
|
| diff --git a/chrome/browser/extensions/api/system_display/system_display_api.cc b/chrome/browser/extensions/api/system_display/system_display_api.cc
|
| index 95074fa52b5ac8c321619362ec94c1a3d8304366..faccf3d9e8a965571d9801f88ef3f0d5a2b3ff1e 100644
|
| --- a/chrome/browser/extensions/api/system_display/system_display_api.cc
|
| +++ b/chrome/browser/extensions/api/system_display/system_display_api.cc
|
| @@ -24,14 +24,14 @@ namespace SetDisplayProperties = api::system_display::SetDisplayProperties;
|
| typedef std::vector<linked_ptr<
|
| api::system_display::DisplayUnitInfo> > DisplayInfo;
|
|
|
| -bool SystemDisplayGetInfoFunction::RunImpl() {
|
| +bool SystemDisplayGetInfoFunction::RunSync() {
|
| DisplayInfo all_displays_info =
|
| DisplayInfoProvider::Get()->GetAllDisplaysInfo();
|
| results_ = api::system_display::GetInfo::Results::Create(all_displays_info);
|
| return true;
|
| }
|
|
|
| -bool SystemDisplaySetDisplayPropertiesFunction::RunImpl() {
|
| +bool SystemDisplaySetDisplayPropertiesFunction::RunSync() {
|
| #if !defined(OS_CHROMEOS)
|
| SetError("Function available only on ChromeOS.");
|
| return false;
|
|
|