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

Unified Diff: ui/keyboard/keyboard.cc

Issue 1130753004: virtual keyboard: It is not longer necessary to 'reset' for tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 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
« no previous file with comments | « ui/keyboard/keyboard.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/keyboard/keyboard.cc
diff --git a/ui/keyboard/keyboard.cc b/ui/keyboard/keyboard.cc
index 436b93595f925ec97be82f1ee69b977330e615a5..4e26637c9a3511012221e24682bbfc016e20a7ff 100644
--- a/ui/keyboard/keyboard.cc
+++ b/ui/keyboard/keyboard.cc
@@ -10,13 +10,8 @@
namespace keyboard {
-static bool initialized = false;
-
-void ResetKeyboardForTesting() {
- initialized = false;
-}
-
void InitializeKeyboard() {
+ static bool initialized = false;
if (initialized)
return;
initialized = true;
« no previous file with comments | « ui/keyboard/keyboard.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698