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

Unified Diff: extensions/browser/api/cast_channel/cast_transport.cc

Issue 2044603002: Remove unnecessary posted task in cast_transport.cc. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. Created 4 years, 6 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: extensions/browser/api/cast_channel/cast_transport.cc
diff --git a/extensions/browser/api/cast_channel/cast_transport.cc b/extensions/browser/api/cast_channel/cast_transport.cc
index b3fe918505238d83b6a03540de2fb5913f52e414..04ab8f29532cea5d355d86afa7dc662a2f7b8c87 100644
--- a/extensions/browser/api/cast_channel/cast_transport.cc
+++ b/extensions/browser/api/cast_channel/cast_transport.cc
@@ -327,8 +327,6 @@ int CastTransportImpl::DoWriteCallback() {
logger_->LogSocketEventForMessage(
channel_id_, proto::MESSAGE_WRITTEN, request.message_namespace,
base::StringPrintf("Bytes: %d", bytes_consumed));
- base::ThreadTaskRunnerHandle::Get()->PostTask(FROM_HERE,
- base::Bind(&base::DoNothing));
base::ThreadTaskRunnerHandle::Get()->PostTask(
FROM_HERE, base::Bind(request.callback, net::OK));
« 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