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

Unified Diff: content/renderer/input/input_event_filter.cc

Issue 2540303002: Downgrade CHECK added for failing PostTask (Closed)
Patch Set: Downgrade CHECK added for failing PostTask to LOG(WARNING) Created 4 years 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: content/renderer/input/input_event_filter.cc
diff --git a/content/renderer/input/input_event_filter.cc b/content/renderer/input/input_event_filter.cc
index dcd4ec546be54b817feeea7b5e0dfb668c604ba8..23dcbc093661de711dbf732d99105ec8cc99d3cd 100644
--- a/content/renderer/input/input_event_filter.cc
+++ b/content/renderer/input/input_event_filter.cc
@@ -179,10 +179,10 @@ bool InputEventFilter::OnMessageReceived(const IPC::Message& message) {
return false;
}
- CHECK(target_task_runner_->PostTask(
+ bool postedTask = target_task_runner_->PostTask(
FROM_HERE, base::Bind(&InputEventFilter::ForwardToHandler, this, message,
- received_time)))
- << "PostTask failed";
+ received_time));
+ LOG_IF(WARNING, !postedTask) << "PostTask failed";
return true;
}
« 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