Bug 1521564 - Add GetDocument to nsContentSink, r=mccr8

This commit is contained in:
Olli Pettay 2019-01-21 19:09:33 +02:00
Родитель ea0beadb68
Коммит 8fba17bea2
1 изменённых файлов: 2 добавлений и 0 удалений

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

@ -246,6 +246,8 @@ class nsContentSink : public nsICSSLoaderObserver,
static void NotifyDocElementCreated(Document* aDoc);
Document* GetDocument() { return mDocument; }
protected:
void FavorPerformanceHint(bool perfOverStarvation, uint32_t starvationDelay);