diff options
author | derat@chromium.org <derat@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-29 19:54:24 +0000 |
---|---|---|
committer | derat@chromium.org <derat@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-29 19:54:24 +0000 |
commit | eb5614468cee0ca2f6db9bf69dfa97bf942a0a64 (patch) | |
tree | e32860f5a3b204051e2ce85ee261ee298393700c /chromeos/dbus/fake_power_manager_client.h | |
parent | 4859d067e10a262569b41a4558cb38f04d0bef54 (diff) | |
download | chromium_src-eb5614468cee0ca2f6db9bf69dfa97bf942a0a64.zip chromium_src-eb5614468cee0ca2f6db9bf69dfa97bf942a0a64.tar.gz chromium_src-eb5614468cee0ca2f6db9bf69dfa97bf942a0a64.tar.bz2 |
chromeos: Fix lock-before-suspend regression.
This fixes an uninitialized member variable in
ash::internal::PowerEventObserver that could result in the
screen not getting locked before the system goes to sleep.
BUG=312210
Review URL: https://codereview.chromium.org/49743004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231622 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chromeos/dbus/fake_power_manager_client.h')
-rw-r--r-- | chromeos/dbus/fake_power_manager_client.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chromeos/dbus/fake_power_manager_client.h b/chromeos/dbus/fake_power_manager_client.h index d89bb51..ae1adc5 100644 --- a/chromeos/dbus/fake_power_manager_client.h +++ b/chromeos/dbus/fake_power_manager_client.h @@ -47,6 +47,7 @@ class FakePowerManagerClient : public PowerManagerClient { const power_manager::PowerManagementPolicy& policy) OVERRIDE; virtual void SetIsProjecting(bool is_projecting) OVERRIDE; virtual base::Closure GetSuspendReadinessCallback() OVERRIDE; + virtual int GetNumPendingSuspendReadinessCallbacks() OVERRIDE; power_manager::PowerManagementPolicy& get_policy() { return policy_; } |