diff options
author | joi@chromium.org <joi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-04 18:57:55 +0000 |
---|---|---|
committer | joi@chromium.org <joi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-04 18:57:55 +0000 |
commit | 7cacc379d0c70d015b84f996bd368728e1183ae2 (patch) | |
tree | 83470c4326230d2ffa41d7574db34dfeacaabdf2 /ceee | |
parent | 3a6eee2d0d925423c981cb8d798605614f87305d (diff) | |
download | chromium_src-7cacc379d0c70d015b84f996bd368728e1183ae2.zip chromium_src-7cacc379d0c70d015b84f996bd368728e1183ae2.tar.gz chromium_src-7cacc379d0c70d015b84f996bd368728e1183ae2.tar.bz2 |
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
Diffstat (limited to 'ceee')
-rw-r--r-- | ceee/ie/broker/broker_rpc_client.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ceee/ie/broker/broker_rpc_client.cc b/ceee/ie/broker/broker_rpc_client.cc index 5d745b22..33e7d00 100644 --- a/ceee/ie/broker/broker_rpc_client.cc +++ b/ceee/ie/broker/broker_rpc_client.cc @@ -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; |