summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
Diffstat (limited to 'indra')
-rwxr-xr-xindra/newview/lltexturefetch.cpp4
-rw-r--r--indra/newview/lltexturefetch.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/lltexturefetch.cpp b/indra/newview/lltexturefetch.cpp
index efaeafbe78..718b15825d 100755
--- a/indra/newview/lltexturefetch.cpp
+++ b/indra/newview/lltexturefetch.cpp
@@ -924,7 +924,7 @@ LLTextureFetchWorker::~LLTextureFetchWorker()
mHttpBufferArray = NULL;
}
unlockWorkMutex(); // -Mw
- mFetcher->removeFromHTTPQueue(mID);
+ mFetcher->removeFromHTTPQueue(mID, 0);
mFetcher->removeHttpWaiter(mID);
mFetcher->updateStateStats(mCacheReadCount, mCacheWriteCount, mResourceWaitCount);
}
@@ -1875,7 +1875,7 @@ void LLTextureFetchWorker::onCompleted(LLCore::HttpHandle handle, LLCore::HttpRe
}
}
- mFetcher->removeFromHTTPQueue(mID);
+ mFetcher->removeFromHTTPQueue(mID, data_size);
recordTextureDone(true);
} // -Mw
diff --git a/indra/newview/lltexturefetch.h b/indra/newview/lltexturefetch.h
index 115e471bc9..95ec8c65c0 100644
--- a/indra/newview/lltexturefetch.h
+++ b/indra/newview/lltexturefetch.h
@@ -226,7 +226,7 @@ protected:
void addToHTTPQueue(const LLUUID& id);
// Threads: T*
- void removeFromHTTPQueue(const LLUUID& id, S32 received_size = 0);
+ void removeFromHTTPQueue(const LLUUID& id, S32 received_size);
// Identical to @deleteRequest but with different arguments
// (caller already has the worker pointer).