diff --git a/layout/style/nsComputedDOMStyle.h b/layout/style/nsComputedDOMStyle.h index dbe63acce..72b67cd56 100644 --- a/layout/style/nsComputedDOMStyle.h +++ b/layout/style/nsComputedDOMStyle.h @@ -75,7 +75,7 @@ public: nsINode *GetParentObject() override { - return mElement; + return reinterpret_cast(mElement.get()); } static already_AddRefed