Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2771)

Unified Diff: athena/input/input_manager_impl.cc

Issue 332443005: Enable accelerators on web activity window (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: athena/input/input_manager_impl.cc
diff --git a/athena/input/input_manager_impl.cc b/athena/input/input_manager_impl.cc
index 6a74a3896c5176d7d0238da7bd9175c0ff96601b..b0b11a9e39ed4f4d196a745fca4519a563cc64bd 100644
--- a/athena/input/input_manager_impl.cc
+++ b/athena/input/input_manager_impl.cc
@@ -54,7 +54,8 @@ class InputManagerImpl : public InputManager,
};
InputManagerImpl::InputManagerImpl()
- : accelerator_manager_(new AcceleratorManagerImpl) {
+ : accelerator_manager_(
+ AcceleratorManagerImpl::CreateGlobalAcceleratorManager()) {
DCHECK(!instance);
instance = this;
}

Powered by Google App Engine
This is Rietveld 408576698