summaryrefslogtreecommitdiffstats
path: root/ceee
diff options
context:
space:
mode:
authorjoi@chromium.org <joi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-04 20:46:28 +0000
committerjoi@chromium.org <joi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-04 20:46:28 +0000
commitf632ee43959fb2ac545558468dd1ea00d95f80e8 (patch)
tree4454749b98d37fc6705f67c4e774457b22c20c74 /ceee
parent6d054d9a4318fd6bbc73ec289b38db1a1898c57a (diff)
downloadchromium_src-f632ee43959fb2ac545558468dd1ea00d95f80e8.zip
chromium_src-f632ee43959fb2ac545558468dd1ea00d95f80e8.tar.gz
chromium_src-f632ee43959fb2ac545558468dd1ea00d95f80e8.tar.bz2
Revert 68292 - Revert 68291 - DCHECK to detect invalid BrokerRpcClient usage.
(relanding for vitalybuka@chromium.org) BUG=none TEST=none Review URL: http://codereview.chromium.org/5606005 TBR=vitalybuka@chromium.org Review URL: http://codereview.chromium.org/5609005 TBR=joi@chromium.org Review URL: http://codereview.chromium.org/5649001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68297 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ceee')
-rw-r--r--ceee/ie/broker/broker_rpc_client.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/ceee/ie/broker/broker_rpc_client.cc b/ceee/ie/broker/broker_rpc_client.cc
index 33e7d00..5d745b22 100644
--- a/ceee/ie/broker/broker_rpc_client.cc
+++ b/ceee/ie/broker/broker_rpc_client.cc
@@ -166,8 +166,10 @@ HRESULT BrokerRpcClient::RunRpc(bool allow_restart,
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;