summaryrefslogtreecommitdiffstats
path: root/ceee
diff options
context:
space:
mode:
authormad@google.com <mad@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-08 13:55:42 +0000
committermad@google.com <mad@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-08 13:55:42 +0000
commit28fa6146eb31f6936a0db8bcfd5e292f3d62b0ca (patch)
treec594e2f5d093ce1549070a0d1b8435ab9ff96c5f /ceee
parent342ded258a9cc121b2371331b108e4e55a315f9a (diff)
downloadchromium_src-28fa6146eb31f6936a0db8bcfd5e292f3d62b0ca.zip
chromium_src-28fa6146eb31f6936a0db8bcfd5e292f3d62b0ca.tar.gz
chromium_src-28fa6146eb31f6936a0db8bcfd5e292f3d62b0ca.tar.bz2
Small fix to properly return the appropriate type.
BUG=None TEST=None Review URL: http://codereview.chromium.org/5588008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68595 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ceee')
-rw-r--r--ceee/ie/plugin/bho/executor.cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/ceee/ie/plugin/bho/executor.cc b/ceee/ie/plugin/bho/executor.cc
index 56c8e97..eb80047 100644
--- a/ceee/ie/plugin/bho/executor.cc
+++ b/ceee/ie/plugin/bho/executor.cc
@@ -243,7 +243,12 @@ STDMETHODIMP AsyncTabCall::Begin_GetTabInfo() {
// We do all the work on Finish_GetTabInfo, so schedule only a noop
// invocation. Alternatively we could schedule NULL here, though that
// would make it more difficult to distinguish error cases.
- return ScheduleTask(NewRunnableFunction(Noop));
+ if (!ScheduleTask(NewRunnableFunction(Noop))) {
+ LOG(ERROR) << "Failed to schedule Noop task";
+ return E_OUTOFMEMORY;
+ }
+
+ return S_OK;
}
STDMETHODIMP AsyncTabCall::Finish_GetTabInfo(CeeeTabInfo *tab_info) {