Refactor ShadowRoot exception handling
[WebKit-https.git] / Source / WebCore / dom / ElementShadow.h
index 5ec3d53..5ffc080 100644 (file)
@@ -56,7 +56,7 @@ public:
     ShadowRoot* oldestShadowRoot() const { return m_shadowRoots.tail(); }
     ElementShadow* containingShadow() const;
 
-    void addShadowRoot(Element* shadowHost, PassRefPtr<ShadowRoot>, ShadowRoot::ShadowRootType, ExceptionCode&);
+    void addShadowRoot(Element* shadowHost, PassRefPtr<ShadowRoot>, ShadowRoot::ShadowRootType);
 
     void attach();
     void detach();