Index: chrome/browser/chromeos/input_method/input_method_engine.cc |
diff --git a/chrome/browser/chromeos/input_method/input_method_engine.cc b/chrome/browser/chromeos/input_method/input_method_engine.cc |
index 6a1dfed608643405d1c99c73cd16b58c294bf7c2..ee15c7c0c291fa8391dd9d2deb74b450031c6834 100644 |
--- a/chrome/browser/chromeos/input_method/input_method_engine.cc |
+++ b/chrome/browser/chromeos/input_method/input_method_engine.cc |
@@ -39,12 +39,13 @@ |
#endif |
namespace chromeos { |
-const char* kErrorNotActive = "IME is not active"; |
-const char* kErrorWrongContext = "Context is not active"; |
-const char* kCandidateNotFound = "Candidate not found"; |
namespace { |
+const char kErrorNotActive[] = "IME is not active"; |
+const char kErrorWrongContext[] = "Context is not active"; |
+const char kCandidateNotFound[] = "Candidate not found"; |
+ |
// Notifies InputContextHandler that the composition is changed. |
void UpdateComposition(const CompositionText& composition_text, |
uint32 cursor_pos, |
@@ -620,7 +621,7 @@ void InputMethodEngine::ProcessKeyEvent( |
const ui::KeyEvent& key_event, |
const KeyEventDoneCallback& callback) { |
- KeyEventDoneCallback *handler = new KeyEventDoneCallback(); |
+ KeyEventDoneCallback* handler = new KeyEventDoneCallback(); |
*handler = callback; |
KeyboardEvent ext_event; |