Bug 1347639. Add nsImageLoadingContent::AsContent to make getting the relevant nsIContent* faster. r=qdot
MozReview-Commit-ID: 9sE3pbHwYbV
This commit is contained in:
@@ -252,6 +252,10 @@ public:
|
||||
*/
|
||||
void StartObjectLoad(bool aNotify, bool aForceLoad);
|
||||
|
||||
protected:
|
||||
// Override for nsImageLoadingContent.
|
||||
nsIContent* AsContent() override { return this; }
|
||||
|
||||
private:
|
||||
/**
|
||||
* Returns if the element is currently focusable regardless of it's tabindex
|
||||
|
||||
Reference in New Issue
Block a user