| Index: ui/views/examples/examples_main.cc
|
| diff --git a/ui/views/examples/examples_main.cc b/ui/views/examples/examples_main.cc
|
| index a2f87391c29d968f763bafbcb41ccaa6cba39c82..1802d0efee55621993dd6e606ce9298d9d4ef8aa 100644
|
| --- a/ui/views/examples/examples_main.cc
|
| +++ b/ui/views/examples/examples_main.cc
|
| @@ -8,6 +8,8 @@
|
| #include "base/i18n/icu_util.h"
|
| #include "base/message_loop/message_loop.h"
|
| #include "base/path_service.h"
|
| +#include "base/power_monitor/power_monitor.h"
|
| +#include "base/power_monitor/power_monitor_device_source.h"
|
| #include "base/run_loop.h"
|
| #include "ui/base/ime/input_method_initializer.h"
|
| #include "ui/base/resource/resource_bundle.h"
|
| @@ -70,6 +72,9 @@ int main(int argc, char** argv) {
|
| DCHECK(PathService::Get(ui::UI_TEST_PAK, &ui_test_pak_path));
|
| ui::ResourceBundle::InitSharedInstanceWithPakPath(ui_test_pak_path);
|
|
|
| + base::PowerMonitor power_monitor(make_scoped_ptr(
|
| + new base::PowerMonitorDeviceSource));
|
| +
|
| #if defined(OS_WIN)
|
| gfx::win::MaybeInitializeDirectWrite();
|
| #endif
|
|
|