Bug 1296509 - Optimize GetFlattenedTreeParent. r=smaug

We need to call it on some hot paths in stylo, and this allows us to do
quick inline check before delegating to the slow path.
This commit is contained in:
Bobby Holley
2016-08-18 17:03:49 -07:00
parent 5e08b0a816
commit e55613ed13
14 changed files with 70 additions and 9 deletions

View File

@@ -17,6 +17,7 @@
#include "nsGenericHTMLElement.h"
#include "nsGkAtoms.h"
#include "nsDOMTokenList.h"
#include "nsIContentInlines.h"
#include "nsIDocument.h"
#include "nsIDOMEvent.h"
#include "nsIDOMStyleSheet.h"