зеркало из https://github.com/mozilla/gecko-dev.git
Bug 650505 - Get rid of ComputedCSSStyleDeclaration. r=dbaron,jst,peterv
This commit is contained in:
Родитель
42df24b2c8
Коммит
2839a37fa0
|
@ -908,8 +908,6 @@ static nsDOMClassInfoData sClassInfoData[] = {
|
|||
DOM_DEFAULT_SCRIPTABLE_FLAGS)
|
||||
NS_DEFINE_CLASSINFO_DATA(CSSStyleDeclaration, nsCSSStyleDeclSH,
|
||||
ARRAY_SCRIPTABLE_FLAGS)
|
||||
NS_DEFINE_CLASSINFO_DATA(ComputedCSSStyleDeclaration, nsCSSStyleDeclSH,
|
||||
ARRAY_SCRIPTABLE_FLAGS)
|
||||
NS_DEFINE_CLASSINFO_DATA(ROCSSPrimitiveValue, nsDOMGenericSH,
|
||||
DOM_DEFAULT_SCRIPTABLE_FLAGS)
|
||||
|
||||
|
@ -3004,12 +3002,6 @@ nsDOMClassInfo::Init()
|
|||
DOM_CLASSINFO_MAP_ENTRY(nsIDOMCSS2Properties)
|
||||
DOM_CLASSINFO_MAP_END
|
||||
|
||||
DOM_CLASSINFO_MAP_BEGIN_NO_CLASS_IF(ComputedCSSStyleDeclaration,
|
||||
nsIDOMCSSStyleDeclaration)
|
||||
DOM_CLASSINFO_MAP_ENTRY(nsIDOMCSSStyleDeclaration)
|
||||
DOM_CLASSINFO_MAP_ENTRY(nsIDOMCSS2Properties)
|
||||
DOM_CLASSINFO_MAP_END
|
||||
|
||||
DOM_CLASSINFO_MAP_BEGIN_NO_CLASS_IF(ROCSSPrimitiveValue,
|
||||
nsIDOMCSSPrimitiveValue)
|
||||
DOM_CLASSINFO_MAP_ENTRY(nsIDOMCSSPrimitiveValue)
|
||||
|
|
|
@ -156,7 +156,6 @@ DOMCI_CLASS(MediaList)
|
|||
DOMCI_CLASS(StyleSheetList)
|
||||
DOMCI_CLASS(CSSStyleSheet)
|
||||
DOMCI_CLASS(CSSStyleDeclaration)
|
||||
DOMCI_CLASS(ComputedCSSStyleDeclaration)
|
||||
DOMCI_CLASS(ROCSSPrimitiveValue)
|
||||
|
||||
// Range classes
|
||||
|
|
|
@ -161,19 +161,11 @@ nsComputedDOMStyle::Shutdown()
|
|||
|
||||
NS_IMPL_CYCLE_COLLECTION_1(nsComputedDOMStyle, mContent)
|
||||
|
||||
DOMCI_DATA(ComputedCSSStyleDeclaration, nsComputedDOMStyle)
|
||||
|
||||
// QueryInterface implementation for nsComputedDOMStyle
|
||||
NS_INTERFACE_TABLE_HEAD(nsComputedDOMStyle)
|
||||
NS_INTERFACE_TABLE3(nsComputedDOMStyle,
|
||||
nsICSSDeclaration,
|
||||
nsIDOMCSSStyleDeclaration,
|
||||
nsIDOMCSS2Properties)
|
||||
NS_INTERFACE_TABLE_TO_MAP_SEGUE
|
||||
NS_INTERFACE_MAP_BEGIN(nsComputedDOMStyle)
|
||||
NS_WRAPPERCACHE_INTERFACE_MAP_ENTRY
|
||||
NS_INTERFACE_MAP_ENTRIES_CYCLE_COLLECTION(nsComputedDOMStyle)
|
||||
NS_DOM_INTERFACE_MAP_ENTRY_CLASSINFO(ComputedCSSStyleDeclaration)
|
||||
NS_INTERFACE_MAP_END
|
||||
NS_INTERFACE_MAP_END_INHERITING(nsDOMCSSDeclaration)
|
||||
|
||||
|
||||
static void doDestroyComputedDOMStyle(nsComputedDOMStyle *aComputedStyle)
|
||||
|
|
Загрузка…
Ссылка в новой задаче