Bug 1055664 - Use static instead of fiend function for StartTaskThread. r=bas.schouten

This commit is contained in:
Jacek Caban 2014-08-26 13:50:38 +02:00
parent 4487a85843
commit 6192a8ddfd
2 changed files with 2 additions and 2 deletions

View File

@ -74,7 +74,7 @@ private:
NS_IMPL_ISUPPORTS(ReadbackResultWriterD3D11, nsIRunnable)
static DWORD WINAPI StartTaskThread(void *aManager)
DWORD WINAPI ReadbackManagerD3D11::StartTaskThread(void *aManager)
{
static_cast<ReadbackManagerD3D11*>(aManager)->ProcessTasks();

View File

@ -37,7 +37,7 @@ public:
private:
~ReadbackManagerD3D11();
friend DWORD WINAPI StartTaskThread(void *aManager);
static DWORD WINAPI StartTaskThread(void *aManager);
void ProcessTasks();