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

Unified Diff: content/test/mock_keyboard.h

Issue 1995573004: Fix "unused variable" warnings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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: content/test/mock_keyboard.h
diff --git a/content/test/mock_keyboard.h b/content/test/mock_keyboard.h
index cb12c27064c271a9cace67d3bc4f5a3505985a25..1e79e56fc76f5ae830985b58226e22935a3ffdb0 100644
--- a/content/test/mock_keyboard.h
+++ b/content/test/mock_keyboard.h
@@ -96,10 +96,9 @@ class MockKeyboard {
std::wstring* output);
private:
- Layout keyboard_layout_;
- Modifiers keyboard_modifiers_;
-
#if defined(OS_WIN)
+ Layout keyboard_layout_ = LAYOUT_NULL;
+ Modifiers keyboard_modifiers_ = INVALID;
MockKeyboardDriverWin driver_;
#endif

Powered by Google App Engine
This is Rietveld 408576698