Bug 1347639. Add nsImageLoadingContent::AsContent to make getting the relevant nsIContent* faster. r=qdot
MozReview-Commit-ID: 9sE3pbHwYbV
This commit is contained in:
@@ -1495,6 +1495,11 @@ protected:
|
||||
uint32_t* aSelectionEnd,
|
||||
ErrorResult& aRv);
|
||||
|
||||
/**
|
||||
* Override for nsImageLoadingContent.
|
||||
*/
|
||||
nsIContent* AsContent() override { return this; }
|
||||
|
||||
nsCOMPtr<nsIControllers> mControllers;
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user