Bug 563659 part 1 - Override GetNameSpaceElement in nsDocumentFragment; r=bz
authorAryeh Gregor <ayg@aryeh.name>
Fri, 15 Jun 2012 15:16:20 +0300
changeset 101077 657325841098ea7d7d4a95dee89382700fad7af4
parent 101076 7a62a2433ba157ae96c2ba4ab79652222bb3c0df
child 101078 bc6363649ed4aa56d79d4e4823a43a79774a596d
push id23212
push useremorley@mozilla.com
push dateWed, 01 Aug 2012 17:36:50 +0000
treeherdermozilla-central@bcfe6817a213 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbz
bugs563659
milestone17.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 563659 part 1 - Override GetNameSpaceElement in nsDocumentFragment; r=bz
content/base/src/nsDocumentFragment.cpp
--- a/content/base/src/nsDocumentFragment.cpp
+++ b/content/base/src/nsDocumentFragment.cpp
@@ -68,16 +68,21 @@ public:
 
   virtual nsXPCClassInfo* GetClassInfo();
 
   virtual nsIDOMNode* AsDOMNode() { return this; }
 
   virtual nsIAtom* DoGetID() const;
   virtual nsIAtom *GetIDAttributeName() const;
 
+  virtual Element* GetNameSpaceElement()
+  {
+    return nullptr;
+  }
+
 protected:
   nsresult Clone(nsINodeInfo *aNodeInfo, nsINode **aResult) const;
 };
 
 nsresult
 NS_NewDocumentFragment(nsIDOMDocumentFragment** aInstancePtrResult,
                        nsNodeInfoManager *aNodeInfoManager)
 {