Skip to content
Snippets Groups Projects
Commit 7cacc379 authored by joi@chromium.org's avatar joi@chromium.org
Browse files

Revert 68291 - DCHECK to detect invalid BrokerRpcClient usage.

BUG=none
TEST=none

Review URL: http://codereview.chromium.org/5606005

TBR=vitalybuka@chromium.org
Review URL: http://codereview.chromium.org/5609005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68292 0039d316-1c4b-4281-b951-d872f2087c98
parent 3a6eee2d
No related merge requests found
......@@ -166,10 +166,8 @@ HRESULT BrokerRpcClient::RunRpc(bool allow_restart,
if (!rpc_function) {
RpcDcheck("rpc_function is NULL");
}
if (!is_connected()) {
RpcDcheck("BrokerRpcClient is not connected");
if (!is_connected())
return RPC_E_FAULT;
}
RpcTryExcept {
DispatchToFunction(rpc_function, params);
return S_OK;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment