summaryrefslogtreecommitdiff
path: root/dom/html/nsDOMStringMap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dom/html/nsDOMStringMap.cpp')
-rw-r--r--dom/html/nsDOMStringMap.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/dom/html/nsDOMStringMap.cpp b/dom/html/nsDOMStringMap.cpp
index 6d2bc424d3..7e2ed0ece3 100644
--- a/dom/html/nsDOMStringMap.cpp
+++ b/dom/html/nsDOMStringMap.cpp
@@ -62,6 +62,12 @@ nsDOMStringMap::~nsDOMStringMap()
}
}
+DocGroup*
+nsDOMStringMap::GetDocGroup() const
+{
+ return mElement ? mElement->GetDocGroup() : nullptr;
+}
+
/* virtual */
JSObject*
nsDOMStringMap::WrapObject(JSContext *cx, JS::Handle<JSObject*> aGivenProto)