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

Unified Diff: ui/events/ozone/layout/xkb/xkb_keyboard_layout_engine.cc

Issue 880283003: Absence of keyboard layout is fatal. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: failure to set is fatal Created 5 years, 11 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/ozone/layout/xkb/xkb_keyboard_layout_engine.cc
diff --git a/ui/events/ozone/layout/xkb/xkb_keyboard_layout_engine.cc b/ui/events/ozone/layout/xkb/xkb_keyboard_layout_engine.cc
index 559463f6a55712a9190a70428feb388e517aabb5..c1bfca67fabcc69dd6883cd40e523300e95b8b24 100644
--- a/ui/events/ozone/layout/xkb/xkb_keyboard_layout_engine.cc
+++ b/ui/events/ozone/layout/xkb/xkb_keyboard_layout_engine.cc
@@ -652,7 +652,7 @@ void LoadKeymap(const std::string& layout_name,
reply_runner->PostTask(FROM_HERE, base::Bind(reply_callback, layout_name,
base::Passed(&keymap_str)));
} else {
- LOG(ERROR) << "Keymap file failed to load: " << layout_name;
+ LOG(FATAL) << "Keymap file failed to load: " << layout_name;
}
}
#endif
@@ -730,7 +730,7 @@ void XkbKeyboardLayoutEngine::OnKeymapLoaded(
if (layout_name == current_layout_name_)
SetKeymap(keymap);
} else {
- LOG(ERROR) << "Keymap file failed to load: " << layout_name;
+ LOG(FATAL) << "Keymap file failed to load: " << layout_name;
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698