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

Unified Diff: ceee/ie/broker/broker_rpc_client.cc

Issue 5649001: Revert 68292 - Revert 68291 - DCHECK to detect invalid BrokerRpcClient usage.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 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: ceee/ie/broker/broker_rpc_client.cc
===================================================================
--- ceee/ie/broker/broker_rpc_client.cc (revision 68296)
+++ ceee/ie/broker/broker_rpc_client.cc (working copy)
@@ -166,8 +166,10 @@
if (!rpc_function) {
RpcDcheck("rpc_function is NULL");
}
- if (!is_connected())
+ if (!is_connected()) {
+ RpcDcheck("BrokerRpcClient is not connected");
return RPC_E_FAULT;
+ }
RpcTryExcept {
DispatchToFunction(rpc_function, params);
return S_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