| Index: ui/display/chromeos/test/test_native_display_delegate.cc
|
| diff --git a/ui/display/chromeos/test/test_native_display_delegate.cc b/ui/display/chromeos/test/test_native_display_delegate.cc
|
| index ffcf2f32e47d611fc35c31fa608ed06bc42da3e2..0da2e1190f1ab0c6853dfb7aee1e81190924073d 100644
|
| --- a/ui/display/chromeos/test/test_native_display_delegate.cc
|
| +++ b/ui/display/chromeos/test/test_native_display_delegate.cc
|
| @@ -56,18 +56,13 @@ void TestNativeDisplayDelegate::ForceDPMSOn() {
|
| log_->AppendAction(kForceDPMS);
|
| }
|
|
|
| -std::vector<DisplaySnapshot*> TestNativeDisplayDelegate::GetDisplays() {
|
| - return outputs_;
|
| -}
|
| -
|
| void TestNativeDisplayDelegate::GetDisplays(
|
| const GetDisplaysCallback& callback) {
|
| - auto result = GetDisplays();
|
| if (run_async_) {
|
| base::MessageLoop::current()->PostTask(FROM_HERE,
|
| - base::Bind(callback, result));
|
| + base::Bind(callback, outputs_));
|
| } else {
|
| - callback.Run(result);
|
| + callback.Run(outputs_);
|
| }
|
| }
|
|
|
|
|