bug 766304 - ScopedGfxFeatureReporter uses observer service off the main thread, follow up to fix windows builders r=bustage

This commit is contained in:
Brad Lassey 2012-06-19 17:11:38 -07:00
Родитель 3343dbe740
Коммит 9c06940765
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -55,7 +55,7 @@ class ScopedGfxFeatureReporter::AppNoteWritingRunnable : public nsRunnable {
public:
AppNoteWritingRunnable(char aStatusChar, const char *aFeature) :
mStatusChar(aStatusChar), mFeature(aFeature) {}
virtual nsresult Run() {
NS_IMETHOD Run() {
// LeakLog made me do this. Basically, I just wanted gFeaturesAlreadyReported to be a static nsTArray<nsCString>,
// and LeakLog was complaining about leaks like this:
// leaked 1 instance of nsTArray_base with size 8 bytes