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

Unified Diff: remoting/host/linux/x11_character_injector.cc

Issue 2888733002: Adding ThreadChecker validation to d'tors for host classes (Closed)
Patch Set: Created 3 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 | « remoting/host/linux/certificate_watcher.cc ('k') | remoting/host/mouse_shape_pump.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/linux/x11_character_injector.cc
diff --git a/remoting/host/linux/x11_character_injector.cc b/remoting/host/linux/x11_character_injector.cc
index b25afe254842c47789965c5a3dbcd3f5c366ea66..bc5668ff1004434e7bbe5d7521f888037511d5d8 100644
--- a/remoting/host/linux/x11_character_injector.cc
+++ b/remoting/host/linux/x11_character_injector.cc
@@ -44,6 +44,7 @@ X11CharacterInjector::X11CharacterInjector(
}
X11CharacterInjector::~X11CharacterInjector() {
+ DCHECK(thread_checker_.CalledOnValidThread());
// Clear all used key mappings.
for (const KeyInfo& info : available_keycodes_) {
if (!info.expire_at.is_null()) {
« no previous file with comments | « remoting/host/linux/certificate_watcher.cc ('k') | remoting/host/mouse_shape_pump.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698