summaryrefslogtreecommitdiff
path: root/dom/base/nsGlobalWindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dom/base/nsGlobalWindow.cpp')
-rw-r--r--dom/base/nsGlobalWindow.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/dom/base/nsGlobalWindow.cpp b/dom/base/nsGlobalWindow.cpp
index b8cb1facbd..3d5c44a789 100644
--- a/dom/base/nsGlobalWindow.cpp
+++ b/dom/base/nsGlobalWindow.cpp
@@ -763,9 +763,8 @@ nsGlobalWindow::RunIdleRequest(IdleRequest* aRequest,
{
AssertIsOnMainThread();
RefPtr<IdleRequest> request(aRequest);
- nsresult result = request->IdleRun(AsInner(), aDeadline, aDidTimeout);
RemoveIdleCallback(request);
- return result;
+ return request->IdleRun(AsInner(), aDeadline, aDidTimeout);
}
nsresult