Bug 1449806: Final touch. r?xidorn
MozReview-Commit-ID: 10rrvf728QN
--- a/dom/base/nsMappedAttributeElement.h
+++ b/dom/base/nsMappedAttributeElement.h
@@ -8,24 +8,27 @@
* nsMappedAttributeElement is the base for elements supporting style mapped
* attributes via nsMappedAttributes (HTML and MathML).
*/
#ifndef NS_MAPPEDATTRIBUTEELEMENT_H_
#define NS_MAPPEDATTRIBUTEELEMENT_H_
#include "mozilla/Attributes.h"
-#include "mozilla/GenericSpecifiedValues.h"
#include "nsStyledElement.h"
+namespace mozilla {
+class MappedDeclarations;
+}
+
class nsMappedAttributes;
struct nsRuleData;
typedef void (*nsMapRuleToAttributesFunc)(const nsMappedAttributes* aAttributes,
- mozilla::MappedDeclarations& aData);
+ mozilla::MappedDeclarations&);
typedef nsStyledElement nsMappedAttributeElementBase;
class nsMappedAttributeElement : public nsMappedAttributeElementBase
{
protected:
--- a/dom/base/nsMappedAttributes.cpp
+++ b/dom/base/nsMappedAttributes.cpp
@@ -7,20 +7,19 @@
/*
* A unique per-element set of attributes that is used as an
* nsIStyleRule; used to implement presentational attributes.
*/
#include "nsMappedAttributes.h"
#include "nsHTMLStyleSheet.h"
#include "mozilla/DeclarationBlock.h"
-#include "mozilla/GenericSpecifiedValues.h"
#include "mozilla/HashFunctions.h"
+#include "mozilla/MappedDeclarations.h"
#include "mozilla/MemoryReporting.h"
-#include "mozilla/ServoSpecifiedValues.h"
using namespace mozilla;
bool
nsMappedAttributes::sShuttingDown = false;
nsTArray<void*>*
nsMappedAttributes::sCachedMappedAttributeAllocations = nullptr;