Bug 514280 Stop using nsCOMPtr for concrete types r=bsmedberg
This commit is contained in:
@@ -362,7 +362,7 @@ nsAppShell::ProcessNextNativeEvent(bool mayWait)
|
||||
int32_t tabId = curEvent->MetaState();
|
||||
const nsTArray<nsIntPoint>& points = curEvent->Points();
|
||||
RefCountedJavaObject* buffer = curEvent->ByteBuffer();
|
||||
nsCOMPtr<ThumbnailRunnable> sr = new ThumbnailRunnable(mBrowserApp, tabId, points, buffer);
|
||||
nsRefPtr<ThumbnailRunnable> sr = new ThumbnailRunnable(mBrowserApp, tabId, points, buffer);
|
||||
MessageLoop::current()->PostIdleTask(FROM_HERE, NewRunnableMethod(sr.get(), &ThumbnailRunnable::Run));
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user