virtual bool perform(ExceptionState& es)
 {
     m_oldHTML = createMarkup(m_node.get());
     DOMPatchSupport domPatchSupport(m_domEditor.get(), m_node->ownerDocument());
     m_newNode = domPatchSupport.patchNode(m_node.get(), m_html, es);
     return !es.hadException();
 }
Exemplo n.º 2
0
 virtual bool perform(ExceptionCode& ec) override
 {
     m_oldHTML = createMarkup(m_node.get());
     DOMPatchSupport domPatchSupport(m_domEditor.get(), &m_node->document());
     m_newNode = domPatchSupport.patchNode(m_node.get(), m_html, ec);
     return !ec;
 }
Exemplo n.º 3
0
 bool perform(ExceptionState& exceptionState) override {
   m_oldHTML = createMarkup(m_node.get());
   ASSERT(m_node->ownerDocument());
   DOMPatchSupport domPatchSupport(m_domEditor.get(),
                                   *m_node->ownerDocument());
   m_newNode = domPatchSupport.patchNode(m_node.get(), m_html, exceptionState);
   return !exceptionState.hadException();
 }