| Index: content/test/mock_keyboard_driver_win.cc
|
| diff --git a/content/test/mock_keyboard_driver_win.cc b/content/test/mock_keyboard_driver_win.cc
|
| index 3bac80077c8c1afcb53a266a3fc1be95bd92e781..4ecf11a2fe51b0aa75674e6501bb85fd4c535686 100644
|
| --- a/content/test/mock_keyboard_driver_win.cc
|
| +++ b/content/test/mock_keyboard_driver_win.cc
|
| @@ -119,7 +119,7 @@ bool MockKeyboardDriverWin::SetLayout(int layout) {
|
| return false;
|
| }
|
|
|
| -bool MockKeyboardDriverWin::SetModifiers(int modifiers) {
|
| +void MockKeyboardDriverWin::SetModifiers(int modifiers) {
|
| // Over-write the keyboard status with our modifier-key status.
|
| // WebInputEventFactory::keyboardEvent() uses GetKeyState() to retrive
|
| // modifier-key status. So, we update the modifier-key status with this
|
| @@ -146,12 +146,10 @@ bool MockKeyboardDriverWin::SetModifiers(int modifiers) {
|
| keyboard_states_[kModifierMasks[i].key_code] = kKeyDownMask;
|
| }
|
| SetKeyboardState(&keyboard_states_[0]);
|
| -
|
| - return true;
|
| }
|
|
|
| int MockKeyboardDriverWin::GetCharacters(int key_code,
|
| - std::wstring* output) {
|
| + std::wstring* output) const {
|
| // Retrieve Unicode characters composed from the input key-code and
|
| // the mofifiers.
|
| CHECK(output);
|
|
|