<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[176502] trunk/Source</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/176502">176502</a></dd>
<dt>Author</dt> <dd>akling@apple.com</dd>
<dt>Date</dt> <dd>2014-11-22 01:12:01 -0800 (Sat, 22 Nov 2014)</dd>
</dl>
<h3>Log Message</h3>
<pre>Convert PassRefPtr return types to RefPtr.
<https://webkit.org/b/138995>
Reviewed by Anders Carlsson.
Convert an assortment of DOM and HTML related functions
to return RefPtr instead of PassRefPtr.</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCorebindingsjsJSDOMBindingh">trunk/Source/WebCore/bindings/js/JSDOMBinding.h</a></li>
<li><a href="#trunkSourceWebCoredomAttrcpp">trunk/Source/WebCore/dom/Attr.cpp</a></li>
<li><a href="#trunkSourceWebCoredomAttrh">trunk/Source/WebCore/dom/Attr.h</a></li>
<li><a href="#trunkSourceWebCoredomCDATASectioncpp">trunk/Source/WebCore/dom/CDATASection.cpp</a></li>
<li><a href="#trunkSourceWebCoredomCDATASectionh">trunk/Source/WebCore/dom/CDATASection.h</a></li>
<li><a href="#trunkSourceWebCoredomCommentcpp">trunk/Source/WebCore/dom/Comment.cpp</a></li>
<li><a href="#trunkSourceWebCoredomCommenth">trunk/Source/WebCore/dom/Comment.h</a></li>
<li><a href="#trunkSourceWebCoredomContainerNodecpp">trunk/Source/WebCore/dom/ContainerNode.cpp</a></li>
<li><a href="#trunkSourceWebCoredomContainerNodeh">trunk/Source/WebCore/dom/ContainerNode.h</a></li>
<li><a href="#trunkSourceWebCoredomDOMImplementationcpp">trunk/Source/WebCore/dom/DOMImplementation.cpp</a></li>
<li><a href="#trunkSourceWebCoredomDOMImplementationh">trunk/Source/WebCore/dom/DOMImplementation.h</a></li>
<li><a href="#trunkSourceWebCoredomDocumentcpp">trunk/Source/WebCore/dom/Document.cpp</a></li>
<li><a href="#trunkSourceWebCoredomDocumenth">trunk/Source/WebCore/dom/Document.h</a></li>
<li><a href="#trunkSourceWebCoredomDocumentFragmentcpp">trunk/Source/WebCore/dom/DocumentFragment.cpp</a></li>
<li><a href="#trunkSourceWebCoredomDocumentFragmenth">trunk/Source/WebCore/dom/DocumentFragment.h</a></li>
<li><a href="#trunkSourceWebCoredomDocumentTypecpp">trunk/Source/WebCore/dom/DocumentType.cpp</a></li>
<li><a href="#trunkSourceWebCoredomDocumentTypeh">trunk/Source/WebCore/dom/DocumentType.h</a></li>
<li><a href="#trunkSourceWebCoredomElementcpp">trunk/Source/WebCore/dom/Element.cpp</a></li>
<li><a href="#trunkSourceWebCoredomElementh">trunk/Source/WebCore/dom/Element.h</a></li>
<li><a href="#trunkSourceWebCoredomEntityReferencecpp">trunk/Source/WebCore/dom/EntityReference.cpp</a></li>
<li><a href="#trunkSourceWebCoredomEntityReferenceh">trunk/Source/WebCore/dom/EntityReference.h</a></li>
<li><a href="#trunkSourceWebCoredomNodecpp">trunk/Source/WebCore/dom/Node.cpp</a></li>
<li><a href="#trunkSourceWebCoredomNodeh">trunk/Source/WebCore/dom/Node.h</a></li>
<li><a href="#trunkSourceWebCoredomProcessingInstructioncpp">trunk/Source/WebCore/dom/ProcessingInstruction.cpp</a></li>
<li><a href="#trunkSourceWebCoredomProcessingInstructionh">trunk/Source/WebCore/dom/ProcessingInstruction.h</a></li>
<li><a href="#trunkSourceWebCoredomPseudoElementcpp">trunk/Source/WebCore/dom/PseudoElement.cpp</a></li>
<li><a href="#trunkSourceWebCoredomPseudoElementh">trunk/Source/WebCore/dom/PseudoElement.h</a></li>
<li><a href="#trunkSourceWebCoredomShadowRooth">trunk/Source/WebCore/dom/ShadowRoot.h</a></li>
<li><a href="#trunkSourceWebCoredomTemplateContentDocumentFragmenth">trunk/Source/WebCore/dom/TemplateContentDocumentFragment.h</a></li>
<li><a href="#trunkSourceWebCoredomTextcpp">trunk/Source/WebCore/dom/Text.cpp</a></li>
<li><a href="#trunkSourceWebCoredomTexth">trunk/Source/WebCore/dom/Text.h</a></li>
<li><a href="#trunkSourceWebCoreeditingApplyStyleCommandcpp">trunk/Source/WebCore/editing/ApplyStyleCommand.cpp</a></li>
<li><a href="#trunkSourceWebCoreeditingApplyStyleCommandh">trunk/Source/WebCore/editing/ApplyStyleCommand.h</a></li>
<li><a href="#trunkSourceWebCoreeditingInsertListCommandcpp">trunk/Source/WebCore/editing/InsertListCommand.cpp</a></li>
<li><a href="#trunkSourceWebCoreeditingInsertListCommandh">trunk/Source/WebCore/editing/InsertListCommand.h</a></li>
<li><a href="#trunkSourceWebCorehtmlFTPDirectoryDocumentcpp">trunk/Source/WebCore/html/FTPDirectoryDocument.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlFTPDirectoryDocumenth">trunk/Source/WebCore/html/FTPDirectoryDocument.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLAnchorElementcpp">trunk/Source/WebCore/html/HTMLAnchorElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLAnchorElementh">trunk/Source/WebCore/html/HTMLAnchorElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLAppletElementcpp">trunk/Source/WebCore/html/HTMLAppletElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLAppletElementh">trunk/Source/WebCore/html/HTMLAppletElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLAreaElementcpp">trunk/Source/WebCore/html/HTMLAreaElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLAreaElementh">trunk/Source/WebCore/html/HTMLAreaElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLAudioElementcpp">trunk/Source/WebCore/html/HTMLAudioElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLAudioElementh">trunk/Source/WebCore/html/HTMLAudioElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLBDIElementh">trunk/Source/WebCore/html/HTMLBDIElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLBRElementcpp">trunk/Source/WebCore/html/HTMLBRElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLBRElementh">trunk/Source/WebCore/html/HTMLBRElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLBaseElementcpp">trunk/Source/WebCore/html/HTMLBaseElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLBaseElementh">trunk/Source/WebCore/html/HTMLBaseElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLBaseFontElementcpp">trunk/Source/WebCore/html/HTMLBaseFontElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLBaseFontElementh">trunk/Source/WebCore/html/HTMLBaseFontElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLBodyElementcpp">trunk/Source/WebCore/html/HTMLBodyElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLBodyElementh">trunk/Source/WebCore/html/HTMLBodyElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLButtonElementcpp">trunk/Source/WebCore/html/HTMLButtonElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLButtonElementh">trunk/Source/WebCore/html/HTMLButtonElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLCanvasElementcpp">trunk/Source/WebCore/html/HTMLCanvasElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLCanvasElementh">trunk/Source/WebCore/html/HTMLCanvasElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLDListElementcpp">trunk/Source/WebCore/html/HTMLDListElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLDListElementh">trunk/Source/WebCore/html/HTMLDListElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLDataListElementcpp">trunk/Source/WebCore/html/HTMLDataListElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLDataListElementh">trunk/Source/WebCore/html/HTMLDataListElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLDetailsElementcpp">trunk/Source/WebCore/html/HTMLDetailsElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLDetailsElementh">trunk/Source/WebCore/html/HTMLDetailsElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLDirectoryElementcpp">trunk/Source/WebCore/html/HTMLDirectoryElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLDirectoryElementh">trunk/Source/WebCore/html/HTMLDirectoryElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLDivElementcpp">trunk/Source/WebCore/html/HTMLDivElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLDivElementh">trunk/Source/WebCore/html/HTMLDivElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLDocumentcpp">trunk/Source/WebCore/html/HTMLDocument.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLDocumenth">trunk/Source/WebCore/html/HTMLDocument.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLElementcpp">trunk/Source/WebCore/html/HTMLElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLElementh">trunk/Source/WebCore/html/HTMLElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLEmbedElementcpp">trunk/Source/WebCore/html/HTMLEmbedElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLEmbedElementh">trunk/Source/WebCore/html/HTMLEmbedElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLFieldSetElementcpp">trunk/Source/WebCore/html/HTMLFieldSetElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLFieldSetElementh">trunk/Source/WebCore/html/HTMLFieldSetElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLFontElementcpp">trunk/Source/WebCore/html/HTMLFontElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLFontElementh">trunk/Source/WebCore/html/HTMLFontElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLFormElementcpp">trunk/Source/WebCore/html/HTMLFormElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLFormElementh">trunk/Source/WebCore/html/HTMLFormElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLFrameElementcpp">trunk/Source/WebCore/html/HTMLFrameElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLFrameElementh">trunk/Source/WebCore/html/HTMLFrameElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLFrameSetElementcpp">trunk/Source/WebCore/html/HTMLFrameSetElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLFrameSetElementh">trunk/Source/WebCore/html/HTMLFrameSetElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLHRElementcpp">trunk/Source/WebCore/html/HTMLHRElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLHRElementh">trunk/Source/WebCore/html/HTMLHRElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLHeadElementcpp">trunk/Source/WebCore/html/HTMLHeadElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLHeadElementh">trunk/Source/WebCore/html/HTMLHeadElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLHeadingElementcpp">trunk/Source/WebCore/html/HTMLHeadingElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLHeadingElementh">trunk/Source/WebCore/html/HTMLHeadingElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLHtmlElementcpp">trunk/Source/WebCore/html/HTMLHtmlElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLHtmlElementh">trunk/Source/WebCore/html/HTMLHtmlElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLIFrameElementcpp">trunk/Source/WebCore/html/HTMLIFrameElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLIFrameElementh">trunk/Source/WebCore/html/HTMLIFrameElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLImageElementcpp">trunk/Source/WebCore/html/HTMLImageElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLImageElementh">trunk/Source/WebCore/html/HTMLImageElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLInputElementcpp">trunk/Source/WebCore/html/HTMLInputElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLInputElementh">trunk/Source/WebCore/html/HTMLInputElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLKeygenElementcpp">trunk/Source/WebCore/html/HTMLKeygenElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLKeygenElementh">trunk/Source/WebCore/html/HTMLKeygenElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLLIElementcpp">trunk/Source/WebCore/html/HTMLLIElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLLIElementh">trunk/Source/WebCore/html/HTMLLIElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLLabelElementcpp">trunk/Source/WebCore/html/HTMLLabelElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLLabelElementh">trunk/Source/WebCore/html/HTMLLabelElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLLegendElementcpp">trunk/Source/WebCore/html/HTMLLegendElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLLegendElementh">trunk/Source/WebCore/html/HTMLLegendElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLLinkElementcpp">trunk/Source/WebCore/html/HTMLLinkElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLLinkElementh">trunk/Source/WebCore/html/HTMLLinkElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLMapElementcpp">trunk/Source/WebCore/html/HTMLMapElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLMapElementh">trunk/Source/WebCore/html/HTMLMapElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLMarqueeElementcpp">trunk/Source/WebCore/html/HTMLMarqueeElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLMarqueeElementh">trunk/Source/WebCore/html/HTMLMarqueeElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLMenuElementcpp">trunk/Source/WebCore/html/HTMLMenuElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLMenuElementh">trunk/Source/WebCore/html/HTMLMenuElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLMetaElementcpp">trunk/Source/WebCore/html/HTMLMetaElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLMetaElementh">trunk/Source/WebCore/html/HTMLMetaElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLMeterElementcpp">trunk/Source/WebCore/html/HTMLMeterElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLMeterElementh">trunk/Source/WebCore/html/HTMLMeterElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLModElementcpp">trunk/Source/WebCore/html/HTMLModElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLModElementh">trunk/Source/WebCore/html/HTMLModElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLOListElementcpp">trunk/Source/WebCore/html/HTMLOListElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLOListElementh">trunk/Source/WebCore/html/HTMLOListElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLObjectElementcpp">trunk/Source/WebCore/html/HTMLObjectElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLObjectElementh">trunk/Source/WebCore/html/HTMLObjectElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLOptGroupElementcpp">trunk/Source/WebCore/html/HTMLOptGroupElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLOptGroupElementh">trunk/Source/WebCore/html/HTMLOptGroupElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLOptionElementcpp">trunk/Source/WebCore/html/HTMLOptionElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLOptionElementh">trunk/Source/WebCore/html/HTMLOptionElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLOutputElementcpp">trunk/Source/WebCore/html/HTMLOutputElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLOutputElementh">trunk/Source/WebCore/html/HTMLOutputElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLParagraphElementcpp">trunk/Source/WebCore/html/HTMLParagraphElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLParagraphElementh">trunk/Source/WebCore/html/HTMLParagraphElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLParamElementcpp">trunk/Source/WebCore/html/HTMLParamElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLParamElementh">trunk/Source/WebCore/html/HTMLParamElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLPreElementcpp">trunk/Source/WebCore/html/HTMLPreElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLPreElementh">trunk/Source/WebCore/html/HTMLPreElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLProgressElementcpp">trunk/Source/WebCore/html/HTMLProgressElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLProgressElementh">trunk/Source/WebCore/html/HTMLProgressElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLScriptElementcpp">trunk/Source/WebCore/html/HTMLScriptElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLScriptElementh">trunk/Source/WebCore/html/HTMLScriptElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLSelectElementcpp">trunk/Source/WebCore/html/HTMLSelectElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLSelectElementh">trunk/Source/WebCore/html/HTMLSelectElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLSourceElementcpp">trunk/Source/WebCore/html/HTMLSourceElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLSourceElementh">trunk/Source/WebCore/html/HTMLSourceElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLSpanElementcpp">trunk/Source/WebCore/html/HTMLSpanElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLSpanElementh">trunk/Source/WebCore/html/HTMLSpanElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLStyleElementcpp">trunk/Source/WebCore/html/HTMLStyleElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLStyleElementh">trunk/Source/WebCore/html/HTMLStyleElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLSummaryElementcpp">trunk/Source/WebCore/html/HTMLSummaryElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLSummaryElementh">trunk/Source/WebCore/html/HTMLSummaryElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLTableCaptionElementcpp">trunk/Source/WebCore/html/HTMLTableCaptionElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLTableCaptionElementh">trunk/Source/WebCore/html/HTMLTableCaptionElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLTableCellElementcpp">trunk/Source/WebCore/html/HTMLTableCellElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLTableCellElementh">trunk/Source/WebCore/html/HTMLTableCellElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLTableColElementcpp">trunk/Source/WebCore/html/HTMLTableColElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLTableColElementh">trunk/Source/WebCore/html/HTMLTableColElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLTableElementcpp">trunk/Source/WebCore/html/HTMLTableElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLTableElementh">trunk/Source/WebCore/html/HTMLTableElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLTableRowElementcpp">trunk/Source/WebCore/html/HTMLTableRowElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLTableRowElementh">trunk/Source/WebCore/html/HTMLTableRowElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLTableSectionElementcpp">trunk/Source/WebCore/html/HTMLTableSectionElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLTableSectionElementh">trunk/Source/WebCore/html/HTMLTableSectionElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLTemplateElementcpp">trunk/Source/WebCore/html/HTMLTemplateElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLTemplateElementh">trunk/Source/WebCore/html/HTMLTemplateElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLTextAreaElementcpp">trunk/Source/WebCore/html/HTMLTextAreaElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLTextAreaElementh">trunk/Source/WebCore/html/HTMLTextAreaElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLTitleElementcpp">trunk/Source/WebCore/html/HTMLTitleElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLTitleElementh">trunk/Source/WebCore/html/HTMLTitleElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLTrackElementcpp">trunk/Source/WebCore/html/HTMLTrackElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLTrackElementh">trunk/Source/WebCore/html/HTMLTrackElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLUListElementcpp">trunk/Source/WebCore/html/HTMLUListElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLUListElementh">trunk/Source/WebCore/html/HTMLUListElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLUnknownElementh">trunk/Source/WebCore/html/HTMLUnknownElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLVideoElementcpp">trunk/Source/WebCore/html/HTMLVideoElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLVideoElementh">trunk/Source/WebCore/html/HTMLVideoElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLWBRElementcpp">trunk/Source/WebCore/html/HTMLWBRElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLWBRElementh">trunk/Source/WebCore/html/HTMLWBRElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlImageDocumentcpp">trunk/Source/WebCore/html/ImageDocument.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlImageDocumenth">trunk/Source/WebCore/html/ImageDocument.h</a></li>
<li><a href="#trunkSourceWebCorehtmlMediaDocumentcpp">trunk/Source/WebCore/html/MediaDocument.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlMediaDocumenth">trunk/Source/WebCore/html/MediaDocument.h</a></li>
<li><a href="#trunkSourceWebCorehtmlPluginDocumentcpp">trunk/Source/WebCore/html/PluginDocument.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlPluginDocumenth">trunk/Source/WebCore/html/PluginDocument.h</a></li>
<li><a href="#trunkSourceWebCorehtmlTextDocumentcpp">trunk/Source/WebCore/html/TextDocument.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlTextDocumenth">trunk/Source/WebCore/html/TextDocument.h</a></li>
<li><a href="#trunkSourceWebCorehtmlparserHTMLDocumentParserh">trunk/Source/WebCore/html/parser/HTMLDocumentParser.h</a></li>
<li><a href="#trunkSourceWebCorehtmlparserHTMLStackItemh">trunk/Source/WebCore/html/parser/HTMLStackItem.h</a></li>
<li><a href="#trunkSourceWebCorehtmlshadowSliderThumbElementcpp">trunk/Source/WebCore/html/shadow/SliderThumbElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlshadowSliderThumbElementh">trunk/Source/WebCore/html/shadow/SliderThumbElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlshadowTextControlInnerElementscpp">trunk/Source/WebCore/html/shadow/TextControlInnerElements.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlshadowTextControlInnerElementsh">trunk/Source/WebCore/html/shadow/TextControlInnerElements.h</a></li>
<li><a href="#trunkSourceWebCorehtmltrackWebVTTElementcpp">trunk/Source/WebCore/html/track/WebVTTElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmltrackWebVTTElementh">trunk/Source/WebCore/html/track/WebVTTElement.h</a></li>
<li><a href="#trunkSourceWebCoreloaderSinkDocumentcpp">trunk/Source/WebCore/loader/SinkDocument.cpp</a></li>
<li><a href="#trunkSourceWebCoreloaderSinkDocumenth">trunk/Source/WebCore/loader/SinkDocument.h</a></li>
<li><a href="#trunkSourceWebCoremathmlMathMLElementcpp">trunk/Source/WebCore/mathml/MathMLElement.cpp</a></li>
<li><a href="#trunkSourceWebCoremathmlMathMLElementh">trunk/Source/WebCore/mathml/MathMLElement.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGDocumentcpp">trunk/Source/WebCore/svg/SVGDocument.cpp</a></li>
<li><a href="#trunkSourceWebCoresvgSVGDocumenth">trunk/Source/WebCore/svg/SVGDocument.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGElementcpp">trunk/Source/WebCore/svg/SVGElement.cpp</a></li>
<li><a href="#trunkSourceWebCoresvgSVGElementh">trunk/Source/WebCore/svg/SVGElement.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGPathElementcpp">trunk/Source/WebCore/svg/SVGPathElement.cpp</a></li>
<li><a href="#trunkSourceWebCoresvgSVGPathElementh">trunk/Source/WebCore/svg/SVGPathElement.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGScriptElementcpp">trunk/Source/WebCore/svg/SVGScriptElement.cpp</a></li>
<li><a href="#trunkSourceWebCoresvgSVGScriptElementh">trunk/Source/WebCore/svg/SVGScriptElement.h</a></li>
<li><a href="#trunkSourceWebKitWebKitvcxprojWebKitExportGeneratorWebKitExportsdefin">trunk/Source/WebKit/WebKit.vcxproj/WebKitExportGenerator/WebKitExports.def.in</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/ChangeLog        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -1,3 +1,13 @@
</span><ins>+2014-11-22 Andreas Kling <akling@apple.com>
+
+ Convert PassRefPtr return types to RefPtr.
+ <https://webkit.org/b/138995>
+
+ Reviewed by Anders Carlsson.
+
+ Convert an assortment of DOM and HTML related functions
+ to return RefPtr instead of PassRefPtr.
+
</ins><span class="cx"> 2014-11-21 Jer Noble <jer.noble@apple.com>
</span><span class="cx">
</span><span class="cx"> Unreviewed iOS build fix; move new symbols out of Mac-only exports.
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsjsJSDOMBindingh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/js/JSDOMBinding.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/js/JSDOMBinding.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/bindings/js/JSDOMBinding.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -365,6 +365,11 @@
</span><span class="cx"> return view->wrap(exec, globalObject);
</span><span class="cx"> }
</span><span class="cx">
</span><ins>+template<typename T> inline JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, RefPtr<T> ptr)
+{
+ return toJS(exec, globalObject, ptr.get());
+}
+
</ins><span class="cx"> template<typename T> inline JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, PassRefPtr<T> ptr)
</span><span class="cx"> {
</span><span class="cx"> return toJS(exec, globalObject, ptr.get());
</span></span></pre></div>
<a id="trunkSourceWebCoredomAttrcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/Attr.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/Attr.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/dom/Attr.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -53,14 +53,14 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<Attr> Attr::create(Element* element, const QualifiedName& name)
</del><ins>+RefPtr<Attr> Attr::create(Element* element, const QualifiedName& name)
</ins><span class="cx"> {
</span><span class="cx"> RefPtr<Attr> attr = adoptRef(new Attr(element, name));
</span><span class="cx"> attr->createTextChild();
</span><span class="cx"> return attr.release();
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<Attr> Attr::create(Document& document, const QualifiedName& name, const AtomicString& value)
</del><ins>+RefPtr<Attr> Attr::create(Document& document, const QualifiedName& name, const AtomicString& value)
</ins><span class="cx"> {
</span><span class="cx"> RefPtr<Attr> attr = adoptRef(new Attr(document, name, value));
</span><span class="cx"> attr->createTextChild();
</span><span class="lines">@@ -137,7 +137,7 @@
</span><span class="cx"> setValue(v, ec);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<Node> Attr::cloneNode(bool /*deep*/)
</del><ins>+RefPtr<Node> Attr::cloneNode(bool /*deep*/)
</ins><span class="cx"> {
</span><span class="cx"> RefPtr<Attr> clone = adoptRef(new Attr(document(), qualifiedName(), value()));
</span><span class="cx"> cloneChildNodes(clone.get());
</span></span></pre></div>
<a id="trunkSourceWebCoredomAttrh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/Attr.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/Attr.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/dom/Attr.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -41,8 +41,8 @@
</span><span class="cx">
</span><span class="cx"> class Attr final : public ContainerNode {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<Attr> create(Element*, const QualifiedName&);
- static PassRefPtr<Attr> create(Document&, const QualifiedName&, const AtomicString& value);
</del><ins>+ static RefPtr<Attr> create(Element*, const QualifiedName&);
+ static RefPtr<Attr> create(Document&, const QualifiedName&, const AtomicString& value);
</ins><span class="cx"> virtual ~Attr();
</span><span class="cx">
</span><span class="cx"> String name() const { return qualifiedName().toString(); }
</span><span class="lines">@@ -80,7 +80,7 @@
</span><span class="cx">
</span><span class="cx"> virtual String nodeValue() const override { return value(); }
</span><span class="cx"> virtual void setNodeValue(const String&, ExceptionCode&) override;
</span><del>- virtual PassRefPtr<Node> cloneNode(bool deep) override;
</del><ins>+ virtual RefPtr<Node> cloneNode(bool deep) override;
</ins><span class="cx">
</span><span class="cx"> virtual bool isAttributeNode() const override { return true; }
</span><span class="cx"> virtual bool childTypeAllowed(NodeType) const override;
</span></span></pre></div>
<a id="trunkSourceWebCoredomCDATASectioncpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/CDATASection.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/CDATASection.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/dom/CDATASection.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -31,7 +31,7 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<CDATASection> CDATASection::create(Document& document, const String& data)
</del><ins>+RefPtr<CDATASection> CDATASection::create(Document& document, const String& data)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new CDATASection(document, data));
</span><span class="cx"> }
</span><span class="lines">@@ -46,7 +46,7 @@
</span><span class="cx"> return CDATA_SECTION_NODE;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<Node> CDATASection::cloneNode(bool /*deep*/)
</del><ins>+RefPtr<Node> CDATASection::cloneNode(bool /*deep*/)
</ins><span class="cx"> {
</span><span class="cx"> return create(document(), data());
</span><span class="cx"> }
</span><span class="lines">@@ -56,7 +56,7 @@
</span><span class="cx"> return false;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<Text> CDATASection::virtualCreate(const String& data)
</del><ins>+RefPtr<Text> CDATASection::virtualCreate(const String& data)
</ins><span class="cx"> {
</span><span class="cx"> return create(document(), data);
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCoredomCDATASectionh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/CDATASection.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/CDATASection.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/dom/CDATASection.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -29,16 +29,16 @@
</span><span class="cx">
</span><span class="cx"> class CDATASection final : public Text {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<CDATASection> create(Document&, const String&);
</del><ins>+ static RefPtr<CDATASection> create(Document&, const String&);
</ins><span class="cx">
</span><span class="cx"> private:
</span><span class="cx"> CDATASection(Document&, const String&);
</span><span class="cx">
</span><span class="cx"> virtual String nodeName() const override;
</span><span class="cx"> virtual NodeType nodeType() const override;
</span><del>- virtual PassRefPtr<Node> cloneNode(bool deep) override;
</del><ins>+ virtual RefPtr<Node> cloneNode(bool deep) override;
</ins><span class="cx"> virtual bool childTypeAllowed(NodeType) const override;
</span><del>- virtual PassRefPtr<Text> virtualCreate(const String&) override;
</del><ins>+ virtual RefPtr<Text> virtualCreate(const String&) override;
</ins><span class="cx"> };
</span><span class="cx">
</span><span class="cx"> } // namespace WebCore
</span></span></pre></div>
<a id="trunkSourceWebCoredomCommentcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/Comment.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/Comment.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/dom/Comment.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -31,12 +31,12 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<Comment> Comment::create(Document& document, const String& text)
</del><ins>+RefPtr<Comment> Comment::create(Document& document, const String& text)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new Comment(document, text));
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<Comment> Comment::create(ScriptExecutionContext& context, const String& text)
</del><ins>+RefPtr<Comment> Comment::create(ScriptExecutionContext& context, const String& text)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new Comment(downcast<Document>(context), text));
</span><span class="cx"> }
</span><span class="lines">@@ -51,7 +51,7 @@
</span><span class="cx"> return COMMENT_NODE;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<Node> Comment::cloneNode(bool /*deep*/)
</del><ins>+RefPtr<Node> Comment::cloneNode(bool /*deep*/)
</ins><span class="cx"> {
</span><span class="cx"> return create(document(), data());
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCoredomCommenth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/Comment.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/Comment.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/dom/Comment.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -29,15 +29,15 @@
</span><span class="cx">
</span><span class="cx"> class Comment final : public CharacterData {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<Comment> create(Document&, const String&);
- static PassRefPtr<Comment> create(ScriptExecutionContext&, const String&);
</del><ins>+ static RefPtr<Comment> create(Document&, const String&);
+ static RefPtr<Comment> create(ScriptExecutionContext&, const String&);
</ins><span class="cx">
</span><span class="cx"> private:
</span><span class="cx"> Comment(Document&, const String&);
</span><span class="cx">
</span><span class="cx"> virtual String nodeName() const override;
</span><span class="cx"> virtual NodeType nodeType() const override;
</span><del>- virtual PassRefPtr<Node> cloneNode(bool deep) override;
</del><ins>+ virtual RefPtr<Node> cloneNode(bool deep) override;
</ins><span class="cx"> virtual bool childTypeAllowed(NodeType) const override;
</span><span class="cx"> };
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebCoredomContainerNodecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/ContainerNode.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/ContainerNode.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/dom/ContainerNode.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -993,7 +993,7 @@
</span><span class="cx"> return nullptr;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<NodeList> ContainerNode::getElementsByTagName(const AtomicString& localName)
</del><ins>+RefPtr<NodeList> ContainerNode::getElementsByTagName(const AtomicString& localName)
</ins><span class="cx"> {
</span><span class="cx"> if (localName.isNull())
</span><span class="cx"> return 0;
</span><span class="lines">@@ -1003,7 +1003,7 @@
</span><span class="cx"> return ensureRareData().ensureNodeLists().addCacheWithAtomicName<TagNodeList>(*this, localName);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<NodeList> ContainerNode::getElementsByTagNameNS(const AtomicString& namespaceURI, const AtomicString& localName)
</del><ins>+RefPtr<NodeList> ContainerNode::getElementsByTagNameNS(const AtomicString& namespaceURI, const AtomicString& localName)
</ins><span class="cx"> {
</span><span class="cx"> if (localName.isNull())
</span><span class="cx"> return 0;
</span><span class="lines">@@ -1014,17 +1014,17 @@
</span><span class="cx"> return ensureRareData().ensureNodeLists().addCacheWithQualifiedName(*this, namespaceURI.isEmpty() ? nullAtom : namespaceURI, localName);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<NodeList> ContainerNode::getElementsByName(const String& elementName)
</del><ins>+RefPtr<NodeList> ContainerNode::getElementsByName(const String& elementName)
</ins><span class="cx"> {
</span><span class="cx"> return ensureRareData().ensureNodeLists().addCacheWithAtomicName<NameNodeList>(*this, elementName);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<NodeList> ContainerNode::getElementsByClassName(const AtomicString& classNames)
</del><ins>+RefPtr<NodeList> ContainerNode::getElementsByClassName(const AtomicString& classNames)
</ins><span class="cx"> {
</span><span class="cx"> return ensureRareData().ensureNodeLists().addCacheWithAtomicName<ClassNodeList>(*this, classNames);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<RadioNodeList> ContainerNode::radioNodeList(const AtomicString& name)
</del><ins>+RefPtr<RadioNodeList> ContainerNode::radioNodeList(const AtomicString& name)
</ins><span class="cx"> {
</span><span class="cx"> ASSERT(hasTagName(HTMLNames::formTag) || hasTagName(HTMLNames::fieldsetTag));
</span><span class="cx"> return ensureRareData().ensureNodeLists().addCacheWithAtomicName<RadioNodeList>(*this, name);
</span></span></pre></div>
<a id="trunkSourceWebCoredomContainerNodeh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/ContainerNode.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/ContainerNode.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/dom/ContainerNode.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -134,11 +134,11 @@
</span><span class="cx"> Element* querySelector(const String& selectors, ExceptionCode&);
</span><span class="cx"> RefPtr<NodeList> querySelectorAll(const String& selectors, ExceptionCode&);
</span><span class="cx">
</span><del>- PassRefPtr<NodeList> getElementsByTagName(const AtomicString&);
- PassRefPtr<NodeList> getElementsByTagNameNS(const AtomicString& namespaceURI, const AtomicString& localName);
- PassRefPtr<NodeList> getElementsByName(const String& elementName);
- PassRefPtr<NodeList> getElementsByClassName(const AtomicString& classNames);
- PassRefPtr<RadioNodeList> radioNodeList(const AtomicString&);
</del><ins>+ RefPtr<NodeList> getElementsByTagName(const AtomicString&);
+ RefPtr<NodeList> getElementsByTagNameNS(const AtomicString& namespaceURI, const AtomicString& localName);
+ RefPtr<NodeList> getElementsByName(const String& elementName);
+ RefPtr<NodeList> getElementsByClassName(const AtomicString& classNames);
+ RefPtr<RadioNodeList> radioNodeList(const AtomicString&);
</ins><span class="cx">
</span><span class="cx"> protected:
</span><span class="cx"> explicit ContainerNode(Document&, ConstructionType = CreateContainer);
</span><span class="lines">@@ -262,7 +262,7 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> // Returns 0 if there is no next Node.
</span><del>- PassRefPtr<Node> nextNode()
</del><ins>+ RefPtr<Node> nextNode()
</ins><span class="cx"> {
</span><span class="cx"> if (LIKELY(!hasSnapshot())) {
</span><span class="cx"> RefPtr<Node> node = m_currentNode.release();
</span></span></pre></div>
<a id="trunkSourceWebCoredomDOMImplementationcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/DOMImplementation.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/DOMImplementation.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/dom/DOMImplementation.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -194,7 +194,7 @@
</span><span class="cx"> return true;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<DocumentType> DOMImplementation::createDocumentType(const String& qualifiedName,
</del><ins>+RefPtr<DocumentType> DOMImplementation::createDocumentType(const String& qualifiedName,
</ins><span class="cx"> const String& publicId, const String& systemId, ExceptionCode& ec)
</span><span class="cx"> {
</span><span class="cx"> String prefix, localName;
</span><span class="lines">@@ -209,7 +209,7 @@
</span><span class="cx"> return 0;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<Document> DOMImplementation::createDocument(const String& namespaceURI,
</del><ins>+RefPtr<Document> DOMImplementation::createDocument(const String& namespaceURI,
</ins><span class="cx"> const String& qualifiedName, DocumentType* doctype, ExceptionCode& ec)
</span><span class="cx"> {
</span><span class="cx"> RefPtr<Document> doc;
</span><span class="lines">@@ -234,10 +234,10 @@
</span><span class="cx"> if (documentElement)
</span><span class="cx"> doc->appendChild(documentElement.release());
</span><span class="cx">
</span><del>- return doc.release();
</del><ins>+ return doc;
</ins><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<CSSStyleSheet> DOMImplementation::createCSSStyleSheet(const String&, const String& media, ExceptionCode&)
</del><ins>+RefPtr<CSSStyleSheet> DOMImplementation::createCSSStyleSheet(const String&, const String& media, ExceptionCode&)
</ins><span class="cx"> {
</span><span class="cx"> // FIXME: Title should be set.
</span><span class="cx"> // FIXME: Media could have wrong syntax, in which case we should generate an exception.
</span><span class="lines">@@ -288,7 +288,7 @@
</span><span class="cx"> return false;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLDocument> DOMImplementation::createHTMLDocument(const String& title)
</del><ins>+RefPtr<HTMLDocument> DOMImplementation::createHTMLDocument(const String& title)
</ins><span class="cx"> {
</span><span class="cx"> RefPtr<HTMLDocument> d = HTMLDocument::create(0, URL());
</span><span class="cx"> d->open();
</span><span class="lines">@@ -296,10 +296,10 @@
</span><span class="cx"> if (!title.isNull())
</span><span class="cx"> d->setTitle(title);
</span><span class="cx"> d->setSecurityOrigin(m_document.securityOrigin());
</span><del>- return d.release();
</del><ins>+ return d;
</ins><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<Document> DOMImplementation::createDocument(const String& type, Frame* frame, const URL& url)
</del><ins>+RefPtr<Document> DOMImplementation::createDocument(const String& type, Frame* frame, const URL& url)
</ins><span class="cx"> {
</span><span class="cx"> // Plugins cannot take HTML and XHTML from us, and we don't even need to initialize the plugin database for those.
</span><span class="cx"> if (type == "text/html")
</span></span></pre></div>
<a id="trunkSourceWebCoredomDOMImplementationh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/DOMImplementation.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/DOMImplementation.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/dom/DOMImplementation.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -28,7 +28,6 @@
</span><span class="cx"> #include "MediaPlayer.h"
</span><span class="cx"> #include <memory>
</span><span class="cx"> #include <wtf/Forward.h>
</span><del>-#include <wtf/PassRefPtr.h>
</del><span class="cx"> #include <wtf/RefCounted.h>
</span><span class="cx">
</span><span class="cx"> namespace WebCore {
</span><span class="lines">@@ -47,26 +46,25 @@
</span><span class="cx"> public:
</span><span class="cx"> explicit DOMImplementation(Document&);
</span><span class="cx">
</span><del>-
</del><span class="cx"> void ref() { m_document.ref(); }
</span><span class="cx"> void deref() { m_document.deref(); }
</span><span class="cx"> Document& document() { return m_document; }
</span><span class="cx">
</span><span class="cx"> // DOM methods & attributes for DOMImplementation
</span><span class="cx"> static bool hasFeature(const String& feature, const String& version);
</span><del>- PassRefPtr<DocumentType> createDocumentType(const String& qualifiedName, const String& publicId, const String& systemId, ExceptionCode&);
- PassRefPtr<Document> createDocument(const String& namespaceURI, const String& qualifiedName, DocumentType*, ExceptionCode&);
</del><ins>+ RefPtr<DocumentType> createDocumentType(const String& qualifiedName, const String& publicId, const String& systemId, ExceptionCode&);
+ RefPtr<Document> createDocument(const String& namespaceURI, const String& qualifiedName, DocumentType*, ExceptionCode&);
</ins><span class="cx">
</span><span class="cx"> DOMImplementation* getInterface(const String& feature);
</span><span class="cx">
</span><span class="cx"> // From the DOMImplementationCSS interface
</span><del>- static PassRefPtr<CSSStyleSheet> createCSSStyleSheet(const String& title, const String& media, ExceptionCode&);
</del><ins>+ static RefPtr<CSSStyleSheet> createCSSStyleSheet(const String& title, const String& media, ExceptionCode&);
</ins><span class="cx">
</span><span class="cx"> // From the HTMLDOMImplementation interface
</span><del>- PassRefPtr<HTMLDocument> createHTMLDocument(const String& title);
</del><ins>+ RefPtr<HTMLDocument> createHTMLDocument(const String& title);
</ins><span class="cx">
</span><span class="cx"> // Other methods (not part of DOM)
</span><del>- static PassRefPtr<Document> createDocument(const String& MIMEType, Frame*, const URL&);
</del><ins>+ static RefPtr<Document> createDocument(const String& MIMEType, Frame*, const URL&);
</ins><span class="cx">
</span><span class="cx"> WEBCORE_EXPORT static bool isXMLMIMEType(const String& MIMEType);
</span><span class="cx"> WEBCORE_EXPORT static bool isTextMIMEType(const String& MIMEType);
</span></span></pre></div>
<a id="trunkSourceWebCoredomDocumentcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/Document.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/Document.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/dom/Document.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -565,7 +565,7 @@
</span><span class="cx"> }
</span><span class="cx"> #endif
</span><span class="cx">
</span><del>-PassRefPtr<Document> Document::create(ScriptExecutionContext& context)
</del><ins>+RefPtr<Document> Document::create(ScriptExecutionContext& context)
</ins><span class="cx"> {
</span><span class="cx"> RefPtr<Document> document = adoptRef(new Document(nullptr, URL()));
</span><span class="cx"> document->setSecurityOrigin(context.securityOrigin());
</span><span class="lines">@@ -848,7 +848,7 @@
</span><span class="cx"> clearStyleResolver();
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<Element> Document::createElement(const AtomicString& name, ExceptionCode& ec)
</del><ins>+RefPtr<Element> Document::createElement(const AtomicString& name, ExceptionCode& ec)
</ins><span class="cx"> {
</span><span class="cx"> if (!isValidName(name)) {
</span><span class="cx"> ec = INVALID_CHARACTER_ERR;
</span><span class="lines">@@ -861,22 +861,22 @@
</span><span class="cx"> return createElement(QualifiedName(nullAtom, name, nullAtom), false);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<DocumentFragment> Document::createDocumentFragment()
</del><ins>+RefPtr<DocumentFragment> Document::createDocumentFragment()
</ins><span class="cx"> {
</span><span class="cx"> return DocumentFragment::create(document());
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<Text> Document::createTextNode(const String& data)
</del><ins>+RefPtr<Text> Document::createTextNode(const String& data)
</ins><span class="cx"> {
</span><span class="cx"> return Text::create(*this, data);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<Comment> Document::createComment(const String& data)
</del><ins>+RefPtr<Comment> Document::createComment(const String& data)
</ins><span class="cx"> {
</span><span class="cx"> return Comment::create(*this, data);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<CDATASection> Document::createCDATASection(const String& data, ExceptionCode& ec)
</del><ins>+RefPtr<CDATASection> Document::createCDATASection(const String& data, ExceptionCode& ec)
</ins><span class="cx"> {
</span><span class="cx"> if (isHTMLDocument()) {
</span><span class="cx"> ec = NOT_SUPPORTED_ERR;
</span><span class="lines">@@ -885,7 +885,7 @@
</span><span class="cx"> return CDATASection::create(*this, data);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<ProcessingInstruction> Document::createProcessingInstruction(const String& target, const String& data, ExceptionCode& ec)
</del><ins>+RefPtr<ProcessingInstruction> Document::createProcessingInstruction(const String& target, const String& data, ExceptionCode& ec)
</ins><span class="cx"> {
</span><span class="cx"> if (!isValidName(target)) {
</span><span class="cx"> ec = INVALID_CHARACTER_ERR;
</span><span class="lines">@@ -898,7 +898,7 @@
</span><span class="cx"> return ProcessingInstruction::create(*this, target, data);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<EntityReference> Document::createEntityReference(const String& name, ExceptionCode& ec)
</del><ins>+RefPtr<EntityReference> Document::createEntityReference(const String& name, ExceptionCode& ec)
</ins><span class="cx"> {
</span><span class="cx"> if (!isValidName(name)) {
</span><span class="cx"> ec = INVALID_CHARACTER_ERR;
</span><span class="lines">@@ -911,18 +911,18 @@
</span><span class="cx"> return EntityReference::create(*this, name);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<Text> Document::createEditingTextNode(const String& text)
</del><ins>+RefPtr<Text> Document::createEditingTextNode(const String& text)
</ins><span class="cx"> {
</span><span class="cx"> return Text::createEditingText(*this, text);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<CSSStyleDeclaration> Document::createCSSStyleDeclaration()
</del><ins>+RefPtr<CSSStyleDeclaration> Document::createCSSStyleDeclaration()
</ins><span class="cx"> {
</span><span class="cx"> Ref<MutableStyleProperties> propertySet(MutableStyleProperties::create());
</span><span class="cx"> return propertySet->ensureCSSStyleDeclaration();
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<Node> Document::importNode(Node* importedNode, bool deep, ExceptionCode& ec)
</del><ins>+RefPtr<Node> Document::importNode(Node* importedNode, bool deep, ExceptionCode& ec)
</ins><span class="cx"> {
</span><span class="cx"> ec = 0;
</span><span class="cx">
</span><span class="lines">@@ -1004,7 +1004,7 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx">
</span><del>-PassRefPtr<Node> Document::adoptNode(PassRefPtr<Node> source, ExceptionCode& ec)
</del><ins>+RefPtr<Node> Document::adoptNode(PassRefPtr<Node> source, ExceptionCode& ec)
</ins><span class="cx"> {
</span><span class="cx"> if (!source) {
</span><span class="cx"> ec = NOT_SUPPORTED_ERR;
</span><span class="lines">@@ -1080,7 +1080,7 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> // FIXME: This should really be in a possible ElementFactory class.
</span><del>-PassRefPtr<Element> Document::createElement(const QualifiedName& name, bool createdByParser)
</del><ins>+RefPtr<Element> Document::createElement(const QualifiedName& name, bool createdByParser)
</ins><span class="cx"> {
</span><span class="cx"> RefPtr<Element> element;
</span><span class="cx">
</span><span class="lines">@@ -1117,7 +1117,7 @@
</span><span class="cx">
</span><span class="cx"> #if ENABLE(CSS_REGIONS)
</span><span class="cx">
</span><del>-PassRefPtr<DOMNamedFlowCollection> Document::webkitGetNamedFlows()
</del><ins>+RefPtr<DOMNamedFlowCollection> Document::webkitGetNamedFlows()
</ins><span class="cx"> {
</span><span class="cx"> if (!cssRegionsEnabled() || !renderView())
</span><span class="cx"> return nullptr;
</span><span class="lines">@@ -1137,7 +1137,7 @@
</span><span class="cx"> return *m_namedFlows;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<Element> Document::createElementNS(const String& namespaceURI, const String& qualifiedName, ExceptionCode& ec)
</del><ins>+RefPtr<Element> Document::createElementNS(const String& namespaceURI, const String& qualifiedName, ExceptionCode& ec)
</ins><span class="cx"> {
</span><span class="cx"> String prefix, localName;
</span><span class="cx"> if (!parseQualifiedName(qualifiedName, prefix, localName, ec))
</span><span class="lines">@@ -1425,12 +1425,12 @@
</span><span class="cx"> return downcast<Element>(node);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<Range> Document::caretRangeFromPoint(int x, int y)
</del><ins>+RefPtr<Range> Document::caretRangeFromPoint(int x, int y)
</ins><span class="cx"> {
</span><span class="cx"> return caretRangeFromPoint(LayoutPoint(x, y));
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<Range> Document::caretRangeFromPoint(const LayoutPoint& clientPoint)
</del><ins>+RefPtr<Range> Document::caretRangeFromPoint(const LayoutPoint& clientPoint)
</ins><span class="cx"> {
</span><span class="cx"> if (!hasLivingRenderTree())
</span><span class="cx"> return nullptr;
</span><span class="lines">@@ -1681,12 +1681,12 @@
</span><span class="cx"> return m_frame ? &m_frame->settings() : nullptr;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<Range> Document::createRange()
</del><ins>+RefPtr<Range> Document::createRange()
</ins><span class="cx"> {
</span><span class="cx"> return Range::create(*this);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<NodeIterator> Document::createNodeIterator(Node* root, unsigned whatToShow,
</del><ins>+RefPtr<NodeIterator> Document::createNodeIterator(Node* root, unsigned whatToShow,
</ins><span class="cx"> PassRefPtr<NodeFilter> filter, bool expandEntityReferences, ExceptionCode& ec)
</span><span class="cx"> {
</span><span class="cx"> if (!root) {
</span><span class="lines">@@ -1696,7 +1696,7 @@
</span><span class="cx"> return NodeIterator::create(root, whatToShow, filter, expandEntityReferences);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<TreeWalker> Document::createTreeWalker(Node* root, unsigned whatToShow,
</del><ins>+RefPtr<TreeWalker> Document::createTreeWalker(Node* root, unsigned whatToShow,
</ins><span class="cx"> PassRefPtr<NodeFilter> filter, bool expandEntityReferences, ExceptionCode& ec)
</span><span class="cx"> {
</span><span class="cx"> if (!root) {
</span><span class="lines">@@ -2243,7 +2243,7 @@
</span><span class="cx"> renderView()->style().setRTLOrdering(VisualOrder);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<DocumentParser> Document::createParser()
</del><ins>+RefPtr<DocumentParser> Document::createParser()
</ins><span class="cx"> {
</span><span class="cx"> // FIXME: this should probably pass the frame instead
</span><span class="cx"> return XMLDocumentParser::create(*this, view());
</span><span class="lines">@@ -3189,16 +3189,16 @@
</span><span class="cx"> return true;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<Node> Document::cloneNode(bool deep)
</del><ins>+RefPtr<Node> Document::cloneNode(bool deep)
</ins><span class="cx"> {
</span><span class="cx"> RefPtr<Document> clone = cloneDocumentWithoutChildren();
</span><span class="cx"> clone->cloneDataFromDocument(*this);
</span><span class="cx"> if (deep)
</span><span class="cx"> cloneChildNodes(clone.get());
</span><del>- return clone.release();
</del><ins>+ return clone;
</ins><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<Document> Document::cloneDocumentWithoutChildren() const
</del><ins>+RefPtr<Document> Document::cloneDocumentWithoutChildren() const
</ins><span class="cx"> {
</span><span class="cx"> return isXHTMLDocument() ? createXHTML(nullptr, url()) : create(nullptr, url());
</span><span class="cx"> }
</span><span class="lines">@@ -3819,7 +3819,7 @@
</span><span class="cx"> m_eventQueue.enqueueEvent(event);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<Event> Document::createEvent(const String& eventType, ExceptionCode& ec)
</del><ins>+RefPtr<Event> Document::createEvent(const String& eventType, ExceptionCode& ec)
</ins><span class="cx"> {
</span><span class="cx"> RefPtr<Event> event = EventFactory::create(eventType);
</span><span class="cx"> if (event)
</span><span class="lines">@@ -4486,12 +4486,12 @@
</span><span class="cx"> return *document;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<Attr> Document::createAttribute(const String& name, ExceptionCode& ec)
</del><ins>+RefPtr<Attr> Document::createAttribute(const String& name, ExceptionCode& ec)
</ins><span class="cx"> {
</span><span class="cx"> return createAttributeNS(String(), name, ec, true);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<Attr> Document::createAttributeNS(const String& namespaceURI, const String& qualifiedName, ExceptionCode& ec, bool shouldIgnoreNamespaceChecks)
</del><ins>+RefPtr<Attr> Document::createAttributeNS(const String& namespaceURI, const String& qualifiedName, ExceptionCode& ec, bool shouldIgnoreNamespaceChecks)
</ins><span class="cx"> {
</span><span class="cx"> String prefix, localName;
</span><span class="cx"> if (!parseQualifiedName(qualifiedName, prefix, localName, ec))
</span><span class="lines">@@ -4524,63 +4524,63 @@
</span><span class="cx"> return documentElement() && documentElement()->hasTagName(SVGNames::svgTag);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLCollection> Document::ensureCachedCollection(CollectionType type)
</del><ins>+RefPtr<HTMLCollection> Document::ensureCachedCollection(CollectionType type)
</ins><span class="cx"> {
</span><span class="cx"> return ensureRareData().ensureNodeLists().addCachedCollection<HTMLCollection>(*this, type);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLCollection> Document::images()
</del><ins>+RefPtr<HTMLCollection> Document::images()
</ins><span class="cx"> {
</span><span class="cx"> return ensureCachedCollection(DocImages);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLCollection> Document::applets()
</del><ins>+RefPtr<HTMLCollection> Document::applets()
</ins><span class="cx"> {
</span><span class="cx"> return ensureCachedCollection(DocApplets);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLCollection> Document::embeds()
</del><ins>+RefPtr<HTMLCollection> Document::embeds()
</ins><span class="cx"> {
</span><span class="cx"> return ensureCachedCollection(DocEmbeds);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLCollection> Document::plugins()
</del><ins>+RefPtr<HTMLCollection> Document::plugins()
</ins><span class="cx"> {
</span><span class="cx"> // This is an alias for embeds() required for the JS DOM bindings.
</span><span class="cx"> return ensureCachedCollection(DocEmbeds);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLCollection> Document::scripts()
</del><ins>+RefPtr<HTMLCollection> Document::scripts()
</ins><span class="cx"> {
</span><span class="cx"> return ensureCachedCollection(DocScripts);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLCollection> Document::links()
</del><ins>+RefPtr<HTMLCollection> Document::links()
</ins><span class="cx"> {
</span><span class="cx"> return ensureCachedCollection(DocLinks);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLCollection> Document::forms()
</del><ins>+RefPtr<HTMLCollection> Document::forms()
</ins><span class="cx"> {
</span><span class="cx"> return ensureCachedCollection(DocForms);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLCollection> Document::anchors()
</del><ins>+RefPtr<HTMLCollection> Document::anchors()
</ins><span class="cx"> {
</span><span class="cx"> return ensureCachedCollection(DocAnchors);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLCollection> Document::all()
</del><ins>+RefPtr<HTMLCollection> Document::all()
</ins><span class="cx"> {
</span><span class="cx"> return ensureRareData().ensureNodeLists().addCachedCollection<HTMLAllCollection>(*this, DocAll);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLCollection> Document::windowNamedItems(const AtomicString& name)
</del><ins>+RefPtr<HTMLCollection> Document::windowNamedItems(const AtomicString& name)
</ins><span class="cx"> {
</span><span class="cx"> return ensureRareData().ensureNodeLists().addCachedCollection<WindowNameCollection>(*this, WindowNamedItems, name);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLCollection> Document::documentNamedItems(const AtomicString& name)
</del><ins>+RefPtr<HTMLCollection> Document::documentNamedItems(const AtomicString& name)
</ins><span class="cx"> {
</span><span class="cx"> return ensureRareData().ensureNodeLists().addCachedCollection<DocumentNameCollection>(*this, DocumentNamedItems, name);
</span><span class="cx"> }
</span><span class="lines">@@ -4653,7 +4653,7 @@
</span><span class="cx"> }
</span><span class="cx"> #endif
</span><span class="cx">
</span><del>-PassRefPtr<XPathExpression> Document::createExpression(const String& expression,
</del><ins>+RefPtr<XPathExpression> Document::createExpression(const String& expression,
</ins><span class="cx"> XPathNSResolver* resolver,
</span><span class="cx"> ExceptionCode& ec)
</span><span class="cx"> {
</span><span class="lines">@@ -4662,14 +4662,14 @@
</span><span class="cx"> return m_xpathEvaluator->createExpression(expression, resolver, ec);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<XPathNSResolver> Document::createNSResolver(Node* nodeResolver)
</del><ins>+RefPtr<XPathNSResolver> Document::createNSResolver(Node* nodeResolver)
</ins><span class="cx"> {
</span><span class="cx"> if (!m_xpathEvaluator)
</span><span class="cx"> m_xpathEvaluator = XPathEvaluator::create();
</span><span class="cx"> return m_xpathEvaluator->createNSResolver(nodeResolver);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<XPathResult> Document::evaluate(const String& expression,
</del><ins>+RefPtr<XPathResult> Document::evaluate(const String& expression,
</ins><span class="cx"> Node* contextNode,
</span><span class="cx"> XPathNSResolver* resolver,
</span><span class="cx"> unsigned short type,
</span><span class="lines">@@ -5122,7 +5122,7 @@
</span><span class="cx"> return str;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<StringImpl> Document::displayStringModifiedByEncoding(PassRefPtr<StringImpl> str) const
</del><ins>+RefPtr<StringImpl> Document::displayStringModifiedByEncoding(PassRefPtr<StringImpl> str) const
</ins><span class="cx"> {
</span><span class="cx"> if (m_decoder)
</span><span class="cx"> return m_decoder->encoding().displayString(str);
</span><span class="lines">@@ -5817,7 +5817,7 @@
</span><span class="cx">
</span><span class="cx"> #if !PLATFORM(IOS)
</span><span class="cx"> #if ENABLE(TOUCH_EVENTS)
</span><del>-PassRefPtr<Touch> Document::createTouch(DOMWindow* window, EventTarget* target, int identifier, int pageX, int pageY, int screenX, int screenY, int radiusX, int radiusY, float rotationAngle, float force, ExceptionCode&) const
</del><ins>+RefPtr<Touch> Document::createTouch(DOMWindow* window, EventTarget* target, int identifier, int pageX, int pageY, int screenX, int screenY, int radiusX, int radiusY, float rotationAngle, float force, ExceptionCode&) const
</ins><span class="cx"> {
</span><span class="cx"> // FIXME: It's not clear from the documentation at
</span><span class="cx"> // http://developer.apple.com/library/safari/#documentation/UserExperience/Reference/DocumentAdditionsReference/DocumentAdditions/DocumentAdditions.html
</span><span class="lines">@@ -6188,7 +6188,7 @@
</span><span class="cx"> #endif
</span><span class="cx">
</span><span class="cx"> #if ENABLE(FONT_LOAD_EVENTS)
</span><del>-PassRefPtr<FontLoader> Document::fonts()
</del><ins>+RefPtr<FontLoader> Document::fonts()
</ins><span class="cx"> {
</span><span class="cx"> if (!m_fontloader)
</span><span class="cx"> m_fontloader = FontLoader::create(this);
</span></span></pre></div>
<a id="trunkSourceWebCoredomDocumenth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/Document.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/Document.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/dom/Document.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -257,19 +257,19 @@
</span><span class="cx">
</span><span class="cx"> class Document : public ContainerNode, public TreeScope, public ScriptExecutionContext {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<Document> create(Frame* frame, const URL& url)
</del><ins>+ static RefPtr<Document> create(Frame* frame, const URL& url)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new Document(frame, url));
</span><span class="cx"> }
</span><del>- static PassRefPtr<Document> createXHTML(Frame* frame, const URL& url)
</del><ins>+ static RefPtr<Document> createXHTML(Frame* frame, const URL& url)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new Document(frame, url, XHTMLDocumentClass));
</span><span class="cx"> }
</span><del>- static PassRefPtr<Document> createNonRenderedPlaceholder(Frame* frame, const URL& url)
</del><ins>+ static RefPtr<Document> createNonRenderedPlaceholder(Frame* frame, const URL& url)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new Document(frame, url, DefaultDocumentClass, NonRenderedPlaceholder));
</span><span class="cx"> }
</span><del>- static PassRefPtr<Document> create(ScriptExecutionContext&);
</del><ins>+ static RefPtr<Document> create(ScriptExecutionContext&);
</ins><span class="cx">
</span><span class="cx"> virtual ~Document();
</span><span class="cx">
</span><span class="lines">@@ -421,24 +421,24 @@
</span><span class="cx">
</span><span class="cx"> bool hasManifest() const;
</span><span class="cx">
</span><del>- virtual PassRefPtr<Element> createElement(const AtomicString& tagName, ExceptionCode&);
- WEBCORE_EXPORT PassRefPtr<DocumentFragment> createDocumentFragment();
- WEBCORE_EXPORT PassRefPtr<Text> createTextNode(const String& data);
- PassRefPtr<Comment> createComment(const String& data);
- PassRefPtr<CDATASection> createCDATASection(const String& data, ExceptionCode&);
- PassRefPtr<ProcessingInstruction> createProcessingInstruction(const String& target, const String& data, ExceptionCode&);
- PassRefPtr<Attr> createAttribute(const String& name, ExceptionCode&);
- PassRefPtr<Attr> createAttributeNS(const String& namespaceURI, const String& qualifiedName, ExceptionCode&, bool shouldIgnoreNamespaceChecks = false);
- PassRefPtr<EntityReference> createEntityReference(const String& name, ExceptionCode&);
- PassRefPtr<Node> importNode(Node* importedNode, ExceptionCode& ec) { return importNode(importedNode, true, ec); }
- PassRefPtr<Node> importNode(Node* importedNode, bool deep, ExceptionCode&);
- WEBCORE_EXPORT PassRefPtr<Element> createElementNS(const String& namespaceURI, const String& qualifiedName, ExceptionCode&);
- WEBCORE_EXPORT PassRefPtr<Element> createElement(const QualifiedName&, bool createdByParser);
</del><ins>+ virtual RefPtr<Element> createElement(const AtomicString& tagName, ExceptionCode&);
+ WEBCORE_EXPORT RefPtr<DocumentFragment> createDocumentFragment();
+ WEBCORE_EXPORT RefPtr<Text> createTextNode(const String& data);
+ RefPtr<Comment> createComment(const String& data);
+ RefPtr<CDATASection> createCDATASection(const String& data, ExceptionCode&);
+ RefPtr<ProcessingInstruction> createProcessingInstruction(const String& target, const String& data, ExceptionCode&);
+ RefPtr<Attr> createAttribute(const String& name, ExceptionCode&);
+ RefPtr<Attr> createAttributeNS(const String& namespaceURI, const String& qualifiedName, ExceptionCode&, bool shouldIgnoreNamespaceChecks = false);
+ RefPtr<EntityReference> createEntityReference(const String& name, ExceptionCode&);
+ RefPtr<Node> importNode(Node* importedNode, ExceptionCode& ec) { return importNode(importedNode, true, ec); }
+ RefPtr<Node> importNode(Node* importedNode, bool deep, ExceptionCode&);
+ WEBCORE_EXPORT RefPtr<Element> createElementNS(const String& namespaceURI, const String& qualifiedName, ExceptionCode&);
+ WEBCORE_EXPORT RefPtr<Element> createElement(const QualifiedName&, bool createdByParser);
</ins><span class="cx">
</span><span class="cx"> bool cssRegionsEnabled() const;
</span><span class="cx"> bool cssCompositingEnabled() const;
</span><span class="cx"> #if ENABLE(CSS_REGIONS)
</span><del>- PassRefPtr<DOMNamedFlowCollection> webkitGetNamedFlows();
</del><ins>+ RefPtr<DOMNamedFlowCollection> webkitGetNamedFlows();
</ins><span class="cx"> #endif
</span><span class="cx">
</span><span class="cx"> NamedFlowCollection& namedFlows();
</span><span class="lines">@@ -446,8 +446,8 @@
</span><span class="cx"> Element* elementFromPoint(int x, int y) { return elementFromPoint(LayoutPoint(x, y)); }
</span><span class="cx"> Element* elementFromPoint(const LayoutPoint& clientPoint);
</span><span class="cx">
</span><del>- PassRefPtr<Range> caretRangeFromPoint(int x, int y);
- PassRefPtr<Range> caretRangeFromPoint(const LayoutPoint& clientPoint);
</del><ins>+ RefPtr<Range> caretRangeFromPoint(int x, int y);
+ RefPtr<Range> caretRangeFromPoint(const LayoutPoint& clientPoint);
</ins><span class="cx">
</span><span class="cx"> String readyState() const;
</span><span class="cx">
</span><span class="lines">@@ -498,20 +498,20 @@
</span><span class="cx"> DOMSecurityPolicy& securityPolicy();
</span><span class="cx"> #endif
</span><span class="cx">
</span><del>- PassRefPtr<Node> adoptNode(PassRefPtr<Node> source, ExceptionCode&);
</del><ins>+ RefPtr<Node> adoptNode(PassRefPtr<Node> source, ExceptionCode&);
</ins><span class="cx">
</span><del>- PassRefPtr<HTMLCollection> images();
- PassRefPtr<HTMLCollection> embeds();
- PassRefPtr<HTMLCollection> plugins(); // an alias for embeds() required for the JS DOM bindings.
- PassRefPtr<HTMLCollection> applets();
- PassRefPtr<HTMLCollection> links();
- PassRefPtr<HTMLCollection> forms();
- PassRefPtr<HTMLCollection> anchors();
- PassRefPtr<HTMLCollection> scripts();
- PassRefPtr<HTMLCollection> all();
</del><ins>+ RefPtr<HTMLCollection> images();
+ RefPtr<HTMLCollection> embeds();
+ RefPtr<HTMLCollection> plugins(); // an alias for embeds() required for the JS DOM bindings.
+ RefPtr<HTMLCollection> applets();
+ RefPtr<HTMLCollection> links();
+ RefPtr<HTMLCollection> forms();
+ RefPtr<HTMLCollection> anchors();
+ RefPtr<HTMLCollection> scripts();
+ RefPtr<HTMLCollection> all();
</ins><span class="cx">
</span><del>- PassRefPtr<HTMLCollection> windowNamedItems(const AtomicString& name);
- PassRefPtr<HTMLCollection> documentNamedItems(const AtomicString& name);
</del><ins>+ RefPtr<HTMLCollection> windowNamedItems(const AtomicString& name);
+ RefPtr<HTMLCollection> documentNamedItems(const AtomicString& name);
</ins><span class="cx">
</span><span class="cx"> // Other methods (not part of DOM)
</span><span class="cx"> bool isSynthesized() const { return m_isSynthesized; }
</span><span class="lines">@@ -579,17 +579,17 @@
</span><span class="cx">
</span><span class="cx"> float deviceScaleFactor() const;
</span><span class="cx">
</span><del>- WEBCORE_EXPORT PassRefPtr<Range> createRange();
</del><ins>+ WEBCORE_EXPORT RefPtr<Range> createRange();
</ins><span class="cx">
</span><del>- PassRefPtr<NodeIterator> createNodeIterator(Node* root, unsigned whatToShow,
</del><ins>+ RefPtr<NodeIterator> createNodeIterator(Node* root, unsigned whatToShow,
</ins><span class="cx"> PassRefPtr<NodeFilter>, bool expandEntityReferences, ExceptionCode&);
</span><span class="cx">
</span><del>- PassRefPtr<TreeWalker> createTreeWalker(Node* root, unsigned whatToShow,
</del><ins>+ RefPtr<TreeWalker> createTreeWalker(Node* root, unsigned whatToShow,
</ins><span class="cx"> PassRefPtr<NodeFilter>, bool expandEntityReferences, ExceptionCode&);
</span><span class="cx">
</span><span class="cx"> // Special support for editing
</span><del>- PassRefPtr<CSSStyleDeclaration> createCSSStyleDeclaration();
- PassRefPtr<Text> createEditingTextNode(const String&);
</del><ins>+ RefPtr<CSSStyleDeclaration> createCSSStyleDeclaration();
+ RefPtr<Text> createEditingTextNode(const String&);
</ins><span class="cx">
</span><span class="cx"> void recalcStyle(Style::Change = Style::NoChange);
</span><span class="cx"> WEBCORE_EXPORT void updateStyleIfNeeded();
</span><span class="lines">@@ -687,7 +687,7 @@
</span><span class="cx">
</span><span class="cx"> CSSStyleSheet& elementSheet();
</span><span class="cx">
</span><del>- virtual PassRefPtr<DocumentParser> createParser();
</del><ins>+ virtual RefPtr<DocumentParser> createParser();
</ins><span class="cx"> DocumentParser* parser() const { return m_parser.get(); }
</span><span class="cx"> ScriptableDocumentParser* scriptableDocumentParser() const;
</span><span class="cx">
</span><span class="lines">@@ -818,7 +818,7 @@
</span><span class="cx"> WEBCORE_EXPORT void dispatchWindowEvent(PassRefPtr<Event>, PassRefPtr<EventTarget> = 0);
</span><span class="cx"> void dispatchWindowLoadEvent();
</span><span class="cx">
</span><del>- PassRefPtr<Event> createEvent(const String& eventType, ExceptionCode&);
</del><ins>+ RefPtr<Event> createEvent(const String& eventType, ExceptionCode&);
</ins><span class="cx">
</span><span class="cx"> // keep track of what types of event listeners are registered, so we don't
</span><span class="cx"> // dispatch events unnecessarily
</span><span class="lines">@@ -972,7 +972,7 @@
</span><span class="cx">
</span><span class="cx"> #if ENABLE(XSLT)
</span><span class="cx"> void applyXSLTransform(ProcessingInstruction* pi);
</span><del>- PassRefPtr<Document> transformSourceDocument() { return m_transformSourceDocument; }
</del><ins>+ RefPtr<Document> transformSourceDocument() { return m_transformSourceDocument; }
</ins><span class="cx"> void setTransformSourceDocument(Document* doc) { m_transformSourceDocument = doc; }
</span><span class="cx">
</span><span class="cx"> void setTransformSource(std::unique_ptr<TransformSource>);
</span><span class="lines">@@ -983,16 +983,9 @@
</span><span class="cx"> uint64_t domTreeVersion() const { return m_domTreeVersion; }
</span><span class="cx">
</span><span class="cx"> // XPathEvaluator methods
</span><del>- PassRefPtr<XPathExpression> createExpression(const String& expression,
- XPathNSResolver* resolver,
- ExceptionCode& ec);
- PassRefPtr<XPathNSResolver> createNSResolver(Node *nodeResolver);
- PassRefPtr<XPathResult> evaluate(const String& expression,
- Node* contextNode,
- XPathNSResolver* resolver,
- unsigned short type,
- XPathResult* result,
- ExceptionCode& ec);
</del><ins>+ RefPtr<XPathExpression> createExpression(const String& expression, XPathNSResolver*, ExceptionCode&);
+ RefPtr<XPathNSResolver> createNSResolver(Node* nodeResolver);
+ RefPtr<XPathResult> evaluate(const String& expression, Node* contextNode, XPathNSResolver*, unsigned short type, XPathResult*, ExceptionCode&);
</ins><span class="cx">
</span><span class="cx"> enum PendingSheetLayout { NoLayoutWithPendingSheets, DidLayoutWithPendingSheets, IgnoreLayoutWithPendingSheets };
</span><span class="cx">
</span><span class="lines">@@ -1068,7 +1061,7 @@
</span><span class="cx"> TextResourceDecoder* decoder() const { return m_decoder.get(); }
</span><span class="cx">
</span><span class="cx"> WEBCORE_EXPORT String displayStringModifiedByEncoding(const String&) const;
</span><del>- PassRefPtr<StringImpl> displayStringModifiedByEncoding(PassRefPtr<StringImpl>) const;
</del><ins>+ RefPtr<StringImpl> displayStringModifiedByEncoding(PassRefPtr<StringImpl>) const;
</ins><span class="cx"> void displayBufferModifiedByEncoding(LChar* buffer, unsigned len) const
</span><span class="cx"> {
</span><span class="cx"> displayBufferModifiedByEncodingInternal(buffer, len);
</span><span class="lines">@@ -1168,7 +1161,7 @@
</span><span class="cx"> #if ENABLE(IOS_TOUCH_EVENTS)
</span><span class="cx"> #include <WebKitAdditions/DocumentIOS.h>
</span><span class="cx"> #elif ENABLE(TOUCH_EVENTS)
</span><del>- PassRefPtr<Touch> createTouch(DOMWindow*, EventTarget*, int identifier, int pageX, int pageY, int screenX, int screenY, int radiusX, int radiusY, float rotationAngle, float force, ExceptionCode&) const;
</del><ins>+ RefPtr<Touch> createTouch(DOMWindow*, EventTarget*, int identifier, int pageX, int pageY, int screenX, int screenY, int radiusX, int radiusY, float rotationAngle, float force, ExceptionCode&) const;
</ins><span class="cx"> #endif
</span><span class="cx">
</span><span class="cx"> #if ENABLE(DEVICE_ORIENTATION) && PLATFORM(IOS)
</span><span class="lines">@@ -1269,7 +1262,7 @@
</span><span class="cx"> virtual SecurityOrigin* topOrigin() const override final;
</span><span class="cx">
</span><span class="cx"> #if ENABLE(FONT_LOAD_EVENTS)
</span><del>- PassRefPtr<FontLoader> fonts();
</del><ins>+ RefPtr<FontLoader> fonts();
</ins><span class="cx"> #endif
</span><span class="cx">
</span><span class="cx"> void ensurePlugInsInjectedScript(DOMWrapperWorld&);
</span><span class="lines">@@ -1297,7 +1290,7 @@
</span><span class="cx">
</span><span class="cx"> void clearXMLVersion() { m_xmlVersion = String(); }
</span><span class="cx">
</span><del>- virtual PassRefPtr<Document> cloneDocumentWithoutChildren() const;
</del><ins>+ virtual RefPtr<Document> cloneDocumentWithoutChildren() const;
</ins><span class="cx">
</span><span class="cx"> private:
</span><span class="cx"> friend class Node;
</span><span class="lines">@@ -1321,7 +1314,7 @@
</span><span class="cx"> virtual String nodeName() const override final;
</span><span class="cx"> virtual NodeType nodeType() const override final;
</span><span class="cx"> virtual bool childTypeAllowed(NodeType) const override final;
</span><del>- virtual PassRefPtr<Node> cloneNode(bool deep) override final;
</del><ins>+ virtual RefPtr<Node> cloneNode(bool deep) override final;
</ins><span class="cx"> void cloneDataFromDocument(const Document&);
</span><span class="cx">
</span><span class="cx"> virtual void refScriptExecutionContext() override final { ref(); }
</span><span class="lines">@@ -1352,7 +1345,7 @@
</span><span class="cx">
</span><span class="cx"> Node* nodeFromPoint(const LayoutPoint& clientPoint, LayoutPoint* localPoint = nullptr);
</span><span class="cx">
</span><del>- PassRefPtr<HTMLCollection> ensureCachedCollection(CollectionType);
</del><ins>+ RefPtr<HTMLCollection> ensureCachedCollection(CollectionType);
</ins><span class="cx">
</span><span class="cx"> #if ENABLE(FULLSCREEN_API)
</span><span class="cx"> void dispatchFullScreenChangeOrErrorEvent(Deque<RefPtr<Node>>&, const AtomicString& eventName, bool shouldNotifyMediaElement);
</span></span></pre></div>
<a id="trunkSourceWebCoredomDocumentFragmentcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/DocumentFragment.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/DocumentFragment.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/dom/DocumentFragment.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -36,12 +36,12 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<DocumentFragment> DocumentFragment::create(Document& document)
</del><ins>+RefPtr<DocumentFragment> DocumentFragment::create(Document& document)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new DocumentFragment(document, Node::CreateDocumentFragment));
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<DocumentFragment> DocumentFragment::create(ScriptExecutionContext& context)
</del><ins>+RefPtr<DocumentFragment> DocumentFragment::create(ScriptExecutionContext& context)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new DocumentFragment(downcast<Document>(context), Node::CreateDocumentFragment));
</span><span class="cx"> }
</span><span class="lines">@@ -71,12 +71,12 @@
</span><span class="cx"> }
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<Node> DocumentFragment::cloneNode(bool deep)
</del><ins>+RefPtr<Node> DocumentFragment::cloneNode(bool deep)
</ins><span class="cx"> {
</span><span class="cx"> RefPtr<DocumentFragment> clone = create(document());
</span><span class="cx"> if (deep)
</span><span class="cx"> cloneChildNodes(clone.get());
</span><del>- return clone.release();
</del><ins>+ return clone;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> void DocumentFragment::parseHTML(const String& source, Element* contextElement, ParserContentPolicy parserContentPolicy)
</span></span></pre></div>
<a id="trunkSourceWebCoredomDocumentFragmenth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/DocumentFragment.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/DocumentFragment.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/dom/DocumentFragment.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -33,8 +33,8 @@
</span><span class="cx">
</span><span class="cx"> class DocumentFragment : public ContainerNode {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<DocumentFragment> create(Document&);
- static PassRefPtr<DocumentFragment> create(ScriptExecutionContext&);
</del><ins>+ static RefPtr<DocumentFragment> create(Document&);
+ static RefPtr<DocumentFragment> create(ScriptExecutionContext&);
</ins><span class="cx">
</span><span class="cx"> void parseHTML(const String&, Element* contextElement, ParserContentPolicy = AllowScriptingContent);
</span><span class="cx"> bool parseXML(const String&, Element* contextElement, ParserContentPolicy = AllowScriptingContent);
</span><span class="lines">@@ -48,7 +48,7 @@
</span><span class="cx">
</span><span class="cx"> private:
</span><span class="cx"> virtual NodeType nodeType() const override final;
</span><del>- virtual PassRefPtr<Node> cloneNode(bool deep) override;
</del><ins>+ virtual RefPtr<Node> cloneNode(bool deep) override;
</ins><span class="cx"> virtual bool childTypeAllowed(NodeType) const override;
</span><span class="cx"> };
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebCoredomDocumentTypecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/DocumentType.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/DocumentType.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/dom/DocumentType.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -51,7 +51,7 @@
</span><span class="cx"> return DOCUMENT_TYPE_NODE;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<Node> DocumentType::cloneNode(bool /*deep*/)
</del><ins>+RefPtr<Node> DocumentType::cloneNode(bool /*deep*/)
</ins><span class="cx"> {
</span><span class="cx"> return create(document(), m_name, m_publicId, m_systemId);
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCoredomDocumentTypeh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/DocumentType.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/DocumentType.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/dom/DocumentType.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -32,7 +32,7 @@
</span><span class="cx">
</span><span class="cx"> class DocumentType final : public Node {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<DocumentType> create(Document& document, const String& name, const String& publicId, const String& systemId)
</del><ins>+ static RefPtr<DocumentType> create(Document& document, const String& name, const String& publicId, const String& systemId)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new DocumentType(document, name, publicId, systemId));
</span><span class="cx"> }
</span><span class="lines">@@ -52,7 +52,7 @@
</span><span class="cx"> virtual URL baseURI() const override;
</span><span class="cx"> virtual String nodeName() const override;
</span><span class="cx"> virtual NodeType nodeType() const override;
</span><del>- virtual PassRefPtr<Node> cloneNode(bool deep) override;
</del><ins>+ virtual RefPtr<Node> cloneNode(bool deep) override;
</ins><span class="cx">
</span><span class="cx"> String m_name;
</span><span class="cx"> String m_publicId;
</span></span></pre></div>
<a id="trunkSourceWebCoredomElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/Element.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/Element.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/dom/Element.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -137,7 +137,7 @@
</span><span class="cx"> return nullptr;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<Element> Element::create(const QualifiedName& tagName, Document& document)
</del><ins>+RefPtr<Element> Element::create(const QualifiedName& tagName, Document& document)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new Element(tagName, document, CreateElement));
</span><span class="cx"> }
</span><span class="lines">@@ -287,19 +287,19 @@
</span><span class="cx"> DEFINE_VIRTUAL_ATTRIBUTE_EVENT_LISTENER(Element, focus);
</span><span class="cx"> DEFINE_VIRTUAL_ATTRIBUTE_EVENT_LISTENER(Element, load);
</span><span class="cx">
</span><del>-PassRefPtr<Node> Element::cloneNode(bool deep)
</del><ins>+RefPtr<Node> Element::cloneNode(bool deep)
</ins><span class="cx"> {
</span><span class="cx"> return deep ? cloneElementWithChildren() : cloneElementWithoutChildren();
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<Element> Element::cloneElementWithChildren()
</del><ins>+RefPtr<Element> Element::cloneElementWithChildren()
</ins><span class="cx"> {
</span><span class="cx"> RefPtr<Element> clone = cloneElementWithoutChildren();
</span><span class="cx"> cloneChildNodes(clone.get());
</span><span class="cx"> return clone.release();
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<Element> Element::cloneElementWithoutChildren()
</del><ins>+RefPtr<Element> Element::cloneElementWithoutChildren()
</ins><span class="cx"> {
</span><span class="cx"> RefPtr<Element> clone = cloneElementWithoutAttributesAndChildren();
</span><span class="cx"> // This will catch HTML elements in the wrong namespace that are not correctly copied.
</span><span class="lines">@@ -310,12 +310,12 @@
</span><span class="cx"> return clone.release();
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<Element> Element::cloneElementWithoutAttributesAndChildren()
</del><ins>+RefPtr<Element> Element::cloneElementWithoutAttributesAndChildren()
</ins><span class="cx"> {
</span><span class="cx"> return document().createElement(tagQName(), false);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<Attr> Element::detachAttribute(unsigned index)
</del><ins>+RefPtr<Attr> Element::detachAttribute(unsigned index)
</ins><span class="cx"> {
</span><span class="cx"> ASSERT(elementData());
</span><span class="cx">
</span><span class="lines">@@ -881,7 +881,7 @@
</span><span class="cx"> return result;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<ClientRectList> Element::getClientRects()
</del><ins>+RefPtr<ClientRectList> Element::getClientRects()
</ins><span class="cx"> {
</span><span class="cx"> document().updateLayoutIgnorePendingStylesheets();
</span><span class="cx">
</span><span class="lines">@@ -898,7 +898,7 @@
</span><span class="cx"> return ClientRectList::create(quads);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<ClientRect> Element::getBoundingClientRect()
</del><ins>+RefPtr<ClientRect> Element::getBoundingClientRect()
</ins><span class="cx"> {
</span><span class="cx"> document().updateLayoutIgnorePendingStylesheets();
</span><span class="cx">
</span><span class="lines">@@ -1487,7 +1487,7 @@
</span><span class="cx"> oldRoot->distributor().invalidateDistribution(this);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<ShadowRoot> Element::createShadowRoot(ExceptionCode& ec)
</del><ins>+RefPtr<ShadowRoot> Element::createShadowRoot(ExceptionCode& ec)
</ins><span class="cx"> {
</span><span class="cx"> if (alwaysCreateUserAgentShadowRoot())
</span><span class="cx"> ensureUserAgentShadowRoot();
</span><span class="lines">@@ -1695,7 +1695,7 @@
</span><span class="cx"> return *attrNodeListForElement(*this);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<Attr> Element::setAttributeNode(Attr* attrNode, ExceptionCode& ec)
</del><ins>+RefPtr<Attr> Element::setAttributeNode(Attr* attrNode, ExceptionCode& ec)
</ins><span class="cx"> {
</span><span class="cx"> if (!attrNode) {
</span><span class="cx"> ec = TYPE_MISMATCH_ERR;
</span><span class="lines">@@ -1733,12 +1733,12 @@
</span><span class="cx"> return oldAttrNode.release();
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<Attr> Element::setAttributeNodeNS(Attr* attr, ExceptionCode& ec)
</del><ins>+RefPtr<Attr> Element::setAttributeNodeNS(Attr* attr, ExceptionCode& ec)
</ins><span class="cx"> {
</span><span class="cx"> return setAttributeNode(attr, ec);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<Attr> Element::removeAttributeNode(Attr* attr, ExceptionCode& ec)
</del><ins>+RefPtr<Attr> Element::removeAttributeNode(Attr* attr, ExceptionCode& ec)
</ins><span class="cx"> {
</span><span class="cx"> if (!attr) {
</span><span class="cx"> ec = TYPE_MISMATCH_ERR;
</span><span class="lines">@@ -1845,7 +1845,7 @@
</span><span class="cx"> return removeAttribute(QualifiedName(nullAtom, localName, namespaceURI));
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<Attr> Element::getAttributeNode(const AtomicString& localName)
</del><ins>+RefPtr<Attr> Element::getAttributeNode(const AtomicString& localName)
</ins><span class="cx"> {
</span><span class="cx"> if (!elementData())
</span><span class="cx"> return 0;
</span><span class="lines">@@ -1856,7 +1856,7 @@
</span><span class="cx"> return ensureAttr(attribute->name());
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<Attr> Element::getAttributeNodeNS(const AtomicString& namespaceURI, const AtomicString& localName)
</del><ins>+RefPtr<Attr> Element::getAttributeNodeNS(const AtomicString& namespaceURI, const AtomicString& localName)
</ins><span class="cx"> {
</span><span class="cx"> if (!elementData())
</span><span class="cx"> return 0;
</span><span class="lines">@@ -2767,7 +2767,7 @@
</span><span class="cx"> dispatchSubtreeModifiedEvent();
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLCollection> Element::ensureCachedHTMLCollection(CollectionType type)
</del><ins>+RefPtr<HTMLCollection> Element::ensureCachedHTMLCollection(CollectionType type)
</ins><span class="cx"> {
</span><span class="cx"> if (HTMLCollection* collection = cachedHTMLCollection(type))
</span><span class="cx"> return collection;
</span><span class="lines">@@ -2800,14 +2800,14 @@
</span><span class="cx"> ensureElementRareData().setSavedLayerScrollOffset(size);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<Attr> Element::attrIfExists(const QualifiedName& name)
</del><ins>+RefPtr<Attr> Element::attrIfExists(const QualifiedName& name)
</ins><span class="cx"> {
</span><span class="cx"> if (auto* attrNodeList = attrNodeListForElement(*this))
</span><span class="cx"> return findAttrNodeInList(*attrNodeList, name);
</span><span class="cx"> return nullptr;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<Attr> Element::ensureAttr(const QualifiedName& name)
</del><ins>+RefPtr<Attr> Element::ensureAttr(const QualifiedName& name)
</ins><span class="cx"> {
</span><span class="cx"> auto& attrNodeList = ensureAttrNodeListForElement(*this);
</span><span class="cx"> RefPtr<Attr> attrNode = findAttrNodeInList(attrNodeList, name);
</span><span class="lines">@@ -2926,10 +2926,10 @@
</span><span class="cx"> ASSERT(hasCustomStyleResolveCallbacks());
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<RenderStyle> Element::customStyleForRenderer(RenderStyle&)
</del><ins>+RefPtr<RenderStyle> Element::customStyleForRenderer(RenderStyle&)
</ins><span class="cx"> {
</span><span class="cx"> ASSERT(hasCustomStyleResolveCallbacks());
</span><del>- return 0;
</del><ins>+ return nullptr;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> void Element::cloneAttributesFromElement(const Element& other)
</span></span></pre></div>
<a id="trunkSourceWebCoredomElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/Element.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/Element.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/dom/Element.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -59,7 +59,7 @@
</span><span class="cx">
</span><span class="cx"> class Element : public ContainerNode {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<Element> create(const QualifiedName&, Document&);
</del><ins>+ static RefPtr<Element> create(const QualifiedName&, Document&);
</ins><span class="cx"> virtual ~Element();
</span><span class="cx">
</span><span class="cx"> DEFINE_ATTRIBUTE_EVENT_LISTENER(abort);
</span><span class="lines">@@ -220,8 +220,8 @@
</span><span class="cx">
</span><span class="cx"> WEBCORE_EXPORT IntRect boundsInRootViewSpace();
</span><span class="cx">
</span><del>- PassRefPtr<ClientRectList> getClientRects();
- PassRefPtr<ClientRect> getBoundingClientRect();
</del><ins>+ RefPtr<ClientRectList> getClientRects();
+ RefPtr<ClientRect> getBoundingClientRect();
</ins><span class="cx">
</span><span class="cx"> // Returns the absolute bounding box translated into client coordinates.
</span><span class="cx"> WEBCORE_EXPORT IntRect clientRect() const;
</span><span class="lines">@@ -231,16 +231,16 @@
</span><span class="cx"> bool removeAttribute(const AtomicString& name);
</span><span class="cx"> bool removeAttributeNS(const AtomicString& namespaceURI, const AtomicString& localName);
</span><span class="cx">
</span><del>- PassRefPtr<Attr> detachAttribute(unsigned index);
</del><ins>+ RefPtr<Attr> detachAttribute(unsigned index);
</ins><span class="cx">
</span><del>- PassRefPtr<Attr> getAttributeNode(const AtomicString& name);
- PassRefPtr<Attr> getAttributeNodeNS(const AtomicString& namespaceURI, const AtomicString& localName);
- PassRefPtr<Attr> setAttributeNode(Attr*, ExceptionCode&);
- PassRefPtr<Attr> setAttributeNodeNS(Attr*, ExceptionCode&);
- PassRefPtr<Attr> removeAttributeNode(Attr*, ExceptionCode&);
</del><ins>+ RefPtr<Attr> getAttributeNode(const AtomicString& name);
+ RefPtr<Attr> getAttributeNodeNS(const AtomicString& namespaceURI, const AtomicString& localName);
+ RefPtr<Attr> setAttributeNode(Attr*, ExceptionCode&);
+ RefPtr<Attr> setAttributeNodeNS(Attr*, ExceptionCode&);
+ RefPtr<Attr> removeAttributeNode(Attr*, ExceptionCode&);
</ins><span class="cx">
</span><del>- PassRefPtr<Attr> attrIfExists(const QualifiedName&);
- PassRefPtr<Attr> ensureAttr(const QualifiedName&);
</del><ins>+ RefPtr<Attr> attrIfExists(const QualifiedName&);
+ RefPtr<Attr> ensureAttr(const QualifiedName&);
</ins><span class="cx">
</span><span class="cx"> const Vector<RefPtr<Attr>>& attrNodeList();
</span><span class="cx">
</span><span class="lines">@@ -267,8 +267,8 @@
</span><span class="cx">
</span><span class="cx"> virtual String nodeName() const override;
</span><span class="cx">
</span><del>- PassRefPtr<Element> cloneElementWithChildren();
- PassRefPtr<Element> cloneElementWithoutChildren();
</del><ins>+ RefPtr<Element> cloneElementWithChildren();
+ RefPtr<Element> cloneElementWithoutChildren();
</ins><span class="cx">
</span><span class="cx"> void normalizeAttributes();
</span><span class="cx"> String nodeNamePreservingCase() const;
</span><span class="lines">@@ -315,7 +315,7 @@
</span><span class="cx"> virtual bool rendererIsNeeded(const RenderStyle&);
</span><span class="cx">
</span><span class="cx"> WEBCORE_EXPORT ShadowRoot* shadowRoot() const;
</span><del>- WEBCORE_EXPORT PassRefPtr<ShadowRoot> createShadowRoot(ExceptionCode&);
</del><ins>+ WEBCORE_EXPORT RefPtr<ShadowRoot> createShadowRoot(ExceptionCode&);
</ins><span class="cx">
</span><span class="cx"> ShadowRoot* userAgentShadowRoot() const;
</span><span class="cx"> ShadowRoot& ensureUserAgentShadowRoot();
</span><span class="lines">@@ -540,7 +540,7 @@
</span><span class="cx"> virtual void didAttachRenderers();
</span><span class="cx"> virtual void willDetachRenderers();
</span><span class="cx"> virtual void didDetachRenderers();
</span><del>- virtual PassRefPtr<RenderStyle> customStyleForRenderer(RenderStyle& parentStyle);
</del><ins>+ virtual RefPtr<RenderStyle> customStyleForRenderer(RenderStyle& parentStyle);
</ins><span class="cx">
</span><span class="cx"> void setBeforePseudoElement(PassRefPtr<PseudoElement>);
</span><span class="cx"> void setAfterPseudoElement(PassRefPtr<PseudoElement>);
</span><span class="lines">@@ -565,7 +565,7 @@
</span><span class="cx"> void clearTabIndexExplicitlyIfNeeded();
</span><span class="cx"> void setTabIndexExplicitly(short);
</span><span class="cx">
</span><del>- PassRefPtr<HTMLCollection> ensureCachedHTMLCollection(CollectionType);
</del><ins>+ RefPtr<HTMLCollection> ensureCachedHTMLCollection(CollectionType);
</ins><span class="cx"> HTMLCollection* cachedHTMLCollection(CollectionType);
</span><span class="cx">
</span><span class="cx"> // classAttributeChanged() exists to share code between
</span><span class="lines">@@ -626,8 +626,8 @@
</span><span class="cx">
</span><span class="cx"> // cloneNode is private so that non-virtual cloneElementWithChildren and cloneElementWithoutChildren
</span><span class="cx"> // are used instead.
</span><del>- virtual PassRefPtr<Node> cloneNode(bool deep) override;
- virtual PassRefPtr<Element> cloneElementWithoutAttributesAndChildren();
</del><ins>+ virtual RefPtr<Node> cloneNode(bool deep) override;
+ virtual RefPtr<Element> cloneElementWithoutAttributesAndChildren();
</ins><span class="cx">
</span><span class="cx"> void addShadowRoot(PassRefPtr<ShadowRoot>);
</span><span class="cx"> void removeShadowRoot();
</span></span></pre></div>
<a id="trunkSourceWebCoredomEntityReferencecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/EntityReference.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/EntityReference.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/dom/EntityReference.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -31,7 +31,7 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<EntityReference> EntityReference::create(Document& document, const String& entityName)
</del><ins>+RefPtr<EntityReference> EntityReference::create(Document& document, const String& entityName)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new EntityReference(document, entityName));
</span><span class="cx"> }
</span><span class="lines">@@ -46,7 +46,7 @@
</span><span class="cx"> return ENTITY_REFERENCE_NODE;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<Node> EntityReference::cloneNode(bool)
</del><ins>+RefPtr<Node> EntityReference::cloneNode(bool)
</ins><span class="cx"> {
</span><span class="cx"> return create(document(), m_entityName);
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCoredomEntityReferenceh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/EntityReference.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/EntityReference.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/dom/EntityReference.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -28,14 +28,14 @@
</span><span class="cx">
</span><span class="cx"> class EntityReference final : public ContainerNode {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<EntityReference> create(Document&, const String& entityName);
</del><ins>+ static RefPtr<EntityReference> create(Document&, const String& entityName);
</ins><span class="cx">
</span><span class="cx"> private:
</span><span class="cx"> EntityReference(Document&, const String& entityName);
</span><span class="cx">
</span><span class="cx"> virtual String nodeName() const override;
</span><span class="cx"> virtual NodeType nodeType() const override;
</span><del>- virtual PassRefPtr<Node> cloneNode(bool deep) override;
</del><ins>+ virtual RefPtr<Node> cloneNode(bool deep) override;
</ins><span class="cx">
</span><span class="cx"> String m_entityName;
</span><span class="cx"> };
</span></span></pre></div>
<a id="trunkSourceWebCoredomNodecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/Node.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/Node.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/dom/Node.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -403,7 +403,7 @@
</span><span class="cx"> // By default, setting nodeValue has no effect.
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<NodeList> Node::childNodes()
</del><ins>+RefPtr<NodeList> Node::childNodes()
</ins><span class="cx"> {
</span><span class="cx"> if (is<ContainerNode>(*this))
</span><span class="cx"> return ensureRareData().ensureNodeLists().ensureChildNodeList(downcast<ContainerNode>(*this));
</span></span></pre></div>
<a id="trunkSourceWebCoredomNodeh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/Node.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/Node.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/dom/Node.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -177,7 +177,7 @@
</span><span class="cx"> static ptrdiff_t previousSiblingMemoryOffset() { return OBJECT_OFFSETOF(Node, m_previous); }
</span><span class="cx"> Node* nextSibling() const { return m_next; }
</span><span class="cx"> static ptrdiff_t nextSiblingMemoryOffset() { return OBJECT_OFFSETOF(Node, m_next); }
</span><del>- PassRefPtr<NodeList> childNodes();
</del><ins>+ RefPtr<NodeList> childNodes();
</ins><span class="cx"> Node* firstChild() const;
</span><span class="cx"> Node* lastChild() const;
</span><span class="cx"> bool hasAttributes() const;
</span><span class="lines">@@ -201,7 +201,7 @@
</span><span class="cx">
</span><span class="cx"> WEBCORE_EXPORT void remove(ExceptionCode&);
</span><span class="cx"> bool hasChildNodes() const { return firstChild(); }
</span><del>- virtual PassRefPtr<Node> cloneNode(bool deep) = 0;
</del><ins>+ virtual RefPtr<Node> cloneNode(bool deep) = 0;
</ins><span class="cx"> virtual const AtomicString& localName() const;
</span><span class="cx"> virtual const AtomicString& namespaceURI() const;
</span><span class="cx"> virtual const AtomicString& prefix() const;
</span></span></pre></div>
<a id="trunkSourceWebCoredomProcessingInstructioncpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/ProcessingInstruction.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/ProcessingInstruction.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/dom/ProcessingInstruction.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -52,7 +52,7 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<ProcessingInstruction> ProcessingInstruction::create(Document& document, const String& target, const String& data)
</del><ins>+RefPtr<ProcessingInstruction> ProcessingInstruction::create(Document& document, const String& target, const String& data)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new ProcessingInstruction(document, target, data));
</span><span class="cx"> }
</span><span class="lines">@@ -79,7 +79,7 @@
</span><span class="cx"> return PROCESSING_INSTRUCTION_NODE;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<Node> ProcessingInstruction::cloneNode(bool /*deep*/)
</del><ins>+RefPtr<Node> ProcessingInstruction::cloneNode(bool /*deep*/)
</ins><span class="cx"> {
</span><span class="cx"> // FIXME: Is it a problem that this does not copy m_localHref?
</span><span class="cx"> // What about other data members?
</span></span></pre></div>
<a id="trunkSourceWebCoredomProcessingInstructionh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/ProcessingInstruction.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/ProcessingInstruction.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/dom/ProcessingInstruction.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -34,7 +34,7 @@
</span><span class="cx">
</span><span class="cx"> class ProcessingInstruction final : public CharacterData, private CachedStyleSheetClient {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<ProcessingInstruction> create(Document&, const String& target, const String& data);
</del><ins>+ static RefPtr<ProcessingInstruction> create(Document&, const String& target, const String& data);
</ins><span class="cx"> virtual ~ProcessingInstruction();
</span><span class="cx">
</span><span class="cx"> const String& target() const { return m_target; }
</span><span class="lines">@@ -58,7 +58,7 @@
</span><span class="cx">
</span><span class="cx"> virtual String nodeName() const override;
</span><span class="cx"> virtual NodeType nodeType() const override;
</span><del>- virtual PassRefPtr<Node> cloneNode(bool deep) override;
</del><ins>+ virtual RefPtr<Node> cloneNode(bool deep) override;
</ins><span class="cx">
</span><span class="cx"> virtual InsertionNotificationRequest insertedInto(ContainerNode&) override;
</span><span class="cx"> virtual void removedFrom(ContainerNode&) override;
</span></span></pre></div>
<a id="trunkSourceWebCoredomPseudoElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/PseudoElement.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/PseudoElement.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/dom/PseudoElement.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -70,7 +70,7 @@
</span><span class="cx"> InspectorInstrumentation::pseudoElementDestroyed(document().page(), this);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<RenderStyle> PseudoElement::customStyleForRenderer(RenderStyle& parentStyle)
</del><ins>+RefPtr<RenderStyle> PseudoElement::customStyleForRenderer(RenderStyle& parentStyle)
</ins><span class="cx"> {
</span><span class="cx"> return m_hostElement->renderer()->getCachedPseudoStyle(m_pseudoId, &parentStyle);
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCoredomPseudoElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/PseudoElement.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/PseudoElement.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/dom/PseudoElement.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -45,7 +45,7 @@
</span><span class="cx"> Element* hostElement() const { return m_hostElement; }
</span><span class="cx"> void clearHostElement() { m_hostElement = nullptr; }
</span><span class="cx">
</span><del>- virtual PassRefPtr<RenderStyle> customStyleForRenderer(RenderStyle& parentStyle) override;
</del><ins>+ virtual RefPtr<RenderStyle> customStyleForRenderer(RenderStyle& parentStyle) override;
</ins><span class="cx"> virtual void didAttachRenderers() override;
</span><span class="cx"> virtual bool rendererIsNeeded(const RenderStyle&) override;
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebCoredomShadowRooth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/ShadowRoot.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/ShadowRoot.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/dom/ShadowRoot.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -77,7 +77,7 @@
</span><span class="cx"> virtual void childrenChanged(const ChildChange&) override;
</span><span class="cx">
</span><span class="cx"> // ShadowRoots should never be cloned.
</span><del>- virtual PassRefPtr<Node> cloneNode(bool) override { return 0; }
</del><ins>+ virtual RefPtr<Node> cloneNode(bool) override { return 0; }
</ins><span class="cx">
</span><span class="cx"> // FIXME: This shouldn't happen. https://bugs.webkit.org/show_bug.cgi?id=88834
</span><span class="cx"> bool isOrphan() const { return !hostElement(); }
</span></span></pre></div>
<a id="trunkSourceWebCoredomTemplateContentDocumentFragmenth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/TemplateContentDocumentFragment.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/TemplateContentDocumentFragment.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/dom/TemplateContentDocumentFragment.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -35,7 +35,7 @@
</span><span class="cx">
</span><span class="cx"> class TemplateContentDocumentFragment final : public DocumentFragment {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<TemplateContentDocumentFragment> create(Document& document, const Element* host)
</del><ins>+ static RefPtr<TemplateContentDocumentFragment> create(Document& document, const Element* host)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new TemplateContentDocumentFragment(document, host));
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCoredomTextcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/Text.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/Text.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/dom/Text.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -38,17 +38,17 @@
</span><span class="cx">
</span><span class="cx"> namespace WebCore {
</span><span class="cx">
</span><del>-PassRefPtr<Text> Text::create(Document& document, const String& data)
</del><ins>+RefPtr<Text> Text::create(Document& document, const String& data)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new Text(document, data, CreateText));
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<Text> Text::create(ScriptExecutionContext& context, const String& data)
</del><ins>+RefPtr<Text> Text::create(ScriptExecutionContext& context, const String& data)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new Text(downcast<Document>(context), data, CreateText));
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<Text> Text::createEditingText(Document& document, const String& data)
</del><ins>+RefPtr<Text> Text::createEditingText(Document& document, const String& data)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new Text(document, data, CreateEditingText));
</span><span class="cx"> }
</span><span class="lines">@@ -58,7 +58,7 @@
</span><span class="cx"> ASSERT(!renderer());
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<Text> Text::splitText(unsigned offset, ExceptionCode& ec)
</del><ins>+RefPtr<Text> Text::splitText(unsigned offset, ExceptionCode& ec)
</ins><span class="cx"> {
</span><span class="cx"> ec = 0;
</span><span class="cx">
</span><span class="lines">@@ -124,7 +124,7 @@
</span><span class="cx"> return result.toString();
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<Text> Text::replaceWholeText(const String& newText, ExceptionCode&)
</del><ins>+RefPtr<Text> Text::replaceWholeText(const String& newText, ExceptionCode&)
</ins><span class="cx"> {
</span><span class="cx"> // Remove all adjacent text nodes, and replace the contents of this one.
</span><span class="cx">
</span><span class="lines">@@ -169,12 +169,11 @@
</span><span class="cx"> return TEXT_NODE;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<Node> Text::cloneNode(bool /*deep*/)
</del><ins>+RefPtr<Node> Text::cloneNode(bool /*deep*/)
</ins><span class="cx"> {
</span><span class="cx"> return create(document(), data());
</span><span class="cx"> }
</span><span class="cx">
</span><del>-
</del><span class="cx"> static bool isSVGShadowText(Text* text)
</span><span class="cx"> {
</span><span class="cx"> Node* parentNode = text->parentNode();
</span><span class="lines">@@ -204,12 +203,12 @@
</span><span class="cx"> return false;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<Text> Text::virtualCreate(const String& data)
</del><ins>+RefPtr<Text> Text::virtualCreate(const String& data)
</ins><span class="cx"> {
</span><span class="cx"> return create(document(), data);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<Text> Text::createWithLengthLimit(Document& document, const String& data, unsigned start, unsigned lengthLimit)
</del><ins>+RefPtr<Text> Text::createWithLengthLimit(Document& document, const String& data, unsigned start, unsigned lengthLimit)
</ins><span class="cx"> {
</span><span class="cx"> unsigned dataLength = data.length();
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebCoredomTexth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/Text.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/Text.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/dom/Text.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -35,19 +35,19 @@
</span><span class="cx"> public:
</span><span class="cx"> static const unsigned defaultLengthLimit = 1 << 16;
</span><span class="cx">
</span><del>- static PassRefPtr<Text> create(Document&, const String&);
- static PassRefPtr<Text> create(ScriptExecutionContext&, const String&);
- static PassRefPtr<Text> createWithLengthLimit(Document&, const String&, unsigned positionInString, unsigned lengthLimit = defaultLengthLimit);
- static PassRefPtr<Text> createEditingText(Document&, const String&);
</del><ins>+ static RefPtr<Text> create(Document&, const String&);
+ static RefPtr<Text> create(ScriptExecutionContext&, const String&);
+ static RefPtr<Text> createWithLengthLimit(Document&, const String&, unsigned positionInString, unsigned lengthLimit = defaultLengthLimit);
+ static RefPtr<Text> createEditingText(Document&, const String&);
</ins><span class="cx">
</span><span class="cx"> virtual ~Text();
</span><span class="cx">
</span><del>- PassRefPtr<Text> splitText(unsigned offset, ExceptionCode&);
</del><ins>+ RefPtr<Text> splitText(unsigned offset, ExceptionCode&);
</ins><span class="cx">
</span><span class="cx"> // DOM Level 3: http://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-1312295772
</span><span class="cx">
</span><span class="cx"> String wholeText() const;
</span><del>- PassRefPtr<Text> replaceWholeText(const String&, ExceptionCode&);
</del><ins>+ RefPtr<Text> replaceWholeText(const String&, ExceptionCode&);
</ins><span class="cx">
</span><span class="cx"> RenderPtr<RenderText> createTextRenderer(const RenderStyle&);
</span><span class="cx">
</span><span class="lines">@@ -64,10 +64,10 @@
</span><span class="cx"> private:
</span><span class="cx"> virtual String nodeName() const override;
</span><span class="cx"> virtual NodeType nodeType() const override;
</span><del>- virtual PassRefPtr<Node> cloneNode(bool deep) override;
</del><ins>+ virtual RefPtr<Node> cloneNode(bool deep) override;
</ins><span class="cx"> virtual bool childTypeAllowed(NodeType) const override;
</span><span class="cx">
</span><del>- virtual PassRefPtr<Text> virtualCreate(const String&);
</del><ins>+ virtual RefPtr<Text> virtualCreate(const String&);
</ins><span class="cx">
</span><span class="cx"> #ifndef NDEBUG
</span><span class="cx"> virtual void formatForDebugger(char* buffer, unsigned length) const override;
</span></span></pre></div>
<a id="trunkSourceWebCoreeditingApplyStyleCommandcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/editing/ApplyStyleCommand.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/editing/ApplyStyleCommand.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/editing/ApplyStyleCommand.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -112,12 +112,12 @@
</span><span class="cx"> return hasNoAttributeOrOnlyStyleAttribute(downcast<HTMLFontElement>(element), shouldStyleAttributeBeEmpty);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-static PassRefPtr<Element> createFontElement(Document& document)
</del><ins>+static RefPtr<Element> createFontElement(Document& document)
</ins><span class="cx"> {
</span><span class="cx"> return createHTMLElement(document, fontTag);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLElement> createStyleSpanElement(Document& document)
</del><ins>+RefPtr<HTMLElement> createStyleSpanElement(Document& document)
</ins><span class="cx"> {
</span><span class="cx"> return createHTMLElement(document, spanTag);
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCoreeditingApplyStyleCommandh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/editing/ApplyStyleCommand.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/editing/ApplyStyleCommand.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/editing/ApplyStyleCommand.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -136,7 +136,7 @@
</span><span class="cx"> bool isEmptyFontTag(const Element*, ShouldStyleAttributeBeEmpty = StyleAttributeShouldBeEmpty);
</span><span class="cx"> bool isLegacyAppleStyleSpan(const Node*);
</span><span class="cx"> bool isStyleSpanOrSpanWithOnlyStyleAttribute(const Element*);
</span><del>-PassRefPtr<HTMLElement> createStyleSpanElement(Document&);
</del><ins>+RefPtr<HTMLElement> createStyleSpanElement(Document&);
</ins><span class="cx">
</span><span class="cx"> } // namespace WebCore
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebCoreeditingInsertListCommandcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/editing/InsertListCommand.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/editing/InsertListCommand.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/editing/InsertListCommand.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -47,7 +47,7 @@
</span><span class="cx"> return listChild;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLElement> InsertListCommand::insertList(Document& document, Type type)
</del><ins>+RefPtr<HTMLElement> InsertListCommand::insertList(Document& document, Type type)
</ins><span class="cx"> {
</span><span class="cx"> RefPtr<InsertListCommand> insertCommand = create(document, type);
</span><span class="cx"> insertCommand->apply();
</span><span class="lines">@@ -64,7 +64,7 @@
</span><span class="cx"> return listElement.get();
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLElement> InsertListCommand::mergeWithNeighboringLists(PassRefPtr<HTMLElement> passedList)
</del><ins>+RefPtr<HTMLElement> InsertListCommand::mergeWithNeighboringLists(PassRefPtr<HTMLElement> passedList)
</ins><span class="cx"> {
</span><span class="cx"> RefPtr<HTMLElement> list = passedList;
</span><span class="cx"> Element* previousList = list->previousElementSibling();
</span><span class="lines">@@ -75,14 +75,14 @@
</span><span class="cx"> return nullptr;
</span><span class="cx"> Element* sibling = ElementTraversal::nextSibling(list.get());
</span><span class="cx"> if (!is<HTMLElement>(sibling))
</span><del>- return list.release();
</del><ins>+ return list;
</ins><span class="cx">
</span><span class="cx"> RefPtr<HTMLElement> nextList = downcast<HTMLElement>(sibling);
</span><span class="cx"> if (canMergeLists(list.get(), nextList.get())) {
</span><span class="cx"> mergeIdenticalElements(list, nextList);
</span><del>- return nextList.release();
</del><ins>+ return nextList;
</ins><span class="cx"> }
</span><del>- return list.release();
</del><ins>+ return list;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> bool InsertListCommand::selectionHasListOfType(const VisibleSelection& selection, const QualifiedName& listTag)
</span><span class="lines">@@ -331,7 +331,7 @@
</span><span class="cx"> return listNode;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLElement> InsertListCommand::listifyParagraph(const VisiblePosition& originalStart, const QualifiedName& listTag)
</del><ins>+RefPtr<HTMLElement> InsertListCommand::listifyParagraph(const VisiblePosition& originalStart, const QualifiedName& listTag)
</ins><span class="cx"> {
</span><span class="cx"> VisiblePosition start = startOfParagraph(originalStart, CanSkipOverEditingBoundary);
</span><span class="cx"> VisiblePosition end = endOfParagraph(start, CanSkipOverEditingBoundary);
</span></span></pre></div>
<a id="trunkSourceWebCoreeditingInsertListCommandh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/editing/InsertListCommand.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/editing/InsertListCommand.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/editing/InsertListCommand.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -37,12 +37,12 @@
</span><span class="cx"> public:
</span><span class="cx"> enum Type { OrderedList, UnorderedList };
</span><span class="cx">
</span><del>- static PassRefPtr<InsertListCommand> create(Document& document, Type listType)
</del><ins>+ static RefPtr<InsertListCommand> create(Document& document, Type listType)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new InsertListCommand(document, listType));
</span><span class="cx"> }
</span><span class="cx">
</span><del>- static PassRefPtr<HTMLElement> insertList(Document&, Type);
</del><ins>+ static RefPtr<HTMLElement> insertList(Document&, Type);
</ins><span class="cx">
</span><span class="cx"> virtual bool preservesTypingStyle() const { return true; }
</span><span class="cx">
</span><span class="lines">@@ -54,10 +54,10 @@
</span><span class="cx">
</span><span class="cx"> HTMLElement* fixOrphanedListChild(Node*);
</span><span class="cx"> bool selectionHasListOfType(const VisibleSelection& selection, const QualifiedName&);
</span><del>- PassRefPtr<HTMLElement> mergeWithNeighboringLists(PassRefPtr<HTMLElement>);
</del><ins>+ RefPtr<HTMLElement> mergeWithNeighboringLists(PassRefPtr<HTMLElement>);
</ins><span class="cx"> void doApplyForSingleParagraph(bool forceCreateList, const HTMLQualifiedName&, Range* currentSelection);
</span><span class="cx"> void unlistifyParagraph(const VisiblePosition& originalStart, HTMLElement* listNode, Node* listChildNode);
</span><del>- PassRefPtr<HTMLElement> listifyParagraph(const VisiblePosition& originalStart, const QualifiedName& listTag);
</del><ins>+ RefPtr<HTMLElement> listifyParagraph(const VisiblePosition& originalStart, const QualifiedName& listTag);
</ins><span class="cx"> RefPtr<HTMLElement> m_listElement;
</span><span class="cx"> Type m_type;
</span><span class="cx"> };
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlFTPDirectoryDocumentcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/FTPDirectoryDocument.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/FTPDirectoryDocument.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/FTPDirectoryDocument.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -48,7 +48,7 @@
</span><span class="cx">
</span><span class="cx"> class FTPDirectoryDocumentParser final : public HTMLDocumentParser {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<FTPDirectoryDocumentParser> create(HTMLDocument& document)
</del><ins>+ static RefPtr<FTPDirectoryDocumentParser> create(HTMLDocument& document)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new FTPDirectoryDocumentParser(document));
</span><span class="cx"> }
</span><span class="lines">@@ -81,7 +81,7 @@
</span><span class="cx">
</span><span class="cx"> void parseAndAppendOneLine(const String&);
</span><span class="cx"> void appendEntry(const String& name, const String& size, const String& date, bool isDirectory);
</span><del>- PassRefPtr<Element> createTDForFilename(const String&);
</del><ins>+ RefPtr<Element> createTDForFilename(const String&);
</ins><span class="cx">
</span><span class="cx"> RefPtr<HTMLTableElement> m_tableElement;
</span><span class="cx">
</span><span class="lines">@@ -132,7 +132,7 @@
</span><span class="cx"> rowElement->appendChild(element, IGNORE_EXCEPTION);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<Element> FTPDirectoryDocumentParser::createTDForFilename(const String& filename)
</del><ins>+RefPtr<Element> FTPDirectoryDocumentParser::createTDForFilename(const String& filename)
</ins><span class="cx"> {
</span><span class="cx"> String fullURL = document()->baseURL().string();
</span><span class="cx"> if (fullURL.endsWith('/'))
</span><span class="lines">@@ -273,19 +273,19 @@
</span><span class="cx"> appendEntry(filename, processFilesizeString(result.fileSize, result.type == FTPDirectoryEntry), processFileDateString(result.modifiedTime), result.type == FTPDirectoryEntry);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-static inline PassRefPtr<SharedBuffer> createTemplateDocumentData(Settings* settings)
</del><ins>+static inline RefPtr<SharedBuffer> createTemplateDocumentData(Settings* settings)
</ins><span class="cx"> {
</span><span class="cx"> RefPtr<SharedBuffer> buffer = 0;
</span><span class="cx"> if (settings)
</span><span class="cx"> buffer = SharedBuffer::createWithContentsOfFile(settings->ftpDirectoryTemplatePath());
</span><span class="cx"> if (buffer)
</span><span class="cx"> LOG(FTP, "Loaded FTPDirectoryTemplate of length %i\n", buffer->size());
</span><del>- return buffer.release();
</del><ins>+ return buffer;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> bool FTPDirectoryDocumentParser::loadDocumentTemplate()
</span><span class="cx"> {
</span><del>- static SharedBuffer* templateDocumentData = createTemplateDocumentData(document()->settings()).leakRef();
</del><ins>+ static SharedBuffer* templateDocumentData = createTemplateDocumentData(document()->settings()).release().leakRef();
</ins><span class="cx"> // FIXME: Instead of storing the data, we'd rather actually parse the template data into the template Document once,
</span><span class="cx"> // store that document, then "copy" it whenever we get an FTP directory listing. There are complexities with this
</span><span class="cx"> // approach that make it worth putting this off.
</span><span class="lines">@@ -432,7 +432,7 @@
</span><span class="cx"> #endif
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<DocumentParser> FTPDirectoryDocument::createParser()
</del><ins>+RefPtr<DocumentParser> FTPDirectoryDocument::createParser()
</ins><span class="cx"> {
</span><span class="cx"> return FTPDirectoryDocumentParser::create(*this);
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlFTPDirectoryDocumenth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/FTPDirectoryDocument.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/FTPDirectoryDocument.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/FTPDirectoryDocument.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -33,14 +33,14 @@
</span><span class="cx">
</span><span class="cx"> class FTPDirectoryDocument final : public HTMLDocument {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<FTPDirectoryDocument> create(Frame* frame, const URL& url)
</del><ins>+ static RefPtr<FTPDirectoryDocument> create(Frame* frame, const URL& url)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new FTPDirectoryDocument(frame, url));
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> private:
</span><span class="cx"> FTPDirectoryDocument(Frame*, const URL&);
</span><del>- virtual PassRefPtr<DocumentParser> createParser() override;
</del><ins>+ virtual RefPtr<DocumentParser> createParser() override;
</ins><span class="cx"> };
</span><span class="cx">
</span><span class="cx"> } // namespace WebCore
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLAnchorElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLAnchorElement.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLAnchorElement.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLAnchorElement.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -63,12 +63,12 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLAnchorElement> HTMLAnchorElement::create(Document& document)
</del><ins>+RefPtr<HTMLAnchorElement> HTMLAnchorElement::create(Document& document)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLAnchorElement(aTag, document));
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLAnchorElement> HTMLAnchorElement::create(const QualifiedName& tagName, Document& document)
</del><ins>+RefPtr<HTMLAnchorElement> HTMLAnchorElement::create(const QualifiedName& tagName, Document& document)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLAnchorElement(tagName, document));
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLAnchorElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLAnchorElement.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLAnchorElement.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLAnchorElement.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -57,8 +57,8 @@
</span><span class="cx">
</span><span class="cx"> class HTMLAnchorElement : public HTMLElement {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<HTMLAnchorElement> create(Document&);
- static PassRefPtr<HTMLAnchorElement> create(const QualifiedName&, Document&);
</del><ins>+ static RefPtr<HTMLAnchorElement> create(Document&);
+ static RefPtr<HTMLAnchorElement> create(const QualifiedName&, Document&);
</ins><span class="cx">
</span><span class="cx"> virtual ~HTMLAnchorElement();
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLAppletElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLAppletElement.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLAppletElement.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLAppletElement.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -48,7 +48,7 @@
</span><span class="cx"> m_serviceType = "application/x-java-applet";
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLAppletElement> HTMLAppletElement::create(const QualifiedName& tagName, Document& document, bool createdByParser)
</del><ins>+RefPtr<HTMLAppletElement> HTMLAppletElement::create(const QualifiedName& tagName, Document& document, bool createdByParser)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLAppletElement(tagName, document, createdByParser));
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLAppletElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLAppletElement.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLAppletElement.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLAppletElement.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -29,7 +29,7 @@
</span><span class="cx">
</span><span class="cx"> class HTMLAppletElement final : public HTMLPlugInImageElement {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<HTMLAppletElement> create(const QualifiedName&, Document&, bool createdByParser);
</del><ins>+ static RefPtr<HTMLAppletElement> create(const QualifiedName&, Document&, bool createdByParser);
</ins><span class="cx">
</span><span class="cx"> private:
</span><span class="cx"> HTMLAppletElement(const QualifiedName&, Document&, bool createdByParser);
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLAreaElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLAreaElement.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLAreaElement.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLAreaElement.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -45,7 +45,7 @@
</span><span class="cx"> ASSERT(hasTagName(areaTag));
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLAreaElement> HTMLAreaElement::create(const QualifiedName& tagName, Document& document)
</del><ins>+RefPtr<HTMLAreaElement> HTMLAreaElement::create(const QualifiedName& tagName, Document& document)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLAreaElement(tagName, document));
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLAreaElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLAreaElement.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLAreaElement.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLAreaElement.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -35,7 +35,7 @@
</span><span class="cx">
</span><span class="cx"> class HTMLAreaElement final : public HTMLAnchorElement {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<HTMLAreaElement> create(const QualifiedName&, Document&);
</del><ins>+ static RefPtr<HTMLAreaElement> create(const QualifiedName&, Document&);
</ins><span class="cx">
</span><span class="cx"> bool isDefault() const { return m_shape == Default; }
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLAudioElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLAudioElement.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLAudioElement.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLAudioElement.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -39,14 +39,14 @@
</span><span class="cx"> ASSERT(hasTagName(audioTag));
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLAudioElement> HTMLAudioElement::create(const QualifiedName& tagName, Document& document, bool createdByParser)
</del><ins>+RefPtr<HTMLAudioElement> HTMLAudioElement::create(const QualifiedName& tagName, Document& document, bool createdByParser)
</ins><span class="cx"> {
</span><span class="cx"> RefPtr<HTMLAudioElement> audioElement(adoptRef(new HTMLAudioElement(tagName, document, createdByParser)));
</span><span class="cx"> audioElement->suspendIfNeeded();
</span><del>- return audioElement.release();
</del><ins>+ return audioElement;
</ins><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLAudioElement> HTMLAudioElement::createForJSConstructor(Document& document, const String& src)
</del><ins>+RefPtr<HTMLAudioElement> HTMLAudioElement::createForJSConstructor(Document& document, const String& src)
</ins><span class="cx"> {
</span><span class="cx"> RefPtr<HTMLAudioElement> audio = adoptRef(new HTMLAudioElement(audioTag, document, false));
</span><span class="cx"> audio->setPreload("auto");
</span><span class="lines">@@ -55,7 +55,7 @@
</span><span class="cx"> audio->scheduleDelayedAction(HTMLMediaElement::LoadMediaResource);
</span><span class="cx"> }
</span><span class="cx"> audio->suspendIfNeeded();
</span><del>- return audio.release();
</del><ins>+ return audio;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLAudioElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLAudioElement.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLAudioElement.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLAudioElement.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -36,8 +36,8 @@
</span><span class="cx">
</span><span class="cx"> class HTMLAudioElement final : public HTMLMediaElement {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<HTMLAudioElement> create(const QualifiedName&, Document&, bool);
- static PassRefPtr<HTMLAudioElement> createForJSConstructor(Document&, const String& src);
</del><ins>+ static RefPtr<HTMLAudioElement> create(const QualifiedName&, Document&, bool);
+ static RefPtr<HTMLAudioElement> createForJSConstructor(Document&, const String& src);
</ins><span class="cx">
</span><span class="cx"> private:
</span><span class="cx"> HTMLAudioElement(const QualifiedName&, Document&, bool);
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLBDIElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLBDIElement.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLBDIElement.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLBDIElement.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -27,7 +27,7 @@
</span><span class="cx">
</span><span class="cx"> class HTMLBDIElement final : public HTMLElement {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<HTMLBDIElement> create(const QualifiedName& name, Document& document)
</del><ins>+ static RefPtr<HTMLBDIElement> create(const QualifiedName& name, Document& document)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLBDIElement(name, document));
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLBRElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLBRElement.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLBRElement.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLBRElement.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -39,12 +39,12 @@
</span><span class="cx"> ASSERT(hasTagName(brTag));
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLBRElement> HTMLBRElement::create(Document& document)
</del><ins>+RefPtr<HTMLBRElement> HTMLBRElement::create(Document& document)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLBRElement(brTag, document));
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLBRElement> HTMLBRElement::create(const QualifiedName& tagName, Document& document)
</del><ins>+RefPtr<HTMLBRElement> HTMLBRElement::create(const QualifiedName& tagName, Document& document)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLBRElement(tagName, document));
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLBRElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLBRElement.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLBRElement.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLBRElement.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -30,8 +30,8 @@
</span><span class="cx">
</span><span class="cx"> class HTMLBRElement final : public HTMLElement {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<HTMLBRElement> create(Document&);
- static PassRefPtr<HTMLBRElement> create(const QualifiedName&, Document&);
</del><ins>+ static RefPtr<HTMLBRElement> create(Document&);
+ static RefPtr<HTMLBRElement> create(const QualifiedName&, Document&);
</ins><span class="cx">
</span><span class="cx"> virtual bool canContainRangeEndPoint() const override { return false; }
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLBaseElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLBaseElement.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLBaseElement.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLBaseElement.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -39,7 +39,7 @@
</span><span class="cx"> ASSERT(hasTagName(baseTag));
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLBaseElement> HTMLBaseElement::create(const QualifiedName& tagName, Document& document)
</del><ins>+RefPtr<HTMLBaseElement> HTMLBaseElement::create(const QualifiedName& tagName, Document& document)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLBaseElement(tagName, document));
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLBaseElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLBaseElement.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLBaseElement.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLBaseElement.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -29,7 +29,7 @@
</span><span class="cx">
</span><span class="cx"> class HTMLBaseElement final : public HTMLElement {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<HTMLBaseElement> create(const QualifiedName&, Document&);
</del><ins>+ static RefPtr<HTMLBaseElement> create(const QualifiedName&, Document&);
</ins><span class="cx">
</span><span class="cx"> URL href() const;
</span><span class="cx"> void setHref(const AtomicString&);
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLBaseFontElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLBaseFontElement.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLBaseFontElement.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLBaseFontElement.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -35,7 +35,7 @@
</span><span class="cx"> ASSERT(hasTagName(basefontTag));
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLBaseFontElement> HTMLBaseFontElement::create(const QualifiedName& tagName, Document& document)
</del><ins>+RefPtr<HTMLBaseFontElement> HTMLBaseFontElement::create(const QualifiedName& tagName, Document& document)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLBaseFontElement(tagName, document));
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLBaseFontElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLBaseFontElement.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLBaseFontElement.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLBaseFontElement.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -29,7 +29,7 @@
</span><span class="cx">
</span><span class="cx"> class HTMLBaseFontElement final : public HTMLElement {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<HTMLBaseFontElement> create(const QualifiedName&, Document&);
</del><ins>+ static RefPtr<HTMLBaseFontElement> create(const QualifiedName&, Document&);
</ins><span class="cx">
</span><span class="cx"> private:
</span><span class="cx"> HTMLBaseFontElement(const QualifiedName&, Document&);
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLBodyElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLBodyElement.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLBodyElement.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLBodyElement.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -47,12 +47,12 @@
</span><span class="cx"> ASSERT(hasTagName(bodyTag));
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLBodyElement> HTMLBodyElement::create(Document& document)
</del><ins>+RefPtr<HTMLBodyElement> HTMLBodyElement::create(Document& document)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLBodyElement(bodyTag, document));
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLBodyElement> HTMLBodyElement::create(const QualifiedName& tagName, Document& document)
</del><ins>+RefPtr<HTMLBodyElement> HTMLBodyElement::create(const QualifiedName& tagName, Document& document)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLBodyElement(tagName, document));
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLBodyElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLBodyElement.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLBodyElement.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLBodyElement.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -32,8 +32,8 @@
</span><span class="cx">
</span><span class="cx"> class HTMLBodyElement final : public HTMLElement {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<HTMLBodyElement> create(Document&);
- static PassRefPtr<HTMLBodyElement> create(const QualifiedName&, Document&);
</del><ins>+ static RefPtr<HTMLBodyElement> create(Document&);
+ static RefPtr<HTMLBodyElement> create(const QualifiedName&, Document&);
</ins><span class="cx"> virtual ~HTMLBodyElement();
</span><span class="cx">
</span><span class="cx"> // Declared virtual in Element
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLButtonElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLButtonElement.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLButtonElement.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLButtonElement.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -47,7 +47,7 @@
</span><span class="cx"> ASSERT(hasTagName(buttonTag));
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLButtonElement> HTMLButtonElement::create(const QualifiedName& tagName, Document& document, HTMLFormElement* form)
</del><ins>+RefPtr<HTMLButtonElement> HTMLButtonElement::create(const QualifiedName& tagName, Document& document, HTMLFormElement* form)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLButtonElement(tagName, document, form));
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLButtonElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLButtonElement.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLButtonElement.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLButtonElement.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -30,7 +30,7 @@
</span><span class="cx">
</span><span class="cx"> class HTMLButtonElement final : public HTMLFormControlElement {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<HTMLButtonElement> create(const QualifiedName&, Document&, HTMLFormElement*);
</del><ins>+ static RefPtr<HTMLButtonElement> create(const QualifiedName&, Document&, HTMLFormElement*);
</ins><span class="cx">
</span><span class="cx"> void setType(const AtomicString&);
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLCanvasElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLCanvasElement.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLCanvasElement.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLCanvasElement.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -86,12 +86,12 @@
</span><span class="cx"> ASSERT(hasTagName(canvasTag));
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLCanvasElement> HTMLCanvasElement::create(Document& document)
</del><ins>+RefPtr<HTMLCanvasElement> HTMLCanvasElement::create(Document& document)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLCanvasElement(canvasTag, document));
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLCanvasElement> HTMLCanvasElement::create(const QualifiedName& tagName, Document& document)
</del><ins>+RefPtr<HTMLCanvasElement> HTMLCanvasElement::create(const QualifiedName& tagName, Document& document)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLCanvasElement(tagName, document));
</span><span class="cx"> }
</span><span class="lines">@@ -466,7 +466,7 @@
</span><span class="cx"> return buffer()->toDataURL(encodingMimeType, quality);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<ImageData> HTMLCanvasElement::getImageData()
</del><ins>+RefPtr<ImageData> HTMLCanvasElement::getImageData()
</ins><span class="cx"> {
</span><span class="cx"> #if ENABLE(WEBGL)
</span><span class="cx"> if (!is3D())
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLCanvasElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLCanvasElement.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLCanvasElement.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLCanvasElement.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -63,8 +63,8 @@
</span><span class="cx">
</span><span class="cx"> class HTMLCanvasElement final : public HTMLElement {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<HTMLCanvasElement> create(Document&);
- static PassRefPtr<HTMLCanvasElement> create(const QualifiedName&, Document&);
</del><ins>+ static RefPtr<HTMLCanvasElement> create(Document&);
+ static RefPtr<HTMLCanvasElement> create(const QualifiedName&, Document&);
</ins><span class="cx"> virtual ~HTMLCanvasElement();
</span><span class="cx">
</span><span class="cx"> void addObserver(CanvasObserver&);
</span><span class="lines">@@ -115,7 +115,7 @@
</span><span class="cx"> ImageBuffer* buffer() const;
</span><span class="cx"> Image* copiedImage() const;
</span><span class="cx"> void clearCopiedImage();
</span><del>- PassRefPtr<ImageData> getImageData();
</del><ins>+ RefPtr<ImageData> getImageData();
</ins><span class="cx"> void makePresentationCopy();
</span><span class="cx"> void clearPresentationCopy();
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLDListElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLDListElement.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLDListElement.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLDListElement.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -35,7 +35,7 @@
</span><span class="cx"> ASSERT(hasTagName(dlTag));
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLDListElement> HTMLDListElement::create(const QualifiedName& tagName, Document& document)
</del><ins>+RefPtr<HTMLDListElement> HTMLDListElement::create(const QualifiedName& tagName, Document& document)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLDListElement(tagName, document));
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLDListElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLDListElement.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLDListElement.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLDListElement.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -29,7 +29,7 @@
</span><span class="cx">
</span><span class="cx"> class HTMLDListElement final : public HTMLElement {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<HTMLDListElement> create(const QualifiedName&, Document&);
</del><ins>+ static RefPtr<HTMLDListElement> create(const QualifiedName&, Document&);
</ins><span class="cx">
</span><span class="cx"> private:
</span><span class="cx"> HTMLDListElement(const QualifiedName&, Document&);
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLDataListElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLDataListElement.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLDataListElement.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLDataListElement.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -43,12 +43,12 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLDataListElement> HTMLDataListElement::create(const QualifiedName& tagName, Document& document)
</del><ins>+RefPtr<HTMLDataListElement> HTMLDataListElement::create(const QualifiedName& tagName, Document& document)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLDataListElement(tagName, document));
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLCollection> HTMLDataListElement::options()
</del><ins>+RefPtr<HTMLCollection> HTMLDataListElement::options()
</ins><span class="cx"> {
</span><span class="cx"> return ensureCachedHTMLCollection(DataListOptions);
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLDataListElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLDataListElement.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLDataListElement.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLDataListElement.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -40,9 +40,9 @@
</span><span class="cx">
</span><span class="cx"> class HTMLDataListElement final : public HTMLElement {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<HTMLDataListElement> create(const QualifiedName&, Document&);
</del><ins>+ static RefPtr<HTMLDataListElement> create(const QualifiedName&, Document&);
</ins><span class="cx">
</span><del>- PassRefPtr<HTMLCollection> options();
</del><ins>+ RefPtr<HTMLCollection> options();
</ins><span class="cx">
</span><span class="cx"> void optionElementChildrenChanged();
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLDetailsElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLDetailsElement.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLDetailsElement.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLDetailsElement.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -42,7 +42,7 @@
</span><span class="cx">
</span><span class="cx"> class DetailsContentElement final : public InsertionPoint {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<DetailsContentElement> create(Document&);
</del><ins>+ static RefPtr<DetailsContentElement> create(Document&);
</ins><span class="cx">
</span><span class="cx"> private:
</span><span class="cx"> DetailsContentElement(Document& document)
</span><span class="lines">@@ -58,14 +58,14 @@
</span><span class="cx"> }
</span><span class="cx"> };
</span><span class="cx">
</span><del>-PassRefPtr<DetailsContentElement> DetailsContentElement::create(Document& document)
</del><ins>+RefPtr<DetailsContentElement> DetailsContentElement::create(Document& document)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new DetailsContentElement(document));
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> class DetailsSummaryElement final : public InsertionPoint {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<DetailsSummaryElement> create(Document&);
</del><ins>+ static RefPtr<DetailsSummaryElement> create(Document&);
</ins><span class="cx">
</span><span class="cx"> Element* fallbackSummary()
</span><span class="cx"> {
</span><span class="lines">@@ -87,21 +87,21 @@
</span><span class="cx"> }
</span><span class="cx"> };
</span><span class="cx">
</span><del>-PassRefPtr<DetailsSummaryElement> DetailsSummaryElement::create(Document& document)
</del><ins>+RefPtr<DetailsSummaryElement> DetailsSummaryElement::create(Document& document)
</ins><span class="cx"> {
</span><span class="cx"> RefPtr<HTMLSummaryElement> summary = HTMLSummaryElement::create(summaryTag, document);
</span><span class="cx"> summary->appendChild(Text::create(document, defaultDetailsSummaryText()), ASSERT_NO_EXCEPTION);
</span><span class="cx">
</span><span class="cx"> RefPtr<DetailsSummaryElement> detailsSummary = adoptRef(new DetailsSummaryElement(document));
</span><span class="cx"> detailsSummary->appendChild(summary);
</span><del>- return detailsSummary.release();
</del><ins>+ return detailsSummary;
</ins><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLDetailsElement> HTMLDetailsElement::create(const QualifiedName& tagName, Document& document)
</del><ins>+RefPtr<HTMLDetailsElement> HTMLDetailsElement::create(const QualifiedName& tagName, Document& document)
</ins><span class="cx"> {
</span><span class="cx"> RefPtr<HTMLDetailsElement> details = adoptRef(new HTMLDetailsElement(tagName, document));
</span><span class="cx"> details->ensureUserAgentShadowRoot();
</span><del>- return details.release();
</del><ins>+ return details;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> HTMLDetailsElement::HTMLDetailsElement(const QualifiedName& tagName, Document& document)
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLDetailsElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLDetailsElement.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLDetailsElement.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLDetailsElement.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -27,7 +27,7 @@
</span><span class="cx">
</span><span class="cx"> class HTMLDetailsElement final : public HTMLElement {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<HTMLDetailsElement> create(const QualifiedName& tagName, Document& document);
</del><ins>+ static RefPtr<HTMLDetailsElement> create(const QualifiedName& tagName, Document&);
</ins><span class="cx"> void toggleOpen();
</span><span class="cx">
</span><span class="cx"> const Element* findMainSummary() const;
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLDirectoryElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLDirectoryElement.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLDirectoryElement.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLDirectoryElement.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -35,7 +35,7 @@
</span><span class="cx"> ASSERT(hasTagName(dirTag));
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLDirectoryElement> HTMLDirectoryElement::create(const QualifiedName& tagName, Document& document)
</del><ins>+RefPtr<HTMLDirectoryElement> HTMLDirectoryElement::create(const QualifiedName& tagName, Document& document)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLDirectoryElement(tagName, document));
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLDirectoryElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLDirectoryElement.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLDirectoryElement.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLDirectoryElement.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -29,7 +29,7 @@
</span><span class="cx">
</span><span class="cx"> class HTMLDirectoryElement final : public HTMLElement {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<HTMLDirectoryElement> create(const QualifiedName& tagName, Document&);
</del><ins>+ static RefPtr<HTMLDirectoryElement> create(const QualifiedName& tagName, Document&);
</ins><span class="cx">
</span><span class="cx"> private:
</span><span class="cx"> HTMLDirectoryElement(const QualifiedName&, Document&);
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLDivElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLDivElement.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLDivElement.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLDivElement.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -38,12 +38,12 @@
</span><span class="cx"> ASSERT(hasTagName(divTag));
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLDivElement> HTMLDivElement::create(Document& document)
</del><ins>+RefPtr<HTMLDivElement> HTMLDivElement::create(Document& document)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLDivElement(divTag, document));
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLDivElement> HTMLDivElement::create(const QualifiedName& tagName, Document& document)
</del><ins>+RefPtr<HTMLDivElement> HTMLDivElement::create(const QualifiedName& tagName, Document& document)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLDivElement(tagName, document));
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLDivElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLDivElement.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLDivElement.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLDivElement.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -29,8 +29,8 @@
</span><span class="cx">
</span><span class="cx"> class HTMLDivElement : public HTMLElement {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<HTMLDivElement> create(Document&);
- static PassRefPtr<HTMLDivElement> create(const QualifiedName&, Document&);
</del><ins>+ static RefPtr<HTMLDivElement> create(Document&);
+ static RefPtr<HTMLDivElement> create(const QualifiedName&, Document&);
</ins><span class="cx">
</span><span class="cx"> protected:
</span><span class="cx"> HTMLDivElement(const QualifiedName&, Document&);
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLDocumentcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLDocument.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLDocument.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLDocument.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -224,7 +224,7 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<DocumentParser> HTMLDocument::createParser()
</del><ins>+RefPtr<DocumentParser> HTMLDocument::createParser()
</ins><span class="cx"> {
</span><span class="cx"> return HTMLDocumentParser::create(*this);
</span><span class="cx"> }
</span><span class="lines">@@ -233,7 +233,7 @@
</span><span class="cx"> // not part of the DOM
</span><span class="cx"> // --------------------------------------------------------------------------
</span><span class="cx">
</span><del>-PassRefPtr<Element> HTMLDocument::createElement(const AtomicString& name, ExceptionCode& ec)
</del><ins>+RefPtr<Element> HTMLDocument::createElement(const AtomicString& name, ExceptionCode& ec)
</ins><span class="cx"> {
</span><span class="cx"> if (!isValidName(name)) {
</span><span class="cx"> ec = INVALID_CHARACTER_ERR;
</span><span class="lines">@@ -342,7 +342,7 @@
</span><span class="cx"> return is<HTMLFrameSetElement>(body());
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<Document> HTMLDocument::cloneDocumentWithoutChildren() const
</del><ins>+RefPtr<Document> HTMLDocument::cloneDocumentWithoutChildren() const
</ins><span class="cx"> {
</span><span class="cx"> return create(nullptr, url());
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLDocumenth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLDocument.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLDocument.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLDocument.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -31,12 +31,12 @@
</span><span class="cx">
</span><span class="cx"> class HTMLDocument : public Document, public CachedResourceClient {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<HTMLDocument> create(Frame* frame, const URL& url)
</del><ins>+ static RefPtr<HTMLDocument> create(Frame* frame, const URL& url)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLDocument(frame, url, HTMLDocumentClass));
</span><span class="cx"> }
</span><span class="cx">
</span><del>- static PassRefPtr<HTMLDocument> createSynthesizedDocument(Frame* frame, const URL& url)
</del><ins>+ static RefPtr<HTMLDocument> createSynthesizedDocument(Frame* frame, const URL& url)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLDocument(frame, url, HTMLDocumentClass, Synthesized));
</span><span class="cx"> }
</span><span class="lines">@@ -86,13 +86,12 @@
</span><span class="cx"> HTMLDocument(Frame*, const URL&, DocumentClassFlags = 0, unsigned constructionFlags = 0);
</span><span class="cx">
</span><span class="cx"> private:
</span><del>- virtual PassRefPtr<Element> createElement(const AtomicString& tagName, ExceptionCode&) override;
</del><ins>+ virtual RefPtr<Element> createElement(const AtomicString& tagName, ExceptionCode&) override;
</ins><span class="cx">
</span><span class="cx"> virtual bool isFrameSet() const override;
</span><del>- virtual PassRefPtr<DocumentParser> createParser() override;
</del><ins>+ virtual RefPtr<DocumentParser> createParser() override;
+ virtual RefPtr<Document> cloneDocumentWithoutChildren() const override final;
</ins><span class="cx">
</span><del>- virtual PassRefPtr<Document> cloneDocumentWithoutChildren() const override final;
-
</del><span class="cx"> DocumentOrderedMap m_documentNamedItem;
</span><span class="cx"> DocumentOrderedMap m_windowNamedItem;
</span><span class="cx"> };
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLElement.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLElement.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLElement.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -68,7 +68,7 @@
</span><span class="cx"> using namespace HTMLNames;
</span><span class="cx"> using namespace WTF;
</span><span class="cx">
</span><del>-PassRefPtr<HTMLElement> HTMLElement::create(const QualifiedName& tagName, Document& document)
</del><ins>+RefPtr<HTMLElement> HTMLElement::create(const QualifiedName& tagName, Document& document)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLElement(tagName, document));
</span><span class="cx"> }
</span><span class="lines">@@ -473,7 +473,7 @@
</span><span class="cx"> mergeWithNextTextNode(downcast<Text>(*prev), ec);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<DocumentFragment> HTMLElement::textToFragment(const String& text, ExceptionCode& ec)
</del><ins>+RefPtr<DocumentFragment> HTMLElement::textToFragment(const String& text, ExceptionCode& ec)
</ins><span class="cx"> {
</span><span class="cx"> RefPtr<DocumentFragment> fragment = DocumentFragment::create(document());
</span><span class="cx"> unsigned int i, length = text.length();
</span><span class="lines">@@ -837,7 +837,7 @@
</span><span class="cx"> setAttribute(translateAttr, enable ? "yes" : "no");
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLCollection> HTMLElement::children()
</del><ins>+RefPtr<HTMLCollection> HTMLElement::children()
</ins><span class="cx"> {
</span><span class="cx"> return ensureCachedHTMLCollection(NodeChildren);
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLElement.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLElement.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLElement.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -40,9 +40,9 @@
</span><span class="cx">
</span><span class="cx"> class HTMLElement : public StyledElement {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<HTMLElement> create(const QualifiedName& tagName, Document&);
</del><ins>+ static RefPtr<HTMLElement> create(const QualifiedName& tagName, Document&);
</ins><span class="cx">
</span><del>- PassRefPtr<HTMLCollection> children();
</del><ins>+ RefPtr<HTMLCollection> children();
</ins><span class="cx">
</span><span class="cx"> WEBCORE_EXPORT virtual String title() const override final;
</span><span class="cx">
</span><span class="lines">@@ -128,7 +128,7 @@
</span><span class="cx"> virtual HTMLFormElement* virtualForm() const;
</span><span class="cx">
</span><span class="cx"> Node* insertAdjacent(const String& where, Node* newChild, ExceptionCode&);
</span><del>- PassRefPtr<DocumentFragment> textToFragment(const String&, ExceptionCode&);
</del><ins>+ RefPtr<DocumentFragment> textToFragment(const String&, ExceptionCode&);
</ins><span class="cx">
</span><span class="cx"> void dirAttributeChanged(const AtomicString&);
</span><span class="cx"> void adjustDirectionalityIfNeededAfterChildAttributeChanged(Element* child);
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLEmbedElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLEmbedElement.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLEmbedElement.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLEmbedElement.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -50,7 +50,7 @@
</span><span class="cx"> ASSERT(hasTagName(embedTag));
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLEmbedElement> HTMLEmbedElement::create(const QualifiedName& tagName, Document& document, bool createdByParser)
</del><ins>+RefPtr<HTMLEmbedElement> HTMLEmbedElement::create(const QualifiedName& tagName, Document& document, bool createdByParser)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLEmbedElement(tagName, document, createdByParser));
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLEmbedElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLEmbedElement.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLEmbedElement.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLEmbedElement.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -29,7 +29,7 @@
</span><span class="cx">
</span><span class="cx"> class HTMLEmbedElement final : public HTMLPlugInImageElement {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<HTMLEmbedElement> create(const QualifiedName&, Document&, bool createdByParser);
</del><ins>+ static RefPtr<HTMLEmbedElement> create(const QualifiedName&, Document&, bool createdByParser);
</ins><span class="cx">
</span><span class="cx"> private:
</span><span class="cx"> HTMLEmbedElement(const QualifiedName&, Document&, bool createdByParser);
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLFieldSetElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLFieldSetElement.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLFieldSetElement.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLFieldSetElement.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -50,7 +50,7 @@
</span><span class="cx"> document().removeDisabledFieldsetElement();
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLFieldSetElement> HTMLFieldSetElement::create(const QualifiedName& tagName, Document& document, HTMLFormElement* form)
</del><ins>+RefPtr<HTMLFieldSetElement> HTMLFieldSetElement::create(const QualifiedName& tagName, Document& document, HTMLFormElement* form)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLFieldSetElement(tagName, document, form));
</span><span class="cx"> }
</span><span class="lines">@@ -159,7 +159,7 @@
</span><span class="cx"> return const_cast<HTMLLegendElement*>(childrenOfType<HTMLLegendElement>(*this).first());
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLCollection> HTMLFieldSetElement::elements()
</del><ins>+RefPtr<HTMLCollection> HTMLFieldSetElement::elements()
</ins><span class="cx"> {
</span><span class="cx"> return ensureCachedHTMLCollection(FormControls);
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLFieldSetElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLFieldSetElement.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLFieldSetElement.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLFieldSetElement.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -34,10 +34,10 @@
</span><span class="cx">
</span><span class="cx"> class HTMLFieldSetElement final : public HTMLFormControlElement {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<HTMLFieldSetElement> create(const QualifiedName&, Document&, HTMLFormElement*);
</del><ins>+ static RefPtr<HTMLFieldSetElement> create(const QualifiedName&, Document&, HTMLFormElement*);
</ins><span class="cx">
</span><span class="cx"> HTMLLegendElement* legend() const;
</span><del>- PassRefPtr<HTMLCollection> elements();
</del><ins>+ RefPtr<HTMLCollection> elements();
</ins><span class="cx">
</span><span class="cx"> const Vector<FormAssociatedElement*>& associatedElements() const;
</span><span class="cx"> unsigned length() const;
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLFontElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLFontElement.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLFontElement.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLFontElement.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -46,7 +46,7 @@
</span><span class="cx"> ASSERT(hasTagName(fontTag));
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLFontElement> HTMLFontElement::create(const QualifiedName& tagName, Document& document)
</del><ins>+RefPtr<HTMLFontElement> HTMLFontElement::create(const QualifiedName& tagName, Document& document)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLFontElement(tagName, document));
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLFontElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLFontElement.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLFontElement.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLFontElement.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -30,7 +30,7 @@
</span><span class="cx">
</span><span class="cx"> class HTMLFontElement final : public HTMLElement {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<HTMLFontElement> create(const QualifiedName&, Document&);
</del><ins>+ static RefPtr<HTMLFontElement> create(const QualifiedName&, Document&);
</ins><span class="cx">
</span><span class="cx"> static bool cssValueFromFontSizeNumber(const String&, CSSValueID&);
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLFormElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLFormElement.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLFormElement.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLFormElement.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -71,12 +71,12 @@
</span><span class="cx"> ASSERT(hasTagName(formTag));
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLFormElement> HTMLFormElement::create(Document& document)
</del><ins>+RefPtr<HTMLFormElement> HTMLFormElement::create(Document& document)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLFormElement(formTag, document));
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLFormElement> HTMLFormElement::create(const QualifiedName& tagName, Document& document)
</del><ins>+RefPtr<HTMLFormElement> HTMLFormElement::create(const QualifiedName& tagName, Document& document)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLFormElement(tagName, document));
</span><span class="cx"> }
</span><span class="lines">@@ -640,7 +640,7 @@
</span><span class="cx"> removeFromVector(m_imageElements, e);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLCollection> HTMLFormElement::elements()
</del><ins>+RefPtr<HTMLCollection> HTMLFormElement::elements()
</ins><span class="cx"> {
</span><span class="cx"> return ensureCachedHTMLCollection(FormControls);
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLFormElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLFormElement.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLFormElement.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLFormElement.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -46,11 +46,11 @@
</span><span class="cx">
</span><span class="cx"> class HTMLFormElement final : public HTMLElement {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<HTMLFormElement> create(Document&);
- static PassRefPtr<HTMLFormElement> create(const QualifiedName&, Document&);
</del><ins>+ static RefPtr<HTMLFormElement> create(Document&);
+ static RefPtr<HTMLFormElement> create(const QualifiedName&, Document&);
</ins><span class="cx"> virtual ~HTMLFormElement();
</span><span class="cx">
</span><del>- PassRefPtr<HTMLCollection> elements();
</del><ins>+ RefPtr<HTMLCollection> elements();
</ins><span class="cx"> bool hasNamedElement(const AtomicString&);
</span><span class="cx"> Vector<Ref<Element>> namedElements(const AtomicString&);
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLFrameElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLFrameElement.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLFrameElement.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLFrameElement.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -43,7 +43,7 @@
</span><span class="cx"> setHasCustomStyleResolveCallbacks();
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLFrameElement> HTMLFrameElement::create(const QualifiedName& tagName, Document& document)
</del><ins>+RefPtr<HTMLFrameElement> HTMLFrameElement::create(const QualifiedName& tagName, Document& document)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLFrameElement(tagName, document));
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLFrameElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLFrameElement.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLFrameElement.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLFrameElement.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -30,7 +30,7 @@
</span><span class="cx">
</span><span class="cx"> class HTMLFrameElement final : public HTMLFrameElementBase {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<HTMLFrameElement> create(const QualifiedName&, Document&);
</del><ins>+ static RefPtr<HTMLFrameElement> create(const QualifiedName&, Document&);
</ins><span class="cx">
</span><span class="cx"> bool hasFrameBorder() const { return m_frameBorder; }
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLFrameSetElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLFrameSetElement.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLFrameSetElement.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLFrameSetElement.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -58,7 +58,7 @@
</span><span class="cx"> setHasCustomStyleResolveCallbacks();
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLFrameSetElement> HTMLFrameSetElement::create(const QualifiedName& tagName, Document& document)
</del><ins>+RefPtr<HTMLFrameSetElement> HTMLFrameSetElement::create(const QualifiedName& tagName, Document& document)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLFrameSetElement(tagName, document));
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLFrameSetElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLFrameSetElement.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLFrameSetElement.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLFrameSetElement.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -31,7 +31,7 @@
</span><span class="cx">
</span><span class="cx"> class HTMLFrameSetElement final : public HTMLElement {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<HTMLFrameSetElement> create(const QualifiedName&, Document&);
</del><ins>+ static RefPtr<HTMLFrameSetElement> create(const QualifiedName&, Document&);
</ins><span class="cx">
</span><span class="cx"> bool hasFrameBorder() const { return m_frameborder; }
</span><span class="cx"> bool noResize() const { return m_noresize; }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLHRElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLHRElement.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLHRElement.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLHRElement.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -40,12 +40,12 @@
</span><span class="cx"> ASSERT(hasTagName(hrTag));
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLHRElement> HTMLHRElement::create(Document& document)
</del><ins>+RefPtr<HTMLHRElement> HTMLHRElement::create(Document& document)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLHRElement(hrTag, document));
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLHRElement> HTMLHRElement::create(const QualifiedName& tagName, Document& document)
</del><ins>+RefPtr<HTMLHRElement> HTMLHRElement::create(const QualifiedName& tagName, Document& document)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLHRElement(tagName, document));
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLHRElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLHRElement.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLHRElement.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLHRElement.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -29,8 +29,8 @@
</span><span class="cx">
</span><span class="cx"> class HTMLHRElement final : public HTMLElement {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<HTMLHRElement> create(Document&);
- static PassRefPtr<HTMLHRElement> create(const QualifiedName&, Document&);
</del><ins>+ static RefPtr<HTMLHRElement> create(Document&);
+ static RefPtr<HTMLHRElement> create(const QualifiedName&, Document&);
</ins><span class="cx">
</span><span class="cx"> private:
</span><span class="cx"> HTMLHRElement(const QualifiedName&, Document&);
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLHeadElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLHeadElement.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLHeadElement.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLHeadElement.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -37,12 +37,12 @@
</span><span class="cx"> ASSERT(hasTagName(headTag));
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLHeadElement> HTMLHeadElement::create(Document& document)
</del><ins>+RefPtr<HTMLHeadElement> HTMLHeadElement::create(Document& document)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLHeadElement(headTag, document));
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLHeadElement> HTMLHeadElement::create(const QualifiedName& tagName, Document& document)
</del><ins>+RefPtr<HTMLHeadElement> HTMLHeadElement::create(const QualifiedName& tagName, Document& document)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLHeadElement(tagName, document));
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLHeadElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLHeadElement.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLHeadElement.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLHeadElement.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -30,8 +30,8 @@
</span><span class="cx">
</span><span class="cx"> class HTMLHeadElement final : public HTMLElement {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<HTMLHeadElement> create(Document&);
- static PassRefPtr<HTMLHeadElement> create(const QualifiedName&, Document&);
</del><ins>+ static RefPtr<HTMLHeadElement> create(Document&);
+ static RefPtr<HTMLHeadElement> create(const QualifiedName&, Document&);
</ins><span class="cx">
</span><span class="cx"> private:
</span><span class="cx"> HTMLHeadElement(const QualifiedName&, Document&);
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLHeadingElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLHeadingElement.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLHeadingElement.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLHeadingElement.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -30,7 +30,7 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLHeadingElement> HTMLHeadingElement::create(const QualifiedName& tagName, Document& document)
</del><ins>+RefPtr<HTMLHeadingElement> HTMLHeadingElement::create(const QualifiedName& tagName, Document& document)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLHeadingElement(tagName, document));
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLHeadingElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLHeadingElement.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLHeadingElement.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLHeadingElement.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -29,7 +29,7 @@
</span><span class="cx">
</span><span class="cx"> class HTMLHeadingElement final : public HTMLElement {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<HTMLHeadingElement> create(const QualifiedName&, Document&);
</del><ins>+ static RefPtr<HTMLHeadingElement> create(const QualifiedName&, Document&);
</ins><span class="cx">
</span><span class="cx"> private:
</span><span class="cx"> HTMLHeadingElement(const QualifiedName&, Document&);
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLHtmlElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLHtmlElement.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLHtmlElement.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLHtmlElement.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -42,12 +42,12 @@
</span><span class="cx"> ASSERT(hasTagName(htmlTag));
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLHtmlElement> HTMLHtmlElement::create(Document& document)
</del><ins>+RefPtr<HTMLHtmlElement> HTMLHtmlElement::create(Document& document)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLHtmlElement(htmlTag, document));
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLHtmlElement> HTMLHtmlElement::create(const QualifiedName& tagName, Document& document)
</del><ins>+RefPtr<HTMLHtmlElement> HTMLHtmlElement::create(const QualifiedName& tagName, Document& document)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLHtmlElement(tagName, document));
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLHtmlElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLHtmlElement.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLHtmlElement.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLHtmlElement.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -30,8 +30,8 @@
</span><span class="cx">
</span><span class="cx"> class HTMLHtmlElement final : public HTMLElement {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<HTMLHtmlElement> create(Document&);
- static PassRefPtr<HTMLHtmlElement> create(const QualifiedName&, Document&);
</del><ins>+ static RefPtr<HTMLHtmlElement> create(Document&);
+ static RefPtr<HTMLHtmlElement> create(const QualifiedName&, Document&);
</ins><span class="cx">
</span><span class="cx"> void insertedByParser();
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLIFrameElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLIFrameElement.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLIFrameElement.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLIFrameElement.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -43,7 +43,7 @@
</span><span class="cx"> ASSERT(hasTagName(iframeTag));
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLIFrameElement> HTMLIFrameElement::create(const QualifiedName& tagName, Document& document)
</del><ins>+RefPtr<HTMLIFrameElement> HTMLIFrameElement::create(const QualifiedName& tagName, Document& document)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLIFrameElement(tagName, document));
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLIFrameElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLIFrameElement.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLIFrameElement.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLIFrameElement.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -30,7 +30,7 @@
</span><span class="cx">
</span><span class="cx"> class HTMLIFrameElement final : public HTMLFrameElementBase {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<HTMLIFrameElement> create(const QualifiedName&, Document&);
</del><ins>+ static RefPtr<HTMLIFrameElement> create(const QualifiedName&, Document&);
</ins><span class="cx">
</span><span class="cx"> private:
</span><span class="cx"> HTMLIFrameElement(const QualifiedName&, Document&);
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLImageElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLImageElement.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLImageElement.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLImageElement.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -65,12 +65,12 @@
</span><span class="cx"> form->registerImgElement(this);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLImageElement> HTMLImageElement::create(Document& document)
</del><ins>+RefPtr<HTMLImageElement> HTMLImageElement::create(Document& document)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLImageElement(imgTag, document));
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLImageElement> HTMLImageElement::create(const QualifiedName& tagName, Document& document, HTMLFormElement* form)
</del><ins>+RefPtr<HTMLImageElement> HTMLImageElement::create(const QualifiedName& tagName, Document& document, HTMLFormElement* form)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLImageElement(tagName, document, form));
</span><span class="cx"> }
</span><span class="lines">@@ -81,7 +81,7 @@
</span><span class="cx"> m_form->removeImgElement(this);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLImageElement> HTMLImageElement::createForJSConstructor(Document& document, const int* optionalWidth, const int* optionalHeight)
</del><ins>+RefPtr<HTMLImageElement> HTMLImageElement::createForJSConstructor(Document& document, const int* optionalWidth, const int* optionalHeight)
</ins><span class="cx"> {
</span><span class="cx"> RefPtr<HTMLImageElement> image = adoptRef(new HTMLImageElement(imgTag, document));
</span><span class="cx"> if (optionalWidth)
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLImageElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLImageElement.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLImageElement.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLImageElement.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -37,9 +37,9 @@
</span><span class="cx"> class HTMLImageElement : public HTMLElement, public FormNamedItem {
</span><span class="cx"> friend class HTMLFormElement;
</span><span class="cx"> public:
</span><del>- static PassRefPtr<HTMLImageElement> create(Document&);
- static PassRefPtr<HTMLImageElement> create(const QualifiedName&, Document&, HTMLFormElement*);
- static PassRefPtr<HTMLImageElement> createForJSConstructor(Document&, const int* optionalWidth, const int* optionalHeight);
</del><ins>+ static RefPtr<HTMLImageElement> create(Document&);
+ static RefPtr<HTMLImageElement> create(const QualifiedName&, Document&, HTMLFormElement*);
+ static RefPtr<HTMLImageElement> createForJSConstructor(Document&, const int* optionalWidth, const int* optionalHeight);
</ins><span class="cx">
</span><span class="cx"> virtual ~HTMLImageElement();
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLInputElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLInputElement.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLInputElement.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLInputElement.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -129,13 +129,13 @@
</span><span class="cx"> setHasCustomStyleResolveCallbacks();
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLInputElement> HTMLInputElement::create(const QualifiedName& tagName, Document& document, HTMLFormElement* form, bool createdByParser)
</del><ins>+RefPtr<HTMLInputElement> HTMLInputElement::create(const QualifiedName& tagName, Document& document, HTMLFormElement* form, bool createdByParser)
</ins><span class="cx"> {
</span><span class="cx"> bool shouldCreateShadowRootLazily = createdByParser;
</span><span class="cx"> RefPtr<HTMLInputElement> inputElement = adoptRef(new HTMLInputElement(tagName, document, form, createdByParser));
</span><span class="cx"> if (!shouldCreateShadowRootLazily)
</span><span class="cx"> inputElement->ensureUserAgentShadowRoot();
</span><del>- return inputElement.release();
</del><ins>+ return inputElement;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> HTMLImageLoader& HTMLInputElement::ensureImageLoader()
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLInputElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLInputElement.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLInputElement.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLInputElement.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -63,7 +63,7 @@
</span><span class="cx">
</span><span class="cx"> class HTMLInputElement : public HTMLTextFormControlElement {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<HTMLInputElement> create(const QualifiedName&, Document&, HTMLFormElement*, bool createdByParser);
</del><ins>+ static RefPtr<HTMLInputElement> create(const QualifiedName&, Document&, HTMLFormElement*, bool createdByParser);
</ins><span class="cx"> virtual ~HTMLInputElement();
</span><span class="cx">
</span><span class="cx"> DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitspeechchange);
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLKeygenElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLKeygenElement.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLKeygenElement.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLKeygenElement.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -44,7 +44,7 @@
</span><span class="cx">
</span><span class="cx"> class KeygenSelectElement final : public HTMLSelectElement {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<KeygenSelectElement> create(Document& document)
</del><ins>+ static RefPtr<KeygenSelectElement> create(Document& document)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new KeygenSelectElement(document));
</span><span class="cx"> }
</span><span class="lines">@@ -58,7 +58,7 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> private:
</span><del>- virtual PassRefPtr<Element> cloneElementWithoutAttributesAndChildren() override
</del><ins>+ virtual RefPtr<Element> cloneElementWithoutAttributesAndChildren() override
</ins><span class="cx"> {
</span><span class="cx"> return create(document());
</span><span class="cx"> }
</span><span class="lines">@@ -83,7 +83,7 @@
</span><span class="cx"> ensureUserAgentShadowRoot().appendChild(select, IGNORE_EXCEPTION);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLKeygenElement> HTMLKeygenElement::create(const QualifiedName& tagName, Document& document, HTMLFormElement* form)
</del><ins>+RefPtr<HTMLKeygenElement> HTMLKeygenElement::create(const QualifiedName& tagName, Document& document, HTMLFormElement* form)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLKeygenElement(tagName, document, form));
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLKeygenElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLKeygenElement.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLKeygenElement.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLKeygenElement.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -32,7 +32,7 @@
</span><span class="cx">
</span><span class="cx"> class HTMLKeygenElement final : public HTMLFormControlElementWithState {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<HTMLKeygenElement> create(const QualifiedName&, Document&, HTMLFormElement*);
</del><ins>+ static RefPtr<HTMLKeygenElement> create(const QualifiedName&, Document&, HTMLFormElement*);
</ins><span class="cx">
</span><span class="cx"> private:
</span><span class="cx"> HTMLKeygenElement(const QualifiedName&, Document&, HTMLFormElement*);
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLLIElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLLIElement.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLLIElement.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLLIElement.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -41,12 +41,12 @@
</span><span class="cx"> setHasCustomStyleResolveCallbacks();
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLLIElement> HTMLLIElement::create(Document& document)
</del><ins>+RefPtr<HTMLLIElement> HTMLLIElement::create(Document& document)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLLIElement(liTag, document));
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLLIElement> HTMLLIElement::create(const QualifiedName& tagName, Document& document)
</del><ins>+RefPtr<HTMLLIElement> HTMLLIElement::create(const QualifiedName& tagName, Document& document)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLLIElement(tagName, document));
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLLIElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLLIElement.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLLIElement.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLLIElement.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -29,8 +29,8 @@
</span><span class="cx">
</span><span class="cx"> class HTMLLIElement final : public HTMLElement {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<HTMLLIElement> create(Document&);
- static PassRefPtr<HTMLLIElement> create(const QualifiedName&, Document&);
</del><ins>+ static RefPtr<HTMLLIElement> create(Document&);
+ static RefPtr<HTMLLIElement> create(const QualifiedName&, Document&);
</ins><span class="cx">
</span><span class="cx"> private:
</span><span class="cx"> HTMLLIElement(const QualifiedName&, Document&);
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLLabelElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLLabelElement.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLLabelElement.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLLabelElement.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -50,7 +50,7 @@
</span><span class="cx"> ASSERT(hasTagName(labelTag));
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLLabelElement> HTMLLabelElement::create(const QualifiedName& tagName, Document& document)
</del><ins>+RefPtr<HTMLLabelElement> HTMLLabelElement::create(const QualifiedName& tagName, Document& document)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLLabelElement(tagName, document));
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLLabelElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLLabelElement.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLLabelElement.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLLabelElement.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -31,7 +31,7 @@
</span><span class="cx">
</span><span class="cx"> class HTMLLabelElement final : public HTMLElement {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<HTMLLabelElement> create(const QualifiedName&, Document&);
</del><ins>+ static RefPtr<HTMLLabelElement> create(const QualifiedName&, Document&);
</ins><span class="cx">
</span><span class="cx"> LabelableElement* control();
</span><span class="cx"> HTMLFormElement* form() const;
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLLegendElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLLegendElement.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLLegendElement.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLLegendElement.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -40,7 +40,7 @@
</span><span class="cx"> ASSERT(hasTagName(legendTag));
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLLegendElement> HTMLLegendElement::create(const QualifiedName& tagName, Document& document)
</del><ins>+RefPtr<HTMLLegendElement> HTMLLegendElement::create(const QualifiedName& tagName, Document& document)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLLegendElement(tagName, document));
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLLegendElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLLegendElement.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLLegendElement.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLLegendElement.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -32,7 +32,7 @@
</span><span class="cx">
</span><span class="cx"> class HTMLLegendElement final : public HTMLElement {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<HTMLLegendElement> create(const QualifiedName&, Document&);
</del><ins>+ static RefPtr<HTMLLegendElement> create(const QualifiedName&, Document&);
</ins><span class="cx">
</span><span class="cx"> private:
</span><span class="cx"> HTMLLegendElement(const QualifiedName&, Document&);
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLLinkElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLLinkElement.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLLinkElement.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLLinkElement.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -81,7 +81,7 @@
</span><span class="cx"> ASSERT(hasTagName(linkTag));
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLLinkElement> HTMLLinkElement::create(const QualifiedName& tagName, Document& document, bool createdByParser)
</del><ins>+RefPtr<HTMLLinkElement> HTMLLinkElement::create(const QualifiedName& tagName, Document& document, bool createdByParser)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLLinkElement(tagName, document, createdByParser));
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLLinkElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLLinkElement.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLLinkElement.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLLinkElement.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -45,7 +45,7 @@
</span><span class="cx">
</span><span class="cx"> class HTMLLinkElement final : public HTMLElement, public CachedStyleSheetClient, public LinkLoaderClient {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<HTMLLinkElement> create(const QualifiedName&, Document&, bool createdByParser);
</del><ins>+ static RefPtr<HTMLLinkElement> create(const QualifiedName&, Document&, bool createdByParser);
</ins><span class="cx"> virtual ~HTMLLinkElement();
</span><span class="cx">
</span><span class="cx"> URL href() const;
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLMapElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLMapElement.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLMapElement.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLMapElement.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -41,12 +41,12 @@
</span><span class="cx"> ASSERT(hasTagName(mapTag));
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLMapElement> HTMLMapElement::create(Document& document)
</del><ins>+RefPtr<HTMLMapElement> HTMLMapElement::create(Document& document)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLMapElement(mapTag, document));
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLMapElement> HTMLMapElement::create(const QualifiedName& tagName, Document& document)
</del><ins>+RefPtr<HTMLMapElement> HTMLMapElement::create(const QualifiedName& tagName, Document& document)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLMapElement(tagName, document));
</span><span class="cx"> }
</span><span class="lines">@@ -110,7 +110,7 @@
</span><span class="cx"> HTMLElement::parseAttribute(name, value);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLCollection> HTMLMapElement::areas()
</del><ins>+RefPtr<HTMLCollection> HTMLMapElement::areas()
</ins><span class="cx"> {
</span><span class="cx"> return ensureCachedHTMLCollection(MapAreas);
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLMapElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLMapElement.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLMapElement.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLMapElement.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -32,8 +32,8 @@
</span><span class="cx">
</span><span class="cx"> class HTMLMapElement final : public HTMLElement {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<HTMLMapElement> create(Document&);
- static PassRefPtr<HTMLMapElement> create(const QualifiedName&, Document&);
</del><ins>+ static RefPtr<HTMLMapElement> create(Document&);
+ static RefPtr<HTMLMapElement> create(const QualifiedName&, Document&);
</ins><span class="cx"> virtual ~HTMLMapElement();
</span><span class="cx">
</span><span class="cx"> const AtomicString& getName() const { return m_name; }
</span><span class="lines">@@ -41,7 +41,7 @@
</span><span class="cx"> bool mapMouseEvent(LayoutPoint location, const LayoutSize&, HitTestResult&);
</span><span class="cx">
</span><span class="cx"> HTMLImageElement* imageElement();
</span><del>- PassRefPtr<HTMLCollection> areas();
</del><ins>+ RefPtr<HTMLCollection> areas();
</ins><span class="cx">
</span><span class="cx"> private:
</span><span class="cx"> HTMLMapElement(const QualifiedName&, Document&);
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLMarqueeElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLMarqueeElement.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLMarqueeElement.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLMarqueeElement.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -42,7 +42,7 @@
</span><span class="cx"> ASSERT(hasTagName(marqueeTag));
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLMarqueeElement> HTMLMarqueeElement::create(const QualifiedName& tagName, Document& document)
</del><ins>+RefPtr<HTMLMarqueeElement> HTMLMarqueeElement::create(const QualifiedName& tagName, Document& document)
</ins><span class="cx"> {
</span><span class="cx"> RefPtr<HTMLMarqueeElement> marqueeElement(adoptRef(new HTMLMarqueeElement(tagName, document)));
</span><span class="cx"> marqueeElement->suspendIfNeeded();
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLMarqueeElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLMarqueeElement.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLMarqueeElement.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLMarqueeElement.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -32,7 +32,7 @@
</span><span class="cx">
</span><span class="cx"> class HTMLMarqueeElement final : public HTMLElement, private ActiveDOMObject {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<HTMLMarqueeElement> create(const QualifiedName&, Document&);
</del><ins>+ static RefPtr<HTMLMarqueeElement> create(const QualifiedName&, Document&);
</ins><span class="cx">
</span><span class="cx"> int minimumDelay() const;
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLMenuElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLMenuElement.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLMenuElement.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLMenuElement.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -35,7 +35,7 @@
</span><span class="cx"> ASSERT(hasTagName(menuTag));
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLMenuElement> HTMLMenuElement::create(const QualifiedName& tagName, Document& document)
</del><ins>+RefPtr<HTMLMenuElement> HTMLMenuElement::create(const QualifiedName& tagName, Document& document)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLMenuElement(tagName, document));
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLMenuElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLMenuElement.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLMenuElement.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLMenuElement.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -29,7 +29,7 @@
</span><span class="cx">
</span><span class="cx"> class HTMLMenuElement final : public HTMLElement {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<HTMLMenuElement> create(const QualifiedName&, Document&);
</del><ins>+ static RefPtr<HTMLMenuElement> create(const QualifiedName&, Document&);
</ins><span class="cx">
</span><span class="cx"> private:
</span><span class="cx"> HTMLMenuElement(const QualifiedName&, Document&);
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLMetaElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLMetaElement.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLMetaElement.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLMetaElement.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -37,7 +37,7 @@
</span><span class="cx"> ASSERT(hasTagName(metaTag));
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLMetaElement> HTMLMetaElement::create(const QualifiedName& tagName, Document& document)
</del><ins>+RefPtr<HTMLMetaElement> HTMLMetaElement::create(const QualifiedName& tagName, Document& document)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLMetaElement(tagName, document));
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLMetaElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLMetaElement.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLMetaElement.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLMetaElement.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -29,7 +29,7 @@
</span><span class="cx">
</span><span class="cx"> class HTMLMetaElement final : public HTMLElement {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<HTMLMetaElement> create(const QualifiedName&, Document&);
</del><ins>+ static RefPtr<HTMLMetaElement> create(const QualifiedName&, Document&);
</ins><span class="cx">
</span><span class="cx"> const AtomicString& content() const;
</span><span class="cx"> const AtomicString& httpEquiv() const;
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLMeterElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLMeterElement.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLMeterElement.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLMeterElement.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -50,7 +50,7 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLMeterElement> HTMLMeterElement::create(const QualifiedName& tagName, Document& document)
</del><ins>+RefPtr<HTMLMeterElement> HTMLMeterElement::create(const QualifiedName& tagName, Document& document)
</ins><span class="cx"> {
</span><span class="cx"> RefPtr<HTMLMeterElement> meter = adoptRef(new HTMLMeterElement(tagName, document));
</span><span class="cx"> meter->ensureUserAgentShadowRoot();
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLMeterElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLMeterElement.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLMeterElement.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLMeterElement.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -31,7 +31,7 @@
</span><span class="cx">
</span><span class="cx"> class HTMLMeterElement final : public LabelableElement {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<HTMLMeterElement> create(const QualifiedName&, Document&);
</del><ins>+ static RefPtr<HTMLMeterElement> create(const QualifiedName&, Document&);
</ins><span class="cx">
</span><span class="cx"> enum GaugeRegion {
</span><span class="cx"> GaugeRegionOptimum,
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLModElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLModElement.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLModElement.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLModElement.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -34,7 +34,7 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLModElement> HTMLModElement::create(const QualifiedName& tagName, Document& document)
</del><ins>+RefPtr<HTMLModElement> HTMLModElement::create(const QualifiedName& tagName, Document& document)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLModElement(tagName, document));
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLModElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLModElement.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLModElement.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLModElement.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -30,7 +30,7 @@
</span><span class="cx">
</span><span class="cx"> class HTMLModElement final : public HTMLElement {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<HTMLModElement> create(const QualifiedName&, Document&);
</del><ins>+ static RefPtr<HTMLModElement> create(const QualifiedName&, Document&);
</ins><span class="cx">
</span><span class="cx"> private:
</span><span class="cx"> HTMLModElement(const QualifiedName&, Document&);
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLOListElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLOListElement.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLOListElement.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLOListElement.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -44,12 +44,12 @@
</span><span class="cx"> ASSERT(hasTagName(olTag));
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLOListElement> HTMLOListElement::create(Document& document)
</del><ins>+RefPtr<HTMLOListElement> HTMLOListElement::create(Document& document)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLOListElement(olTag, document));
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLOListElement> HTMLOListElement::create(const QualifiedName& tagName, Document& document)
</del><ins>+RefPtr<HTMLOListElement> HTMLOListElement::create(const QualifiedName& tagName, Document& document)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLOListElement(tagName, document));
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLOListElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLOListElement.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLOListElement.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLOListElement.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -29,8 +29,8 @@
</span><span class="cx">
</span><span class="cx"> class HTMLOListElement final : public HTMLElement {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<HTMLOListElement> create(Document&);
- static PassRefPtr<HTMLOListElement> create(const QualifiedName&, Document&);
</del><ins>+ static RefPtr<HTMLOListElement> create(Document&);
+ static RefPtr<HTMLOListElement> create(const QualifiedName&, Document&);
</ins><span class="cx">
</span><span class="cx"> int start() const { return m_hasExplicitStart ? m_start : (m_isReversed ? itemCount() : 1); }
</span><span class="cx"> void setStart(int);
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLObjectElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLObjectElement.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLObjectElement.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLObjectElement.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -76,7 +76,7 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLObjectElement> HTMLObjectElement::create(const QualifiedName& tagName, Document& document, HTMLFormElement* form, bool createdByParser)
</del><ins>+RefPtr<HTMLObjectElement> HTMLObjectElement::create(const QualifiedName& tagName, Document& document, HTMLFormElement* form, bool createdByParser)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLObjectElement(tagName, document, form, createdByParser));
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLObjectElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLObjectElement.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLObjectElement.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLObjectElement.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -32,7 +32,7 @@
</span><span class="cx">
</span><span class="cx"> class HTMLObjectElement final : public HTMLPlugInImageElement, public FormAssociatedElement {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<HTMLObjectElement> create(const QualifiedName&, Document&, HTMLFormElement*, bool createdByParser);
</del><ins>+ static RefPtr<HTMLObjectElement> create(const QualifiedName&, Document&, HTMLFormElement*, bool createdByParser);
</ins><span class="cx"> virtual ~HTMLObjectElement();
</span><span class="cx">
</span><span class="cx"> bool isDocNamedItem() const { return m_docNamedItem; }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLOptGroupElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLOptGroupElement.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLOptGroupElement.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLOptGroupElement.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -43,7 +43,7 @@
</span><span class="cx"> ASSERT(hasTagName(optgroupTag));
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLOptGroupElement> HTMLOptGroupElement::create(const QualifiedName& tagName, Document& document)
</del><ins>+RefPtr<HTMLOptGroupElement> HTMLOptGroupElement::create(const QualifiedName& tagName, Document& document)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLOptGroupElement(tagName, document));
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLOptGroupElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLOptGroupElement.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLOptGroupElement.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLOptGroupElement.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -32,7 +32,7 @@
</span><span class="cx">
</span><span class="cx"> class HTMLOptGroupElement final : public HTMLElement {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<HTMLOptGroupElement> create(const QualifiedName&, Document&);
</del><ins>+ static RefPtr<HTMLOptGroupElement> create(const QualifiedName&, Document&);
</ins><span class="cx">
</span><span class="cx"> virtual bool isDisabledFormControl() const override;
</span><span class="cx"> HTMLSelectElement* ownerSelectElement() const;
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLOptionElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLOptionElement.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLOptionElement.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLOptionElement.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -57,17 +57,17 @@
</span><span class="cx"> setHasCustomStyleResolveCallbacks();
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLOptionElement> HTMLOptionElement::create(Document& document)
</del><ins>+RefPtr<HTMLOptionElement> HTMLOptionElement::create(Document& document)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLOptionElement(optionTag, document));
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLOptionElement> HTMLOptionElement::create(const QualifiedName& tagName, Document& document)
</del><ins>+RefPtr<HTMLOptionElement> HTMLOptionElement::create(const QualifiedName& tagName, Document& document)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLOptionElement(tagName, document));
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLOptionElement> HTMLOptionElement::createForJSConstructor(Document& document, const String& data, const String& value,
</del><ins>+RefPtr<HTMLOptionElement> HTMLOptionElement::createForJSConstructor(Document& document, const String& data, const String& value,
</ins><span class="cx"> bool defaultSelected, bool selected, ExceptionCode& ec)
</span><span class="cx"> {
</span><span class="cx"> RefPtr<HTMLOptionElement> element = adoptRef(new HTMLOptionElement(optionTag, document));
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLOptionElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLOptionElement.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLOptionElement.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLOptionElement.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -34,9 +34,9 @@
</span><span class="cx">
</span><span class="cx"> class HTMLOptionElement final : public HTMLElement {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<HTMLOptionElement> create(Document&);
- static PassRefPtr<HTMLOptionElement> create(const QualifiedName&, Document&);
- static PassRefPtr<HTMLOptionElement> createForJSConstructor(Document&, const String& data, const String& value,
</del><ins>+ static RefPtr<HTMLOptionElement> create(Document&);
+ static RefPtr<HTMLOptionElement> create(const QualifiedName&, Document&);
+ static RefPtr<HTMLOptionElement> createForJSConstructor(Document&, const String& data, const String& value,
</ins><span class="cx"> bool defaultSelected, bool selected, ExceptionCode&);
</span><span class="cx">
</span><span class="cx"> WEBCORE_EXPORT String text() const;
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLOutputElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLOutputElement.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLOutputElement.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLOutputElement.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -46,7 +46,7 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLOutputElement> HTMLOutputElement::create(const QualifiedName& tagName, Document& document, HTMLFormElement* form)
</del><ins>+RefPtr<HTMLOutputElement> HTMLOutputElement::create(const QualifiedName& tagName, Document& document, HTMLFormElement* form)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLOutputElement(tagName, document, form));
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLOutputElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLOutputElement.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLOutputElement.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLOutputElement.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -38,7 +38,7 @@
</span><span class="cx">
</span><span class="cx"> class HTMLOutputElement final : public HTMLFormControlElement {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<HTMLOutputElement> create(const QualifiedName&, Document&, HTMLFormElement*);
</del><ins>+ static RefPtr<HTMLOutputElement> create(const QualifiedName&, Document&, HTMLFormElement*);
</ins><span class="cx">
</span><span class="cx"> String value() const;
</span><span class="cx"> void setValue(const String&);
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLParagraphElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLParagraphElement.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLParagraphElement.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLParagraphElement.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -39,12 +39,12 @@
</span><span class="cx"> ASSERT(hasTagName(pTag));
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLParagraphElement> HTMLParagraphElement::create(Document& document)
</del><ins>+RefPtr<HTMLParagraphElement> HTMLParagraphElement::create(Document& document)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLParagraphElement(pTag, document));
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLParagraphElement> HTMLParagraphElement::create(const QualifiedName& tagName, Document& document)
</del><ins>+RefPtr<HTMLParagraphElement> HTMLParagraphElement::create(const QualifiedName& tagName, Document& document)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLParagraphElement(tagName, document));
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLParagraphElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLParagraphElement.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLParagraphElement.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLParagraphElement.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -29,8 +29,8 @@
</span><span class="cx">
</span><span class="cx"> class HTMLParagraphElement final : public HTMLElement {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<HTMLParagraphElement> create(Document&);
- static PassRefPtr<HTMLParagraphElement> create(const QualifiedName&, Document&);
</del><ins>+ static RefPtr<HTMLParagraphElement> create(Document&);
+ static RefPtr<HTMLParagraphElement> create(const QualifiedName&, Document&);
</ins><span class="cx">
</span><span class="cx"> private:
</span><span class="cx"> HTMLParagraphElement(const QualifiedName&, Document&);
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLParamElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLParamElement.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLParamElement.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLParamElement.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -37,7 +37,7 @@
</span><span class="cx"> ASSERT(hasTagName(paramTag));
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLParamElement> HTMLParamElement::create(const QualifiedName& tagName, Document& document)
</del><ins>+RefPtr<HTMLParamElement> HTMLParamElement::create(const QualifiedName& tagName, Document& document)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLParamElement(tagName, document));
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLParamElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLParamElement.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLParamElement.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLParamElement.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -29,7 +29,7 @@
</span><span class="cx">
</span><span class="cx"> class HTMLParamElement final : public HTMLElement {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<HTMLParamElement> create(const QualifiedName&, Document&);
</del><ins>+ static RefPtr<HTMLParamElement> create(const QualifiedName&, Document&);
</ins><span class="cx">
</span><span class="cx"> String name() const;
</span><span class="cx"> String value() const;
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLPreElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLPreElement.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLPreElement.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLPreElement.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -38,7 +38,7 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLPreElement> HTMLPreElement::create(const QualifiedName& tagName, Document& document)
</del><ins>+RefPtr<HTMLPreElement> HTMLPreElement::create(const QualifiedName& tagName, Document& document)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLPreElement(tagName, document));
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLPreElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLPreElement.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLPreElement.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLPreElement.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -29,7 +29,7 @@
</span><span class="cx">
</span><span class="cx"> class HTMLPreElement final : public HTMLElement {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<HTMLPreElement> create(const QualifiedName&, Document&);
</del><ins>+ static RefPtr<HTMLPreElement> create(const QualifiedName&, Document&);
</ins><span class="cx">
</span><span class="cx"> private:
</span><span class="cx"> HTMLPreElement(const QualifiedName&, Document&);
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLProgressElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLProgressElement.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLProgressElement.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLProgressElement.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -50,11 +50,11 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLProgressElement> HTMLProgressElement::create(const QualifiedName& tagName, Document& document)
</del><ins>+RefPtr<HTMLProgressElement> HTMLProgressElement::create(const QualifiedName& tagName, Document& document)
</ins><span class="cx"> {
</span><span class="cx"> RefPtr<HTMLProgressElement> progress = adoptRef(new HTMLProgressElement(tagName, document));
</span><span class="cx"> progress->ensureUserAgentShadowRoot();
</span><del>- return progress.release();
</del><ins>+ return progress;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> RenderPtr<RenderElement> HTMLProgressElement::createElementRenderer(PassRef<RenderStyle> style)
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLProgressElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLProgressElement.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLProgressElement.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLProgressElement.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -33,7 +33,7 @@
</span><span class="cx"> static const double IndeterminatePosition;
</span><span class="cx"> static const double InvalidPosition;
</span><span class="cx">
</span><del>- static PassRefPtr<HTMLProgressElement> create(const QualifiedName&, Document&);
</del><ins>+ static RefPtr<HTMLProgressElement> create(const QualifiedName&, Document&);
</ins><span class="cx">
</span><span class="cx"> double value() const;
</span><span class="cx"> void setValue(double, ExceptionCode&);
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLScriptElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLScriptElement.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLScriptElement.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLScriptElement.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -42,7 +42,7 @@
</span><span class="cx"> ASSERT(hasTagName(scriptTag));
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLScriptElement> HTMLScriptElement::create(const QualifiedName& tagName, Document& document, bool wasInsertedByParser, bool alreadyStarted)
</del><ins>+RefPtr<HTMLScriptElement> HTMLScriptElement::create(const QualifiedName& tagName, Document& document, bool wasInsertedByParser, bool alreadyStarted)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLScriptElement(tagName, document, wasInsertedByParser, alreadyStarted));
</span><span class="cx"> }
</span><span class="lines">@@ -168,7 +168,7 @@
</span><span class="cx"> dispatchEvent(Event::create(eventNames().loadEvent, false, false));
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<Element> HTMLScriptElement::cloneElementWithoutAttributesAndChildren()
</del><ins>+RefPtr<Element> HTMLScriptElement::cloneElementWithoutAttributesAndChildren()
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLScriptElement(tagQName(), document(), false, alreadyStarted()));
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLScriptElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLScriptElement.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLScriptElement.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLScriptElement.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -31,7 +31,7 @@
</span><span class="cx">
</span><span class="cx"> class HTMLScriptElement final : public HTMLElement, public ScriptElement {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<HTMLScriptElement> create(const QualifiedName&, Document&, bool wasInsertedByParser, bool alreadyStarted = false);
</del><ins>+ static RefPtr<HTMLScriptElement> create(const QualifiedName&, Document&, bool wasInsertedByParser, bool alreadyStarted = false);
</ins><span class="cx">
</span><span class="cx"> String text() const { return scriptContent(); }
</span><span class="cx"> void setText(const String&);
</span><span class="lines">@@ -64,7 +64,7 @@
</span><span class="cx">
</span><span class="cx"> virtual void dispatchLoadEvent() override;
</span><span class="cx">
</span><del>- virtual PassRefPtr<Element> cloneElementWithoutAttributesAndChildren() override;
</del><ins>+ virtual RefPtr<Element> cloneElementWithoutAttributesAndChildren() override;
</ins><span class="cx"> };
</span><span class="cx">
</span><span class="cx"> } //namespace
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLSelectElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLSelectElement.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLSelectElement.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLSelectElement.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -80,7 +80,7 @@
</span><span class="cx"> ASSERT(hasTagName(selectTag));
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLSelectElement> HTMLSelectElement::create(const QualifiedName& tagName, Document& document, HTMLFormElement* form)
</del><ins>+RefPtr<HTMLSelectElement> HTMLSelectElement::create(const QualifiedName& tagName, Document& document, HTMLFormElement* form)
</ins><span class="cx"> {
</span><span class="cx"> ASSERT(tagName.matches(selectTag));
</span><span class="cx"> return adoptRef(new HTMLSelectElement(tagName, document, form));
</span><span class="lines">@@ -368,12 +368,12 @@
</span><span class="cx"> return validationMessageShadowTreeContains(child);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLCollection> HTMLSelectElement::selectedOptions()
</del><ins>+RefPtr<HTMLCollection> HTMLSelectElement::selectedOptions()
</ins><span class="cx"> {
</span><span class="cx"> return ensureCachedHTMLCollection(SelectedOptions);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLOptionsCollection> HTMLSelectElement::options()
</del><ins>+RefPtr<HTMLOptionsCollection> HTMLSelectElement::options()
</ins><span class="cx"> {
</span><span class="cx"> return downcast<HTMLOptionsCollection>(ensureCachedHTMLCollection(SelectOptions).get());
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLSelectElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLSelectElement.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLSelectElement.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLSelectElement.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -38,7 +38,7 @@
</span><span class="cx">
</span><span class="cx"> class HTMLSelectElement : public HTMLFormControlElementWithState, public TypeAheadDataSource {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<HTMLSelectElement> create(const QualifiedName&, Document&, HTMLFormElement*);
</del><ins>+ static RefPtr<HTMLSelectElement> create(const QualifiedName&, Document&, HTMLFormElement*);
</ins><span class="cx">
</span><span class="cx"> WEBCORE_EXPORT int selectedIndex() const;
</span><span class="cx"> void setSelectedIndex(int);
</span><span class="lines">@@ -66,8 +66,8 @@
</span><span class="cx"> WEBCORE_EXPORT String value() const;
</span><span class="cx"> void setValue(const String&);
</span><span class="cx">
</span><del>- PassRefPtr<HTMLOptionsCollection> options();
- PassRefPtr<HTMLCollection> selectedOptions();
</del><ins>+ RefPtr<HTMLOptionsCollection> options();
+ RefPtr<HTMLCollection> selectedOptions();
</ins><span class="cx">
</span><span class="cx"> void optionElementChildrenChanged();
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLSourceElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLSourceElement.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLSourceElement.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLSourceElement.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -46,7 +46,7 @@
</span><span class="cx"> ASSERT(hasTagName(sourceTag));
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLSourceElement> HTMLSourceElement::create(const QualifiedName& tagName, Document& document)
</del><ins>+RefPtr<HTMLSourceElement> HTMLSourceElement::create(const QualifiedName& tagName, Document& document)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLSourceElement(tagName, document));
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLSourceElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLSourceElement.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLSourceElement.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLSourceElement.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -34,7 +34,7 @@
</span><span class="cx">
</span><span class="cx"> class HTMLSourceElement final : public HTMLElement {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<HTMLSourceElement> create(const QualifiedName&, Document&);
</del><ins>+ static RefPtr<HTMLSourceElement> create(const QualifiedName&, Document&);
</ins><span class="cx">
</span><span class="cx"> String media() const;
</span><span class="cx"> String type() const;
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLSpanElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLSpanElement.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLSpanElement.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLSpanElement.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -38,7 +38,7 @@
</span><span class="cx"> ASSERT(hasTagName(spanTag));
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLSpanElement> HTMLSpanElement::create(const QualifiedName& tagName, Document& document)
</del><ins>+RefPtr<HTMLSpanElement> HTMLSpanElement::create(const QualifiedName& tagName, Document& document)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLSpanElement(tagName, document));
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLSpanElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLSpanElement.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLSpanElement.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLSpanElement.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -32,7 +32,7 @@
</span><span class="cx">
</span><span class="cx"> class HTMLSpanElement final : public HTMLElement {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<HTMLSpanElement> create(const QualifiedName&, Document&);
</del><ins>+ static RefPtr<HTMLSpanElement> create(const QualifiedName&, Document&);
</ins><span class="cx">
</span><span class="cx"> private:
</span><span class="cx"> HTMLSpanElement(const QualifiedName&, Document&);
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLStyleElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLStyleElement.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLStyleElement.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLStyleElement.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -63,7 +63,7 @@
</span><span class="cx"> styleLoadEventSender().cancelEvent(*this);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLStyleElement> HTMLStyleElement::create(const QualifiedName& tagName, Document& document, bool createdByParser)
</del><ins>+RefPtr<HTMLStyleElement> HTMLStyleElement::create(const QualifiedName& tagName, Document& document, bool createdByParser)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLStyleElement(tagName, document, createdByParser));
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLStyleElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLStyleElement.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLStyleElement.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLStyleElement.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -36,7 +36,7 @@
</span><span class="cx">
</span><span class="cx"> class HTMLStyleElement final : public HTMLElement {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<HTMLStyleElement> create(const QualifiedName&, Document&, bool createdByParser);
</del><ins>+ static RefPtr<HTMLStyleElement> create(const QualifiedName&, Document&, bool createdByParser);
</ins><span class="cx"> virtual ~HTMLStyleElement();
</span><span class="cx">
</span><span class="cx"> CSSStyleSheet* sheet() const { return m_styleSheetOwner.sheet(); }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLSummaryElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLSummaryElement.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLSummaryElement.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLSummaryElement.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -38,7 +38,7 @@
</span><span class="cx">
</span><span class="cx"> class SummaryContentElement final : public InsertionPoint {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<SummaryContentElement> create(Document&);
</del><ins>+ static RefPtr<SummaryContentElement> create(Document&);
</ins><span class="cx">
</span><span class="cx"> private:
</span><span class="cx"> SummaryContentElement(Document& document)
</span><span class="lines">@@ -47,16 +47,16 @@
</span><span class="cx"> }
</span><span class="cx"> };
</span><span class="cx">
</span><del>-PassRefPtr<SummaryContentElement> SummaryContentElement::create(Document& document)
</del><ins>+RefPtr<SummaryContentElement> SummaryContentElement::create(Document& document)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new SummaryContentElement(document));
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLSummaryElement> HTMLSummaryElement::create(const QualifiedName& tagName, Document& document)
</del><ins>+RefPtr<HTMLSummaryElement> HTMLSummaryElement::create(const QualifiedName& tagName, Document& document)
</ins><span class="cx"> {
</span><span class="cx"> RefPtr<HTMLSummaryElement> summary = adoptRef(new HTMLSummaryElement(tagName, document));
</span><span class="cx"> summary->ensureUserAgentShadowRoot();
</span><del>- return summary.release();
</del><ins>+ return summary;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> HTMLSummaryElement::HTMLSummaryElement(const QualifiedName& tagName, Document& document)
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLSummaryElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLSummaryElement.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLSummaryElement.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLSummaryElement.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -29,7 +29,7 @@
</span><span class="cx">
</span><span class="cx"> class HTMLSummaryElement final : public HTMLElement {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<HTMLSummaryElement> create(const QualifiedName&, Document&);
</del><ins>+ static RefPtr<HTMLSummaryElement> create(const QualifiedName&, Document&);
</ins><span class="cx"> bool isMainSummary() const;
</span><span class="cx"> virtual bool willRespondToMouseClickEvents() override;
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLTableCaptionElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLTableCaptionElement.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLTableCaptionElement.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLTableCaptionElement.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -39,7 +39,7 @@
</span><span class="cx"> ASSERT(hasTagName(captionTag));
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLTableCaptionElement> HTMLTableCaptionElement::create(const QualifiedName& tagName, Document& document)
</del><ins>+RefPtr<HTMLTableCaptionElement> HTMLTableCaptionElement::create(const QualifiedName& tagName, Document& document)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLTableCaptionElement(tagName, document));
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLTableCaptionElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLTableCaptionElement.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLTableCaptionElement.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLTableCaptionElement.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -32,7 +32,7 @@
</span><span class="cx">
</span><span class="cx"> class HTMLTableCaptionElement final : public HTMLElement {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<HTMLTableCaptionElement> create(const QualifiedName&, Document&);
</del><ins>+ static RefPtr<HTMLTableCaptionElement> create(const QualifiedName&, Document&);
</ins><span class="cx">
</span><span class="cx"> private:
</span><span class="cx"> HTMLTableCaptionElement(const QualifiedName&, Document&);
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLTableCellElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLTableCellElement.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLTableCellElement.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLTableCellElement.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -44,7 +44,7 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLTableCellElement> HTMLTableCellElement::create(const QualifiedName& tagName, Document& document)
</del><ins>+RefPtr<HTMLTableCellElement> HTMLTableCellElement::create(const QualifiedName& tagName, Document& document)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLTableCellElement(tagName, document));
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLTableCellElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLTableCellElement.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLTableCellElement.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLTableCellElement.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -32,7 +32,7 @@
</span><span class="cx">
</span><span class="cx"> class HTMLTableCellElement final : public HTMLTablePartElement {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<HTMLTableCellElement> create(const QualifiedName&, Document&);
</del><ins>+ static RefPtr<HTMLTableCellElement> create(const QualifiedName&, Document&);
</ins><span class="cx">
</span><span class="cx"> int cellIndex() const;
</span><span class="cx"> int colSpan() const;
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLTableColElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLTableColElement.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLTableColElement.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLTableColElement.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -42,7 +42,7 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLTableColElement> HTMLTableColElement::create(const QualifiedName& tagName, Document& document)
</del><ins>+RefPtr<HTMLTableColElement> HTMLTableColElement::create(const QualifiedName& tagName, Document& document)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLTableColElement(tagName, document));
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLTableColElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLTableColElement.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLTableColElement.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLTableColElement.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -32,7 +32,7 @@
</span><span class="cx">
</span><span class="cx"> class HTMLTableColElement final : public HTMLTablePartElement {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<HTMLTableColElement> create(const QualifiedName& tagName, Document&);
</del><ins>+ static RefPtr<HTMLTableColElement> create(const QualifiedName& tagName, Document&);
</ins><span class="cx">
</span><span class="cx"> int span() const { return m_span; }
</span><span class="cx"> void setSpan(int);
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLTableElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLTableElement.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLTableElement.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLTableElement.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -57,12 +57,12 @@
</span><span class="cx"> ASSERT(hasTagName(tableTag));
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLTableElement> HTMLTableElement::create(Document& document)
</del><ins>+RefPtr<HTMLTableElement> HTMLTableElement::create(Document& document)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLTableElement(tableTag, document));
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLTableElement> HTMLTableElement::create(const QualifiedName& tagName, Document& document)
</del><ins>+RefPtr<HTMLTableElement> HTMLTableElement::create(const QualifiedName& tagName, Document& document)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLTableElement(tagName, document));
</span><span class="cx"> }
</span><span class="lines">@@ -124,13 +124,13 @@
</span><span class="cx"> insertBefore(newFoot, child, ec);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLElement> HTMLTableElement::createTHead()
</del><ins>+RefPtr<HTMLElement> HTMLTableElement::createTHead()
</ins><span class="cx"> {
</span><span class="cx"> if (HTMLTableSectionElement* existingHead = tHead())
</span><span class="cx"> return existingHead;
</span><span class="cx"> RefPtr<HTMLTableSectionElement> head = HTMLTableSectionElement::create(theadTag, document());
</span><span class="cx"> setTHead(head, IGNORE_EXCEPTION);
</span><del>- return head.release();
</del><ins>+ return head;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> void HTMLTableElement::deleteTHead()
</span><span class="lines">@@ -138,13 +138,13 @@
</span><span class="cx"> removeChild(tHead(), IGNORE_EXCEPTION);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLElement> HTMLTableElement::createTFoot()
</del><ins>+RefPtr<HTMLElement> HTMLTableElement::createTFoot()
</ins><span class="cx"> {
</span><span class="cx"> if (HTMLTableSectionElement* existingFoot = tFoot())
</span><span class="cx"> return existingFoot;
</span><span class="cx"> RefPtr<HTMLTableSectionElement> foot = HTMLTableSectionElement::create(tfootTag, document());
</span><span class="cx"> setTFoot(foot, IGNORE_EXCEPTION);
</span><del>- return foot.release();
</del><ins>+ return foot;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> void HTMLTableElement::deleteTFoot()
</span><span class="lines">@@ -152,21 +152,21 @@
</span><span class="cx"> removeChild(tFoot(), IGNORE_EXCEPTION);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLElement> HTMLTableElement::createTBody()
</del><ins>+RefPtr<HTMLElement> HTMLTableElement::createTBody()
</ins><span class="cx"> {
</span><span class="cx"> RefPtr<HTMLTableSectionElement> body = HTMLTableSectionElement::create(tbodyTag, document());
</span><span class="cx"> Node* referenceElement = lastBody() ? lastBody()->nextSibling() : 0;
</span><span class="cx"> insertBefore(body, referenceElement, ASSERT_NO_EXCEPTION);
</span><del>- return body.release();
</del><ins>+ return body;
</ins><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLElement> HTMLTableElement::createCaption()
</del><ins>+RefPtr<HTMLElement> HTMLTableElement::createCaption()
</ins><span class="cx"> {
</span><span class="cx"> if (HTMLTableCaptionElement* existingCaption = caption())
</span><span class="cx"> return existingCaption;
</span><span class="cx"> RefPtr<HTMLTableCaptionElement> caption = HTMLTableCaptionElement::create(captionTag, document());
</span><span class="cx"> setCaption(caption, IGNORE_EXCEPTION);
</span><del>- return caption.release();
</del><ins>+ return caption;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> void HTMLTableElement::deleteCaption()
</span><span class="lines">@@ -183,7 +183,7 @@
</span><span class="cx"> return nullptr;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLElement> HTMLTableElement::insertRow(int index, ExceptionCode& ec)
</del><ins>+RefPtr<HTMLElement> HTMLTableElement::insertRow(int index, ExceptionCode& ec)
</ins><span class="cx"> {
</span><span class="cx"> if (index < -1) {
</span><span class="cx"> ec = INDEX_SIZE_ERR;
</span><span class="lines">@@ -220,13 +220,13 @@
</span><span class="cx"> RefPtr<HTMLTableRowElement> newRow = HTMLTableRowElement::create(document());
</span><span class="cx"> newBody->appendChild(newRow, ec);
</span><span class="cx"> appendChild(newBody.release(), ec);
</span><del>- return newRow.release();
</del><ins>+ return newRow;
</ins><span class="cx"> }
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> RefPtr<HTMLTableRowElement> newRow = HTMLTableRowElement::create(document());
</span><span class="cx"> parent->insertBefore(newRow, row.get(), ec);
</span><del>- return newRow.release();
</del><ins>+ return newRow;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> void HTMLTableElement::deleteRow(int index, ExceptionCode& ec)
</span><span class="lines">@@ -468,7 +468,7 @@
</span><span class="cx"> return NoBorders;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<StyleProperties> HTMLTableElement::createSharedCellStyle()
</del><ins>+RefPtr<StyleProperties> HTMLTableElement::createSharedCellStyle()
</ins><span class="cx"> {
</span><span class="cx"> RefPtr<MutableStyleProperties> style = MutableStyleProperties::create();
</span><span class="cx">
</span><span class="lines">@@ -505,7 +505,7 @@
</span><span class="cx"> if (m_padding)
</span><span class="cx"> style->setProperty(CSSPropertyPadding, cssValuePool().createValue(m_padding, CSSPrimitiveValue::CSS_PX));
</span><span class="cx">
</span><del>- return style.release();
</del><ins>+ return style;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> const StyleProperties* HTMLTableElement::additionalCellStyle()
</span><span class="lines">@@ -550,12 +550,12 @@
</span><span class="cx"> return attribute.name() == backgroundAttr || HTMLElement::isURLAttribute(attribute);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLCollection> HTMLTableElement::rows()
</del><ins>+RefPtr<HTMLCollection> HTMLTableElement::rows()
</ins><span class="cx"> {
</span><span class="cx"> return ensureCachedHTMLCollection(TableRows);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLCollection> HTMLTableElement::tBodies()
</del><ins>+RefPtr<HTMLCollection> HTMLTableElement::tBodies()
</ins><span class="cx"> {
</span><span class="cx"> return ensureCachedHTMLCollection(TableTBodies);
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLTableElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLTableElement.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLTableElement.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLTableElement.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -37,8 +37,8 @@
</span><span class="cx">
</span><span class="cx"> class HTMLTableElement final : public HTMLElement {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<HTMLTableElement> create(Document&);
- static PassRefPtr<HTMLTableElement> create(const QualifiedName&, Document&);
</del><ins>+ static RefPtr<HTMLTableElement> create(Document&);
+ static RefPtr<HTMLTableElement> create(const QualifiedName&, Document&);
</ins><span class="cx">
</span><span class="cx"> HTMLTableCaptionElement* caption() const;
</span><span class="cx"> void setCaption(PassRefPtr<HTMLTableCaptionElement>, ExceptionCode&);
</span><span class="lines">@@ -49,19 +49,19 @@
</span><span class="cx"> HTMLTableSectionElement* tFoot() const;
</span><span class="cx"> void setTFoot(PassRefPtr<HTMLTableSectionElement>, ExceptionCode&);
</span><span class="cx">
</span><del>- PassRefPtr<HTMLElement> createTHead();
</del><ins>+ RefPtr<HTMLElement> createTHead();
</ins><span class="cx"> void deleteTHead();
</span><del>- PassRefPtr<HTMLElement> createTFoot();
</del><ins>+ RefPtr<HTMLElement> createTFoot();
</ins><span class="cx"> void deleteTFoot();
</span><del>- PassRefPtr<HTMLElement> createTBody();
- PassRefPtr<HTMLElement> createCaption();
</del><ins>+ RefPtr<HTMLElement> createTBody();
+ RefPtr<HTMLElement> createCaption();
</ins><span class="cx"> void deleteCaption();
</span><del>- PassRefPtr<HTMLElement> insertRow(ExceptionCode& ec) { return insertRow(-1, ec); }
- PassRefPtr<HTMLElement> insertRow(int index, ExceptionCode&);
</del><ins>+ RefPtr<HTMLElement> insertRow(ExceptionCode& ec) { return insertRow(-1, ec); }
+ RefPtr<HTMLElement> insertRow(int index, ExceptionCode&);
</ins><span class="cx"> void deleteRow(int index, ExceptionCode&);
</span><span class="cx">
</span><del>- PassRefPtr<HTMLCollection> rows();
- PassRefPtr<HTMLCollection> tBodies();
</del><ins>+ RefPtr<HTMLCollection> rows();
+ RefPtr<HTMLCollection> tBodies();
</ins><span class="cx">
</span><span class="cx"> const AtomicString& rules() const;
</span><span class="cx"> const AtomicString& summary() const;
</span><span class="lines">@@ -87,7 +87,7 @@
</span><span class="cx">
</span><span class="cx"> CellBorders cellBorders() const;
</span><span class="cx">
</span><del>- PassRefPtr<StyleProperties> createSharedCellStyle();
</del><ins>+ RefPtr<StyleProperties> createSharedCellStyle();
</ins><span class="cx">
</span><span class="cx"> HTMLTableSectionElement* lastBody() const;
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLTableRowElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLTableRowElement.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLTableRowElement.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLTableRowElement.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -44,12 +44,12 @@
</span><span class="cx"> ASSERT(hasTagName(trTag));
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLTableRowElement> HTMLTableRowElement::create(Document& document)
</del><ins>+RefPtr<HTMLTableRowElement> HTMLTableRowElement::create(Document& document)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLTableRowElement(trTag, document));
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLTableRowElement> HTMLTableRowElement::create(const QualifiedName& tagName, Document& document)
</del><ins>+RefPtr<HTMLTableRowElement> HTMLTableRowElement::create(const QualifiedName& tagName, Document& document)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLTableRowElement(tagName, document));
</span><span class="cx"> }
</span><span class="lines">@@ -118,7 +118,7 @@
</span><span class="cx"> return rIndex;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLElement> HTMLTableRowElement::insertCell(int index, ExceptionCode& ec)
</del><ins>+RefPtr<HTMLElement> HTMLTableRowElement::insertCell(int index, ExceptionCode& ec)
</ins><span class="cx"> {
</span><span class="cx"> RefPtr<HTMLCollection> children = cells();
</span><span class="cx"> int numCells = children ? children->length() : 0;
</span><span class="lines">@@ -138,7 +138,7 @@
</span><span class="cx"> n = children->item(index);
</span><span class="cx"> insertBefore(cell, n, ec);
</span><span class="cx"> }
</span><del>- return cell.release();
</del><ins>+ return cell;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> void HTMLTableRowElement::deleteCell(int index, ExceptionCode& ec)
</span><span class="lines">@@ -154,7 +154,7 @@
</span><span class="cx"> ec = INDEX_SIZE_ERR;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLCollection> HTMLTableRowElement::cells()
</del><ins>+RefPtr<HTMLCollection> HTMLTableRowElement::cells()
</ins><span class="cx"> {
</span><span class="cx"> return ensureCachedHTMLCollection(TRCells);
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLTableRowElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLTableRowElement.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLTableRowElement.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLTableRowElement.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -32,8 +32,8 @@
</span><span class="cx">
</span><span class="cx"> class HTMLTableRowElement final : public HTMLTablePartElement {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<HTMLTableRowElement> create(Document&);
- static PassRefPtr<HTMLTableRowElement> create(const QualifiedName&, Document&);
</del><ins>+ static RefPtr<HTMLTableRowElement> create(Document&);
+ static RefPtr<HTMLTableRowElement> create(const QualifiedName&, Document&);
</ins><span class="cx">
</span><span class="cx"> int rowIndex() const;
</span><span class="cx"> void setRowIndex(int);
</span><span class="lines">@@ -41,11 +41,11 @@
</span><span class="cx"> int sectionRowIndex() const;
</span><span class="cx"> void setSectionRowIndex(int);
</span><span class="cx">
</span><del>- PassRefPtr<HTMLElement> insertCell(ExceptionCode& ec) { return insertCell(-1, ec); }
- PassRefPtr<HTMLElement> insertCell(int index, ExceptionCode&);
</del><ins>+ RefPtr<HTMLElement> insertCell(ExceptionCode& ec) { return insertCell(-1, ec); }
+ RefPtr<HTMLElement> insertCell(int index, ExceptionCode&);
</ins><span class="cx"> void deleteCell(int index, ExceptionCode&);
</span><span class="cx">
</span><del>- PassRefPtr<HTMLCollection> cells();
</del><ins>+ RefPtr<HTMLCollection> cells();
</ins><span class="cx"> void setCells(HTMLCollection *, ExceptionCode&);
</span><span class="cx">
</span><span class="cx"> private:
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLTableSectionElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLTableSectionElement.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLTableSectionElement.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLTableSectionElement.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -42,7 +42,7 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLTableSectionElement> HTMLTableSectionElement::create(const QualifiedName& tagName, Document& document)
</del><ins>+RefPtr<HTMLTableSectionElement> HTMLTableSectionElement::create(const QualifiedName& tagName, Document& document)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLTableSectionElement(tagName, document));
</span><span class="cx"> }
</span><span class="lines">@@ -56,7 +56,7 @@
</span><span class="cx">
</span><span class="cx"> // these functions are rather slow, since we need to get the row at
</span><span class="cx"> // the index... but they aren't used during usual HTML parsing anyway
</span><del>-PassRefPtr<HTMLElement> HTMLTableSectionElement::insertRow(int index, ExceptionCode& ec)
</del><ins>+RefPtr<HTMLElement> HTMLTableSectionElement::insertRow(int index, ExceptionCode& ec)
</ins><span class="cx"> {
</span><span class="cx"> RefPtr<HTMLTableRowElement> row;
</span><span class="cx"> RefPtr<HTMLCollection> children = rows();
</span><span class="lines">@@ -76,7 +76,7 @@
</span><span class="cx"> insertBefore(row, n, ec);
</span><span class="cx"> }
</span><span class="cx"> }
</span><del>- return row.release();
</del><ins>+ return row;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> void HTMLTableSectionElement::deleteRow(int index, ExceptionCode& ec)
</span><span class="lines">@@ -145,7 +145,7 @@
</span><span class="cx"> setAttribute(valignAttr, value);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLCollection> HTMLTableSectionElement::rows()
</del><ins>+RefPtr<HTMLCollection> HTMLTableSectionElement::rows()
</ins><span class="cx"> {
</span><span class="cx"> return ensureCachedHTMLCollection(TSectionRows);
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLTableSectionElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLTableSectionElement.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLTableSectionElement.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLTableSectionElement.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -33,10 +33,10 @@
</span><span class="cx">
</span><span class="cx"> class HTMLTableSectionElement final : public HTMLTablePartElement {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<HTMLTableSectionElement> create(const QualifiedName&, Document&);
</del><ins>+ static RefPtr<HTMLTableSectionElement> create(const QualifiedName&, Document&);
</ins><span class="cx">
</span><del>- PassRefPtr<HTMLElement> insertRow(ExceptionCode& ec) { return insertRow(-1, ec); }
- PassRefPtr<HTMLElement> insertRow(int index, ExceptionCode&);
</del><ins>+ RefPtr<HTMLElement> insertRow(ExceptionCode& ec) { return insertRow(-1, ec); }
+ RefPtr<HTMLElement> insertRow(int index, ExceptionCode&);
</ins><span class="cx"> void deleteRow(int index, ExceptionCode&);
</span><span class="cx">
</span><span class="cx"> int numRows() const;
</span><span class="lines">@@ -53,7 +53,7 @@
</span><span class="cx"> const AtomicString& vAlign() const;
</span><span class="cx"> void setVAlign(const AtomicString&);
</span><span class="cx">
</span><del>- PassRefPtr<HTMLCollection> rows();
</del><ins>+ RefPtr<HTMLCollection> rows();
</ins><span class="cx">
</span><span class="cx"> private:
</span><span class="cx"> HTMLTableSectionElement(const QualifiedName& tagName, Document&);
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLTemplateElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLTemplateElement.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLTemplateElement.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLTemplateElement.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -55,7 +55,7 @@
</span><span class="cx"> m_content->clearHost();
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLTemplateElement> HTMLTemplateElement::create(const QualifiedName& tagName, Document& document)
</del><ins>+RefPtr<HTMLTemplateElement> HTMLTemplateElement::create(const QualifiedName& tagName, Document& document)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLTemplateElement(tagName, document));
</span><span class="cx"> }
</span><span class="lines">@@ -68,7 +68,7 @@
</span><span class="cx"> return m_content.get();
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<Node> HTMLTemplateElement::cloneNode(bool deep)
</del><ins>+RefPtr<Node> HTMLTemplateElement::cloneNode(bool deep)
</ins><span class="cx"> {
</span><span class="cx"> if (!deep)
</span><span class="cx"> return cloneElementWithoutChildren();
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLTemplateElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLTemplateElement.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLTemplateElement.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLTemplateElement.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -42,7 +42,7 @@
</span><span class="cx">
</span><span class="cx"> class HTMLTemplateElement final : public HTMLElement {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<HTMLTemplateElement> create(const QualifiedName&, Document&);
</del><ins>+ static RefPtr<HTMLTemplateElement> create(const QualifiedName&, Document&);
</ins><span class="cx"> virtual ~HTMLTemplateElement();
</span><span class="cx">
</span><span class="cx"> DocumentFragment* content() const;
</span><span class="lines">@@ -50,7 +50,7 @@
</span><span class="cx"> private:
</span><span class="cx"> HTMLTemplateElement(const QualifiedName&, Document&);
</span><span class="cx">
</span><del>- virtual PassRefPtr<Node> cloneNode(bool deep) override;
</del><ins>+ virtual RefPtr<Node> cloneNode(bool deep) override;
</ins><span class="cx"> virtual void didMoveToNewDocument(Document* oldDocument) override;
</span><span class="cx">
</span><span class="cx"> mutable RefPtr<TemplateContentDocumentFragment> m_content;
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLTextAreaElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLTextAreaElement.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLTextAreaElement.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLTextAreaElement.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -101,11 +101,11 @@
</span><span class="cx"> setFormControlValueMatchesRenderer(true);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLTextAreaElement> HTMLTextAreaElement::create(const QualifiedName& tagName, Document& document, HTMLFormElement* form)
</del><ins>+RefPtr<HTMLTextAreaElement> HTMLTextAreaElement::create(const QualifiedName& tagName, Document& document, HTMLFormElement* form)
</ins><span class="cx"> {
</span><span class="cx"> RefPtr<HTMLTextAreaElement> textArea = adoptRef(new HTMLTextAreaElement(tagName, document, form));
</span><span class="cx"> textArea->ensureUserAgentShadowRoot();
</span><del>- return textArea.release();
</del><ins>+ return textArea;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> void HTMLTextAreaElement::didAddUserAgentShadowRoot(ShadowRoot* root)
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLTextAreaElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLTextAreaElement.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLTextAreaElement.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLTextAreaElement.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -33,7 +33,7 @@
</span><span class="cx">
</span><span class="cx"> class HTMLTextAreaElement final : public HTMLTextFormControlElement {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<HTMLTextAreaElement> create(const QualifiedName&, Document&, HTMLFormElement*);
</del><ins>+ static RefPtr<HTMLTextAreaElement> create(const QualifiedName&, Document&, HTMLFormElement*);
</ins><span class="cx">
</span><span class="cx"> int cols() const { return m_cols; }
</span><span class="cx"> int rows() const { return m_rows; }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLTitleElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLTitleElement.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLTitleElement.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLTitleElement.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -44,7 +44,7 @@
</span><span class="cx"> ASSERT(hasTagName(titleTag));
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLTitleElement> HTMLTitleElement::create(const QualifiedName& tagName, Document& document)
</del><ins>+RefPtr<HTMLTitleElement> HTMLTitleElement::create(const QualifiedName& tagName, Document& document)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLTitleElement(tagName, document));
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLTitleElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLTitleElement.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLTitleElement.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLTitleElement.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -29,7 +29,7 @@
</span><span class="cx">
</span><span class="cx"> class HTMLTitleElement final : public HTMLElement {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<HTMLTitleElement> create(const QualifiedName&, Document&);
</del><ins>+ static RefPtr<HTMLTitleElement> create(const QualifiedName&, Document&);
</ins><span class="cx">
</span><span class="cx"> String text() const;
</span><span class="cx"> void setText(const String&);
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLTrackElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLTrackElement.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLTrackElement.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLTrackElement.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -64,7 +64,7 @@
</span><span class="cx"> m_track->clearClient();
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLTrackElement> HTMLTrackElement::create(const QualifiedName& tagName, Document& document)
</del><ins>+RefPtr<HTMLTrackElement> HTMLTrackElement::create(const QualifiedName& tagName, Document& document)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLTrackElement(tagName, document));
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLTrackElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLTrackElement.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLTrackElement.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLTrackElement.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -37,7 +37,7 @@
</span><span class="cx">
</span><span class="cx"> class HTMLTrackElement final : public HTMLElement, public TextTrackClient {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<HTMLTrackElement> create(const QualifiedName&, Document&);
</del><ins>+ static RefPtr<HTMLTrackElement> create(const QualifiedName&, Document&);
</ins><span class="cx">
</span><span class="cx"> String kind();
</span><span class="cx"> void setKind(const String&);
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLUListElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLUListElement.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLUListElement.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLUListElement.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -37,12 +37,12 @@
</span><span class="cx"> ASSERT(hasTagName(ulTag));
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLUListElement> HTMLUListElement::create(Document& document)
</del><ins>+RefPtr<HTMLUListElement> HTMLUListElement::create(Document& document)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLUListElement(ulTag, document));
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLUListElement> HTMLUListElement::create(const QualifiedName& tagName, Document& document)
</del><ins>+RefPtr<HTMLUListElement> HTMLUListElement::create(const QualifiedName& tagName, Document& document)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLUListElement(tagName, document));
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLUListElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLUListElement.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLUListElement.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLUListElement.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -29,8 +29,8 @@
</span><span class="cx">
</span><span class="cx"> class HTMLUListElement final : public HTMLElement {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<HTMLUListElement> create(Document&);
- static PassRefPtr<HTMLUListElement> create(const QualifiedName&, Document&);
</del><ins>+ static RefPtr<HTMLUListElement> create(Document&);
+ static RefPtr<HTMLUListElement> create(const QualifiedName&, Document&);
</ins><span class="cx">
</span><span class="cx"> private:
</span><span class="cx"> HTMLUListElement(const QualifiedName&, Document&);
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLUnknownElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLUnknownElement.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLUnknownElement.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLUnknownElement.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -36,7 +36,7 @@
</span><span class="cx">
</span><span class="cx"> class HTMLUnknownElement final : public HTMLElement {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<HTMLUnknownElement> create(const QualifiedName& tagName, Document& document)
</del><ins>+ static RefPtr<HTMLUnknownElement> create(const QualifiedName& tagName, Document& document)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLUnknownElement(tagName, document));
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLVideoElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLVideoElement.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLVideoElement.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLVideoElement.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -55,11 +55,11 @@
</span><span class="cx"> m_defaultPosterURL = document.settings()->defaultVideoPosterURL();
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<HTMLVideoElement> HTMLVideoElement::create(const QualifiedName& tagName, Document& document, bool createdByParser)
</del><ins>+RefPtr<HTMLVideoElement> HTMLVideoElement::create(const QualifiedName& tagName, Document& document, bool createdByParser)
</ins><span class="cx"> {
</span><span class="cx"> RefPtr<HTMLVideoElement> videoElement(adoptRef(new HTMLVideoElement(tagName, document, createdByParser)));
</span><span class="cx"> videoElement->suspendIfNeeded();
</span><del>- return videoElement.release();
</del><ins>+ return videoElement;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> bool HTMLVideoElement::rendererIsNeeded(const RenderStyle& style)
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLVideoElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLVideoElement.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLVideoElement.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLVideoElement.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -37,7 +37,7 @@
</span><span class="cx">
</span><span class="cx"> class HTMLVideoElement final : public HTMLMediaElement {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<HTMLVideoElement> create(const QualifiedName&, Document&, bool);
</del><ins>+ static RefPtr<HTMLVideoElement> create(const QualifiedName&, Document&, bool);
</ins><span class="cx">
</span><span class="cx"> WEBCORE_EXPORT unsigned videoWidth() const;
</span><span class="cx"> WEBCORE_EXPORT unsigned videoHeight() const;
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLWBRElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLWBRElement.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLWBRElement.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLWBRElement.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -33,7 +33,7 @@
</span><span class="cx">
</span><span class="cx"> using namespace HTMLNames;
</span><span class="cx">
</span><del>-PassRefPtr<HTMLWBRElement> HTMLWBRElement::create(const QualifiedName& tagName, Document& document)
</del><ins>+RefPtr<HTMLWBRElement> HTMLWBRElement::create(const QualifiedName& tagName, Document& document)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLWBRElement(tagName, document));
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLWBRElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLWBRElement.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLWBRElement.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/HTMLWBRElement.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -32,7 +32,7 @@
</span><span class="cx">
</span><span class="cx"> class HTMLWBRElement final : public HTMLElement {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<HTMLWBRElement> create(const QualifiedName&, Document&);
</del><ins>+ static RefPtr<HTMLWBRElement> create(const QualifiedName&, Document&);
</ins><span class="cx">
</span><span class="cx"> private:
</span><span class="cx"> HTMLWBRElement(const QualifiedName&, Document&);
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlImageDocumentcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/ImageDocument.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/ImageDocument.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/ImageDocument.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -54,7 +54,7 @@
</span><span class="cx"> #if !PLATFORM(IOS)
</span><span class="cx"> class ImageEventListener final : public EventListener {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<ImageEventListener> create(ImageDocument& document) { return adoptRef(new ImageEventListener(document)); }
</del><ins>+ static RefPtr<ImageEventListener> create(ImageDocument& document) { return adoptRef(new ImageEventListener(document)); }
</ins><span class="cx">
</span><span class="cx"> private:
</span><span class="cx"> ImageEventListener(ImageDocument& document)
</span><span class="lines">@@ -72,7 +72,7 @@
</span><span class="cx">
</span><span class="cx"> class ImageDocumentParser final : public RawDataDocumentParser {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<ImageDocumentParser> create(ImageDocument& document)
</del><ins>+ static RefPtr<ImageDocumentParser> create(ImageDocument& document)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new ImageDocumentParser(document));
</span><span class="cx"> }
</span><span class="lines">@@ -91,7 +91,7 @@
</span><span class="cx">
</span><span class="cx"> class ImageDocumentElement final : public HTMLImageElement {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<ImageDocumentElement> create(ImageDocument&);
</del><ins>+ static RefPtr<ImageDocumentElement> create(ImageDocument&);
</ins><span class="cx">
</span><span class="cx"> private:
</span><span class="cx"> ImageDocumentElement(ImageDocument& document)
</span><span class="lines">@@ -106,7 +106,7 @@
</span><span class="cx"> ImageDocument* m_imageDocument;
</span><span class="cx"> };
</span><span class="cx">
</span><del>-inline PassRefPtr<ImageDocumentElement> ImageDocumentElement::create(ImageDocument& document)
</del><ins>+inline RefPtr<ImageDocumentElement> ImageDocumentElement::create(ImageDocument& document)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new ImageDocumentElement(document));
</span><span class="cx"> }
</span><span class="lines">@@ -202,7 +202,7 @@
</span><span class="cx"> lockCompatibilityMode();
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<DocumentParser> ImageDocument::createParser()
</del><ins>+RefPtr<DocumentParser> ImageDocument::createParser()
</ins><span class="cx"> {
</span><span class="cx"> return ImageDocumentParser::create(*this);
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlImageDocumenth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/ImageDocument.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/ImageDocument.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/ImageDocument.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -34,7 +34,7 @@
</span><span class="cx">
</span><span class="cx"> class ImageDocument final : public HTMLDocument {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<ImageDocument> create(Frame& frame, const URL& url)
</del><ins>+ static RefPtr<ImageDocument> create(Frame& frame, const URL& url)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new ImageDocument(frame, url));
</span><span class="cx"> }
</span><span class="lines">@@ -54,7 +54,7 @@
</span><span class="cx"> private:
</span><span class="cx"> ImageDocument(Frame&, const URL&);
</span><span class="cx">
</span><del>- virtual PassRefPtr<DocumentParser> createParser() override;
</del><ins>+ virtual RefPtr<DocumentParser> createParser() override;
</ins><span class="cx">
</span><span class="cx"> LayoutSize imageSize();
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlMediaDocumentcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/MediaDocument.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/MediaDocument.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/MediaDocument.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -52,7 +52,7 @@
</span><span class="cx"> // FIXME: Share more code with PluginDocumentParser.
</span><span class="cx"> class MediaDocumentParser final : public RawDataDocumentParser {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<MediaDocumentParser> create(MediaDocument& document)
</del><ins>+ static RefPtr<MediaDocumentParser> create(MediaDocument& document)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new MediaDocumentParser(document));
</span><span class="cx"> }
</span><span class="lines">@@ -153,7 +153,7 @@
</span><span class="cx"> ASSERT(!m_replaceMediaElementTimer.isActive());
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<DocumentParser> MediaDocument::createParser()
</del><ins>+RefPtr<DocumentParser> MediaDocument::createParser()
</ins><span class="cx"> {
</span><span class="cx"> return MediaDocumentParser::create(*this);
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlMediaDocumenth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/MediaDocument.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/MediaDocument.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/MediaDocument.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -34,7 +34,7 @@
</span><span class="cx">
</span><span class="cx"> class MediaDocument final : public HTMLDocument {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<MediaDocument> create(Frame* frame, const URL& url)
</del><ins>+ static RefPtr<MediaDocument> create(Frame* frame, const URL& url)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new MediaDocument(frame, url));
</span><span class="cx"> }
</span><span class="lines">@@ -46,7 +46,7 @@
</span><span class="cx"> private:
</span><span class="cx"> MediaDocument(Frame*, const URL&);
</span><span class="cx">
</span><del>- virtual PassRefPtr<DocumentParser> createParser() override;
</del><ins>+ virtual RefPtr<DocumentParser> createParser() override;
</ins><span class="cx">
</span><span class="cx"> virtual void defaultEventHandler(Event*) override;
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlPluginDocumentcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/PluginDocument.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/PluginDocument.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/PluginDocument.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -46,7 +46,7 @@
</span><span class="cx"> // FIXME: Share more code with MediaDocumentParser.
</span><span class="cx"> class PluginDocumentParser final : public RawDataDocumentParser {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<PluginDocumentParser> create(PluginDocument& document)
</del><ins>+ static RefPtr<PluginDocumentParser> create(PluginDocument& document)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new PluginDocumentParser(document));
</span><span class="cx"> }
</span><span class="lines">@@ -148,7 +148,7 @@
</span><span class="cx"> lockCompatibilityMode();
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<DocumentParser> PluginDocument::createParser()
</del><ins>+RefPtr<DocumentParser> PluginDocument::createParser()
</ins><span class="cx"> {
</span><span class="cx"> return PluginDocumentParser::create(*this);
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlPluginDocumenth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/PluginDocument.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/PluginDocument.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/PluginDocument.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -34,7 +34,7 @@
</span><span class="cx">
</span><span class="cx"> class PluginDocument final : public HTMLDocument {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<PluginDocument> create(Frame* frame, const URL& url)
</del><ins>+ static RefPtr<PluginDocument> create(Frame* frame, const URL& url)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new PluginDocument(frame, url));
</span><span class="cx"> }
</span><span class="lines">@@ -53,7 +53,7 @@
</span><span class="cx"> private:
</span><span class="cx"> PluginDocument(Frame*, const URL&);
</span><span class="cx">
</span><del>- virtual PassRefPtr<DocumentParser> createParser() override;
</del><ins>+ virtual RefPtr<DocumentParser> createParser() override;
</ins><span class="cx">
</span><span class="cx"> void setShouldLoadPluginManually(bool loadManually) { m_shouldLoadPluginManually = loadManually; }
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlTextDocumentcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/TextDocument.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/TextDocument.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/TextDocument.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -36,7 +36,7 @@
</span><span class="cx"> lockCompatibilityMode();
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<DocumentParser> TextDocument::createParser()
</del><ins>+RefPtr<DocumentParser> TextDocument::createParser()
</ins><span class="cx"> {
</span><span class="cx"> return TextDocumentParser::create(*this);
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlTextDocumenth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/TextDocument.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/TextDocument.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/TextDocument.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -31,7 +31,7 @@
</span><span class="cx">
</span><span class="cx"> class TextDocument final : public HTMLDocument {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<TextDocument> create(Frame* frame, const URL& url)
</del><ins>+ static RefPtr<TextDocument> create(Frame* frame, const URL& url)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new TextDocument(frame, url));
</span><span class="cx"> }
</span><span class="lines">@@ -39,7 +39,7 @@
</span><span class="cx"> private:
</span><span class="cx"> TextDocument(Frame*, const URL&);
</span><span class="cx">
</span><del>- virtual PassRefPtr<DocumentParser> createParser() override;
</del><ins>+ virtual RefPtr<DocumentParser> createParser() override;
</ins><span class="cx"> };
</span><span class="cx">
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlparserHTMLDocumentParserh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/parser/HTMLDocumentParser.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/parser/HTMLDocumentParser.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/parser/HTMLDocumentParser.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -62,7 +62,7 @@
</span><span class="cx"> class HTMLDocumentParser : public ScriptableDocumentParser, HTMLScriptRunnerHost, CachedResourceClient {
</span><span class="cx"> WTF_MAKE_FAST_ALLOCATED;
</span><span class="cx"> public:
</span><del>- static PassRefPtr<HTMLDocumentParser> create(HTMLDocument& document)
</del><ins>+ static RefPtr<HTMLDocumentParser> create(HTMLDocument& document)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLDocumentParser(document));
</span><span class="cx"> }
</span><span class="lines">@@ -93,7 +93,7 @@
</span><span class="cx"> void forcePlaintextForTextDocument();
</span><span class="cx">
</span><span class="cx"> private:
</span><del>- static PassRefPtr<HTMLDocumentParser> create(DocumentFragment& fragment, Element* contextElement, ParserContentPolicy parserContentPolicy)
</del><ins>+ static RefPtr<HTMLDocumentParser> create(DocumentFragment& fragment, Element* contextElement, ParserContentPolicy parserContentPolicy)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLDocumentParser(fragment, contextElement, parserContentPolicy));
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlparserHTMLStackItemh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/parser/HTMLStackItem.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/parser/HTMLStackItem.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/parser/HTMLStackItem.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -48,13 +48,13 @@
</span><span class="cx"> };
</span><span class="cx">
</span><span class="cx"> // Used by document fragment node and context element.
</span><del>- static PassRefPtr<HTMLStackItem> create(PassRefPtr<ContainerNode> node, ItemType type)
</del><ins>+ static RefPtr<HTMLStackItem> create(PassRefPtr<ContainerNode> node, ItemType type)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLStackItem(node, type));
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> // Used by HTMLElementStack and HTMLFormattingElementList.
</span><del>- static PassRefPtr<HTMLStackItem> create(PassRefPtr<ContainerNode> node, AtomicHTMLToken* token, const AtomicString& namespaceURI = HTMLNames::xhtmlNamespaceURI)
</del><ins>+ static RefPtr<HTMLStackItem> create(PassRefPtr<ContainerNode> node, AtomicHTMLToken* token, const AtomicString& namespaceURI = HTMLNames::xhtmlNamespaceURI)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new HTMLStackItem(node, token, namespaceURI));
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlshadowSliderThumbElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/shadow/SliderThumbElement.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/shadow/SliderThumbElement.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/shadow/SliderThumbElement.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -598,7 +598,7 @@
</span><span class="cx"> }
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<Element> SliderThumbElement::cloneElementWithoutAttributesAndChildren()
</del><ins>+RefPtr<Element> SliderThumbElement::cloneElementWithoutAttributesAndChildren()
</ins><span class="cx"> {
</span><span class="cx"> return create(document());
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlshadowSliderThumbElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/shadow/SliderThumbElement.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/shadow/SliderThumbElement.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/shadow/SliderThumbElement.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -62,7 +62,7 @@
</span><span class="cx"> SliderThumbElement(Document&);
</span><span class="cx">
</span><span class="cx"> virtual RenderPtr<RenderElement> createElementRenderer(PassRef<RenderStyle>) override;
</span><del>- virtual PassRefPtr<Element> cloneElementWithoutAttributesAndChildren() override;
</del><ins>+ virtual RefPtr<Element> cloneElementWithoutAttributesAndChildren() override;
</ins><span class="cx"> virtual bool isDisabledFormControl() const override;
</span><span class="cx"> virtual bool matchesReadWritePseudoClass() const override;
</span><span class="cx"> virtual Element* focusDelegate() override;
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlshadowTextControlInnerElementscpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/shadow/TextControlInnerElements.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/shadow/TextControlInnerElements.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/shadow/TextControlInnerElements.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -72,7 +72,7 @@
</span><span class="cx"> return adoptRef(new TextControlInnerElement(document));
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<RenderStyle> TextControlInnerElement::customStyleForRenderer(RenderStyle&)
</del><ins>+RefPtr<RenderStyle> TextControlInnerElement::customStyleForRenderer(RenderStyle&)
</ins><span class="cx"> {
</span><span class="cx"> RenderTextControlSingleLine& parentRenderer = downcast<RenderTextControlSingleLine>(*shadowHost()->renderer());
</span><span class="cx"> return parentRenderer.createInnerBlockStyle(&parentRenderer.style());
</span><span class="lines">@@ -120,7 +120,7 @@
</span><span class="cx"> return downcast<RenderTextControlInnerBlock>(HTMLDivElement::renderer());
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<RenderStyle> TextControlInnerTextElement::customStyleForRenderer(RenderStyle&)
</del><ins>+RefPtr<RenderStyle> TextControlInnerTextElement::customStyleForRenderer(RenderStyle&)
</ins><span class="cx"> {
</span><span class="cx"> RenderTextControl& parentRenderer = downcast<RenderTextControl>(*shadowHost()->renderer());
</span><span class="cx"> return parentRenderer.createInnerTextStyle(&parentRenderer.style());
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlshadowTextControlInnerElementsh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/shadow/TextControlInnerElements.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/shadow/TextControlInnerElements.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/shadow/TextControlInnerElements.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -48,7 +48,7 @@
</span><span class="cx">
</span><span class="cx"> protected:
</span><span class="cx"> TextControlInnerElement(Document&);
</span><del>- virtual PassRefPtr<RenderStyle> customStyleForRenderer(RenderStyle& parentStyle) override;
</del><ins>+ virtual RefPtr<RenderStyle> customStyleForRenderer(RenderStyle& parentStyle) override;
</ins><span class="cx">
</span><span class="cx"> private:
</span><span class="cx"> virtual bool isMouseFocusable() const override { return false; }
</span><span class="lines">@@ -65,7 +65,7 @@
</span><span class="cx"> private:
</span><span class="cx"> TextControlInnerTextElement(Document&);
</span><span class="cx"> virtual RenderPtr<RenderElement> createElementRenderer(PassRef<RenderStyle>) override;
</span><del>- virtual PassRefPtr<RenderStyle> customStyleForRenderer(RenderStyle& parentStyle) override;
</del><ins>+ virtual RefPtr<RenderStyle> customStyleForRenderer(RenderStyle& parentStyle) override;
</ins><span class="cx"> virtual bool isMouseFocusable() const override { return false; }
</span><span class="cx"> virtual bool isTextControlInnerTextElement() const override { return true; }
</span><span class="cx"> };
</span></span></pre></div>
<a id="trunkSourceWebCorehtmltrackWebVTTElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/track/WebVTTElement.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/track/WebVTTElement.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/track/WebVTTElement.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -80,7 +80,7 @@
</span><span class="cx"> return adoptRef(new WebVTTElement(nodeType, document));
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<Element> WebVTTElement::cloneElementWithoutAttributesAndChildren()
</del><ins>+RefPtr<Element> WebVTTElement::cloneElementWithoutAttributesAndChildren()
</ins><span class="cx"> {
</span><span class="cx"> RefPtr<WebVTTElement> clone = create(static_cast<WebVTTNodeType>(m_webVTTNodeType), document());
</span><span class="cx"> clone->setLanguage(m_language);
</span></span></pre></div>
<a id="trunkSourceWebCorehtmltrackWebVTTElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/track/WebVTTElement.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/track/WebVTTElement.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/html/track/WebVTTElement.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -46,7 +46,7 @@
</span><span class="cx"> static PassRefPtr<WebVTTElement> create(const WebVTTNodeType, Document&);
</span><span class="cx"> PassRefPtr<HTMLElement> createEquivalentHTMLElement(Document&);
</span><span class="cx">
</span><del>- virtual PassRefPtr<Element> cloneElementWithoutAttributesAndChildren() override;
</del><ins>+ virtual RefPtr<Element> cloneElementWithoutAttributesAndChildren() override;
</ins><span class="cx">
</span><span class="cx"> void setWebVTTNodeType(WebVTTNodeType type) { m_webVTTNodeType = static_cast<unsigned>(type); }
</span><span class="cx"> WebVTTNodeType webVTTNodeType() const { return static_cast<WebVTTNodeType>(m_webVTTNodeType); }
</span></span></pre></div>
<a id="trunkSourceWebCoreloaderSinkDocumentcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/loader/SinkDocument.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/loader/SinkDocument.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/loader/SinkDocument.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -32,7 +32,7 @@
</span><span class="cx">
</span><span class="cx"> class SinkDocumentParser final : public RawDataDocumentParser {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<SinkDocumentParser> create(SinkDocument& document)
</del><ins>+ static RefPtr<SinkDocumentParser> create(SinkDocument& document)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new SinkDocumentParser(document));
</span><span class="cx"> }
</span><span class="lines">@@ -56,7 +56,7 @@
</span><span class="cx"> lockCompatibilityMode();
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<DocumentParser> SinkDocument::createParser()
</del><ins>+RefPtr<DocumentParser> SinkDocument::createParser()
</ins><span class="cx"> {
</span><span class="cx"> return SinkDocumentParser::create(*this);
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCoreloaderSinkDocumenth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/loader/SinkDocument.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/loader/SinkDocument.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/loader/SinkDocument.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -32,7 +32,7 @@
</span><span class="cx">
</span><span class="cx"> class SinkDocument final : public HTMLDocument {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<SinkDocument> create(Frame* frame, const URL& url)
</del><ins>+ static RefPtr<SinkDocument> create(Frame* frame, const URL& url)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new SinkDocument(frame, url));
</span><span class="cx"> }
</span><span class="lines">@@ -40,7 +40,7 @@
</span><span class="cx"> private:
</span><span class="cx"> SinkDocument(Frame*, const URL&);
</span><span class="cx">
</span><del>- virtual PassRefPtr<DocumentParser> createParser();
</del><ins>+ virtual RefPtr<DocumentParser> createParser();
</ins><span class="cx"> };
</span><span class="cx">
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebCoremathmlMathMLElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/mathml/MathMLElement.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/mathml/MathMLElement.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/mathml/MathMLElement.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -50,7 +50,7 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<MathMLElement> MathMLElement::create(const QualifiedName& tagName, Document& document)
</del><ins>+RefPtr<MathMLElement> MathMLElement::create(const QualifiedName& tagName, Document& document)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new MathMLElement(tagName, document));
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCoremathmlMathMLElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/mathml/MathMLElement.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/mathml/MathMLElement.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/mathml/MathMLElement.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -37,7 +37,7 @@
</span><span class="cx">
</span><span class="cx"> class MathMLElement : public StyledElement {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<MathMLElement> create(const QualifiedName& tagName, Document&);
</del><ins>+ static RefPtr<MathMLElement> create(const QualifiedName& tagName, Document&);
</ins><span class="cx">
</span><span class="cx"> int colSpan() const;
</span><span class="cx"> int rowSpan() const;
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGDocumentcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGDocument.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGDocument.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/svg/SVGDocument.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -76,7 +76,7 @@
</span><span class="cx"> }
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<Document> SVGDocument::cloneDocumentWithoutChildren() const
</del><ins>+RefPtr<Document> SVGDocument::cloneDocumentWithoutChildren() const
</ins><span class="cx"> {
</span><span class="cx"> return create(nullptr, url());
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGDocumenth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGDocument.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGDocument.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/svg/SVGDocument.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -32,7 +32,7 @@
</span><span class="cx">
</span><span class="cx"> class SVGDocument final : public Document {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<SVGDocument> create(Frame* frame, const URL& url)
</del><ins>+ static RefPtr<SVGDocument> create(Frame* frame, const URL& url)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new SVGDocument(frame, url));
</span><span class="cx"> }
</span><span class="lines">@@ -47,7 +47,7 @@
</span><span class="cx"> private:
</span><span class="cx"> SVGDocument(Frame*, const URL&);
</span><span class="cx">
</span><del>- virtual PassRefPtr<Document> cloneDocumentWithoutChildren() const override;
</del><ins>+ virtual RefPtr<Document> cloneDocumentWithoutChildren() const override;
</ins><span class="cx">
</span><span class="cx"> FloatPoint m_translate;
</span><span class="cx"> };
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGElement.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGElement.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/svg/SVGElement.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -784,7 +784,7 @@
</span><span class="cx"> contextElement->synchronizeSystemLanguage();
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<RenderStyle> SVGElement::customStyleForRenderer(RenderStyle& parentStyle)
</del><ins>+RefPtr<RenderStyle> SVGElement::customStyleForRenderer(RenderStyle& parentStyle)
</ins><span class="cx"> {
</span><span class="cx"> if (!correspondingElement())
</span><span class="cx"> return document().ensureStyleResolver().styleForElement(this, &parentStyle);
</span><span class="lines">@@ -1101,7 +1101,7 @@
</span><span class="cx"> SVGElementInstance::invalidateAllInstancesOfElement(this);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<CSSValue> SVGElement::getPresentationAttribute(const String& name)
</del><ins>+RefPtr<CSSValue> SVGElement::getPresentationAttribute(const String& name)
</ins><span class="cx"> {
</span><span class="cx"> if (!hasAttributesWithoutUpdate())
</span><span class="cx"> return 0;
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGElement.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGElement.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/svg/SVGElement.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -66,7 +66,7 @@
</span><span class="cx"> static bool isAnimatableCSSProperty(const QualifiedName&);
</span><span class="cx"> bool isPresentationAttributeWithSVGDOM(const QualifiedName&);
</span><span class="cx"> bool isKnownAttribute(const QualifiedName&);
</span><del>- PassRefPtr<CSSValue> getPresentationAttribute(const String& name);
</del><ins>+ RefPtr<CSSValue> getPresentationAttribute(const String& name);
</ins><span class="cx"> virtual bool supportsMarkers() const { return false; }
</span><span class="cx"> bool hasRelativeLengths() const { return !m_elementsWithRelativeLengths.isEmpty(); }
</span><span class="cx"> virtual bool needsPendingResourceHandling() const { return true; }
</span><span class="lines">@@ -117,7 +117,7 @@
</span><span class="cx"> void synchronizeAnimatedSVGAttribute(const QualifiedName&) const;
</span><span class="cx"> static void synchronizeAllAnimatedSVGAttribute(SVGElement*);
</span><span class="cx">
</span><del>- virtual PassRefPtr<RenderStyle> customStyleForRenderer(RenderStyle& parentStyle) override;
</del><ins>+ virtual RefPtr<RenderStyle> customStyleForRenderer(RenderStyle& parentStyle) override;
</ins><span class="cx">
</span><span class="cx"> static void synchronizeRequiredFeatures(SVGElement* contextElement);
</span><span class="cx"> static void synchronizeRequiredExtensions(SVGElement* contextElement);
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGPathElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGPathElement.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGPathElement.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/svg/SVGPathElement.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -91,7 +91,7 @@
</span><span class="cx"> registerAnimatedPropertiesForSVGPathElement();
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<SVGPathElement> SVGPathElement::create(const QualifiedName& tagName, Document& document)
</del><ins>+RefPtr<SVGPathElement> SVGPathElement::create(const QualifiedName& tagName, Document& document)
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new SVGPathElement(tagName, document));
</span><span class="cx"> }
</span><span class="lines">@@ -117,97 +117,97 @@
</span><span class="cx"> return pathSeg;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<SVGPathSegClosePath> SVGPathElement::createSVGPathSegClosePath(SVGPathSegRole role)
</del><ins>+RefPtr<SVGPathSegClosePath> SVGPathElement::createSVGPathSegClosePath(SVGPathSegRole role)
</ins><span class="cx"> {
</span><span class="cx"> return SVGPathSegClosePath::create(this, role);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<SVGPathSegMovetoAbs> SVGPathElement::createSVGPathSegMovetoAbs(float x, float y, SVGPathSegRole role)
</del><ins>+RefPtr<SVGPathSegMovetoAbs> SVGPathElement::createSVGPathSegMovetoAbs(float x, float y, SVGPathSegRole role)
</ins><span class="cx"> {
</span><span class="cx"> return SVGPathSegMovetoAbs::create(this, role, x, y);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<SVGPathSegMovetoRel> SVGPathElement::createSVGPathSegMovetoRel(float x, float y, SVGPathSegRole role)
</del><ins>+RefPtr<SVGPathSegMovetoRel> SVGPathElement::createSVGPathSegMovetoRel(float x, float y, SVGPathSegRole role)
</ins><span class="cx"> {
</span><span class="cx"> return SVGPathSegMovetoRel::create(this, role, x, y);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<SVGPathSegLinetoAbs> SVGPathElement::createSVGPathSegLinetoAbs(float x, float y, SVGPathSegRole role)
</del><ins>+RefPtr<SVGPathSegLinetoAbs> SVGPathElement::createSVGPathSegLinetoAbs(float x, float y, SVGPathSegRole role)
</ins><span class="cx"> {
</span><span class="cx"> return SVGPathSegLinetoAbs::create(this, role, x, y);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<SVGPathSegLinetoRel> SVGPathElement::createSVGPathSegLinetoRel(float x, float y, SVGPathSegRole role)
</del><ins>+RefPtr<SVGPathSegLinetoRel> SVGPathElement::createSVGPathSegLinetoRel(float x, float y, SVGPathSegRole role)
</ins><span class="cx"> {
</span><span class="cx"> return SVGPathSegLinetoRel::create(this, role, x, y);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<SVGPathSegCurvetoCubicAbs> SVGPathElement::createSVGPathSegCurvetoCubicAbs(float x, float y, float x1, float y1, float x2, float y2, SVGPathSegRole role)
</del><ins>+RefPtr<SVGPathSegCurvetoCubicAbs> SVGPathElement::createSVGPathSegCurvetoCubicAbs(float x, float y, float x1, float y1, float x2, float y2, SVGPathSegRole role)
</ins><span class="cx"> {
</span><span class="cx"> return SVGPathSegCurvetoCubicAbs::create(this, role, x, y, x1, y1, x2, y2);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<SVGPathSegCurvetoCubicRel> SVGPathElement::createSVGPathSegCurvetoCubicRel(float x, float y, float x1, float y1, float x2, float y2, SVGPathSegRole role)
</del><ins>+RefPtr<SVGPathSegCurvetoCubicRel> SVGPathElement::createSVGPathSegCurvetoCubicRel(float x, float y, float x1, float y1, float x2, float y2, SVGPathSegRole role)
</ins><span class="cx"> {
</span><span class="cx"> return SVGPathSegCurvetoCubicRel::create(this, role, x, y, x1, y1, x2, y2);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<SVGPathSegCurvetoQuadraticAbs> SVGPathElement::createSVGPathSegCurvetoQuadraticAbs(float x, float y, float x1, float y1, SVGPathSegRole role)
</del><ins>+RefPtr<SVGPathSegCurvetoQuadraticAbs> SVGPathElement::createSVGPathSegCurvetoQuadraticAbs(float x, float y, float x1, float y1, SVGPathSegRole role)
</ins><span class="cx"> {
</span><span class="cx"> return SVGPathSegCurvetoQuadraticAbs::create(this, role, x, y, x1, y1);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<SVGPathSegCurvetoQuadraticRel> SVGPathElement::createSVGPathSegCurvetoQuadraticRel(float x, float y, float x1, float y1, SVGPathSegRole role)
</del><ins>+RefPtr<SVGPathSegCurvetoQuadraticRel> SVGPathElement::createSVGPathSegCurvetoQuadraticRel(float x, float y, float x1, float y1, SVGPathSegRole role)
</ins><span class="cx"> {
</span><span class="cx"> return SVGPathSegCurvetoQuadraticRel::create(this, role, x, y, x1, y1);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<SVGPathSegArcAbs> SVGPathElement::createSVGPathSegArcAbs(float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag, SVGPathSegRole role)
</del><ins>+RefPtr<SVGPathSegArcAbs> SVGPathElement::createSVGPathSegArcAbs(float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag, SVGPathSegRole role)
</ins><span class="cx"> {
</span><span class="cx"> return SVGPathSegArcAbs::create(this, role, x, y, r1, r2, angle, largeArcFlag, sweepFlag);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<SVGPathSegArcRel> SVGPathElement::createSVGPathSegArcRel(float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag, SVGPathSegRole role)
</del><ins>+RefPtr<SVGPathSegArcRel> SVGPathElement::createSVGPathSegArcRel(float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag, SVGPathSegRole role)
</ins><span class="cx"> {
</span><span class="cx"> return SVGPathSegArcRel::create(this, role, x, y, r1, r2, angle, largeArcFlag, sweepFlag);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<SVGPathSegLinetoHorizontalAbs> SVGPathElement::createSVGPathSegLinetoHorizontalAbs(float x, SVGPathSegRole role)
</del><ins>+RefPtr<SVGPathSegLinetoHorizontalAbs> SVGPathElement::createSVGPathSegLinetoHorizontalAbs(float x, SVGPathSegRole role)
</ins><span class="cx"> {
</span><span class="cx"> return SVGPathSegLinetoHorizontalAbs::create(this, role, x);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<SVGPathSegLinetoHorizontalRel> SVGPathElement::createSVGPathSegLinetoHorizontalRel(float x, SVGPathSegRole role)
</del><ins>+RefPtr<SVGPathSegLinetoHorizontalRel> SVGPathElement::createSVGPathSegLinetoHorizontalRel(float x, SVGPathSegRole role)
</ins><span class="cx"> {
</span><span class="cx"> return SVGPathSegLinetoHorizontalRel::create(this, role, x);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<SVGPathSegLinetoVerticalAbs> SVGPathElement::createSVGPathSegLinetoVerticalAbs(float y, SVGPathSegRole role)
</del><ins>+RefPtr<SVGPathSegLinetoVerticalAbs> SVGPathElement::createSVGPathSegLinetoVerticalAbs(float y, SVGPathSegRole role)
</ins><span class="cx"> {
</span><span class="cx"> return SVGPathSegLinetoVerticalAbs::create(this, role, y);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<SVGPathSegLinetoVerticalRel> SVGPathElement::createSVGPathSegLinetoVerticalRel(float y, SVGPathSegRole role)
</del><ins>+RefPtr<SVGPathSegLinetoVerticalRel> SVGPathElement::createSVGPathSegLinetoVerticalRel(float y, SVGPathSegRole role)
</ins><span class="cx"> {
</span><span class="cx"> return SVGPathSegLinetoVerticalRel::create(this, role, y);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<SVGPathSegCurvetoCubicSmoothAbs> SVGPathElement::createSVGPathSegCurvetoCubicSmoothAbs(float x, float y, float x2, float y2, SVGPathSegRole role)
</del><ins>+RefPtr<SVGPathSegCurvetoCubicSmoothAbs> SVGPathElement::createSVGPathSegCurvetoCubicSmoothAbs(float x, float y, float x2, float y2, SVGPathSegRole role)
</ins><span class="cx"> {
</span><span class="cx"> return SVGPathSegCurvetoCubicSmoothAbs::create(this, role, x, y, x2, y2);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<SVGPathSegCurvetoCubicSmoothRel> SVGPathElement::createSVGPathSegCurvetoCubicSmoothRel(float x, float y, float x2, float y2, SVGPathSegRole role)
</del><ins>+RefPtr<SVGPathSegCurvetoCubicSmoothRel> SVGPathElement::createSVGPathSegCurvetoCubicSmoothRel(float x, float y, float x2, float y2, SVGPathSegRole role)
</ins><span class="cx"> {
</span><span class="cx"> return SVGPathSegCurvetoCubicSmoothRel::create(this, role, x, y, x2, y2);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<SVGPathSegCurvetoQuadraticSmoothAbs> SVGPathElement::createSVGPathSegCurvetoQuadraticSmoothAbs(float x, float y, SVGPathSegRole role)
</del><ins>+RefPtr<SVGPathSegCurvetoQuadraticSmoothAbs> SVGPathElement::createSVGPathSegCurvetoQuadraticSmoothAbs(float x, float y, SVGPathSegRole role)
</ins><span class="cx"> {
</span><span class="cx"> return SVGPathSegCurvetoQuadraticSmoothAbs::create(this, role, x, y);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<SVGPathSegCurvetoQuadraticSmoothRel> SVGPathElement::createSVGPathSegCurvetoQuadraticSmoothRel(float x, float y, SVGPathSegRole role)
</del><ins>+RefPtr<SVGPathSegCurvetoQuadraticSmoothRel> SVGPathElement::createSVGPathSegCurvetoQuadraticSmoothRel(float x, float y, SVGPathSegRole role)
</ins><span class="cx"> {
</span><span class="cx"> return SVGPathSegCurvetoQuadraticSmoothRel::create(this, role, x, y);
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGPathElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGPathElement.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGPathElement.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/svg/SVGPathElement.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -55,31 +55,31 @@
</span><span class="cx"> class SVGPathElement final : public SVGGraphicsElement,
</span><span class="cx"> public SVGExternalResourcesRequired {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<SVGPathElement> create(const QualifiedName&, Document&);
</del><ins>+ static RefPtr<SVGPathElement> create(const QualifiedName&, Document&);
</ins><span class="cx">
</span><span class="cx"> float getTotalLength();
</span><span class="cx"> SVGPoint getPointAtLength(float distance);
</span><span class="cx"> unsigned getPathSegAtLength(float distance);
</span><span class="cx">
</span><del>- PassRefPtr<SVGPathSegClosePath> createSVGPathSegClosePath(SVGPathSegRole role = PathSegUndefinedRole);
- PassRefPtr<SVGPathSegMovetoAbs> createSVGPathSegMovetoAbs(float x, float y, SVGPathSegRole role = PathSegUndefinedRole);
- PassRefPtr<SVGPathSegMovetoRel> createSVGPathSegMovetoRel(float x, float y, SVGPathSegRole role = PathSegUndefinedRole);
- PassRefPtr<SVGPathSegLinetoAbs> createSVGPathSegLinetoAbs(float x, float y, SVGPathSegRole role = PathSegUndefinedRole);
- PassRefPtr<SVGPathSegLinetoRel> createSVGPathSegLinetoRel(float x, float y, SVGPathSegRole role = PathSegUndefinedRole);
- PassRefPtr<SVGPathSegCurvetoCubicAbs> createSVGPathSegCurvetoCubicAbs(float x, float y, float x1, float y1, float x2, float y2, SVGPathSegRole role = PathSegUndefinedRole);
- PassRefPtr<SVGPathSegCurvetoCubicRel> createSVGPathSegCurvetoCubicRel(float x, float y, float x1, float y1, float x2, float y2, SVGPathSegRole role = PathSegUndefinedRole);
- PassRefPtr<SVGPathSegCurvetoQuadraticAbs> createSVGPathSegCurvetoQuadraticAbs(float x, float y, float x1, float y1, SVGPathSegRole role = PathSegUndefinedRole);
- PassRefPtr<SVGPathSegCurvetoQuadraticRel> createSVGPathSegCurvetoQuadraticRel(float x, float y, float x1, float y1, SVGPathSegRole role = PathSegUndefinedRole);
- PassRefPtr<SVGPathSegArcAbs> createSVGPathSegArcAbs(float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag, SVGPathSegRole role = PathSegUndefinedRole);
- PassRefPtr<SVGPathSegArcRel> createSVGPathSegArcRel(float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag, SVGPathSegRole role = PathSegUndefinedRole);
- PassRefPtr<SVGPathSegLinetoHorizontalAbs> createSVGPathSegLinetoHorizontalAbs(float x, SVGPathSegRole role = PathSegUndefinedRole);
- PassRefPtr<SVGPathSegLinetoHorizontalRel> createSVGPathSegLinetoHorizontalRel(float x, SVGPathSegRole role = PathSegUndefinedRole);
- PassRefPtr<SVGPathSegLinetoVerticalAbs> createSVGPathSegLinetoVerticalAbs(float y, SVGPathSegRole role = PathSegUndefinedRole);
- PassRefPtr<SVGPathSegLinetoVerticalRel> createSVGPathSegLinetoVerticalRel(float y, SVGPathSegRole role = PathSegUndefinedRole);
- PassRefPtr<SVGPathSegCurvetoCubicSmoothAbs> createSVGPathSegCurvetoCubicSmoothAbs(float x, float y, float x2, float y2, SVGPathSegRole role = PathSegUndefinedRole);
- PassRefPtr<SVGPathSegCurvetoCubicSmoothRel> createSVGPathSegCurvetoCubicSmoothRel(float x, float y, float x2, float y2, SVGPathSegRole role = PathSegUndefinedRole);
- PassRefPtr<SVGPathSegCurvetoQuadraticSmoothAbs> createSVGPathSegCurvetoQuadraticSmoothAbs(float x, float y, SVGPathSegRole role = PathSegUndefinedRole);
- PassRefPtr<SVGPathSegCurvetoQuadraticSmoothRel> createSVGPathSegCurvetoQuadraticSmoothRel(float x, float y, SVGPathSegRole role = PathSegUndefinedRole);
</del><ins>+ RefPtr<SVGPathSegClosePath> createSVGPathSegClosePath(SVGPathSegRole = PathSegUndefinedRole);
+ RefPtr<SVGPathSegMovetoAbs> createSVGPathSegMovetoAbs(float x, float y, SVGPathSegRole = PathSegUndefinedRole);
+ RefPtr<SVGPathSegMovetoRel> createSVGPathSegMovetoRel(float x, float y, SVGPathSegRole = PathSegUndefinedRole);
+ RefPtr<SVGPathSegLinetoAbs> createSVGPathSegLinetoAbs(float x, float y, SVGPathSegRole = PathSegUndefinedRole);
+ RefPtr<SVGPathSegLinetoRel> createSVGPathSegLinetoRel(float x, float y, SVGPathSegRole = PathSegUndefinedRole);
+ RefPtr<SVGPathSegCurvetoCubicAbs> createSVGPathSegCurvetoCubicAbs(float x, float y, float x1, float y1, float x2, float y2, SVGPathSegRole = PathSegUndefinedRole);
+ RefPtr<SVGPathSegCurvetoCubicRel> createSVGPathSegCurvetoCubicRel(float x, float y, float x1, float y1, float x2, float y2, SVGPathSegRole = PathSegUndefinedRole);
+ RefPtr<SVGPathSegCurvetoQuadraticAbs> createSVGPathSegCurvetoQuadraticAbs(float x, float y, float x1, float y1, SVGPathSegRole = PathSegUndefinedRole);
+ RefPtr<SVGPathSegCurvetoQuadraticRel> createSVGPathSegCurvetoQuadraticRel(float x, float y, float x1, float y1, SVGPathSegRole = PathSegUndefinedRole);
+ RefPtr<SVGPathSegArcAbs> createSVGPathSegArcAbs(float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag, SVGPathSegRole = PathSegUndefinedRole);
+ RefPtr<SVGPathSegArcRel> createSVGPathSegArcRel(float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag, SVGPathSegRole = PathSegUndefinedRole);
+ RefPtr<SVGPathSegLinetoHorizontalAbs> createSVGPathSegLinetoHorizontalAbs(float x, SVGPathSegRole = PathSegUndefinedRole);
+ RefPtr<SVGPathSegLinetoHorizontalRel> createSVGPathSegLinetoHorizontalRel(float x, SVGPathSegRole = PathSegUndefinedRole);
+ RefPtr<SVGPathSegLinetoVerticalAbs> createSVGPathSegLinetoVerticalAbs(float y, SVGPathSegRole = PathSegUndefinedRole);
+ RefPtr<SVGPathSegLinetoVerticalRel> createSVGPathSegLinetoVerticalRel(float y, SVGPathSegRole = PathSegUndefinedRole);
+ RefPtr<SVGPathSegCurvetoCubicSmoothAbs> createSVGPathSegCurvetoCubicSmoothAbs(float x, float y, float x2, float y2, SVGPathSegRole = PathSegUndefinedRole);
+ RefPtr<SVGPathSegCurvetoCubicSmoothRel> createSVGPathSegCurvetoCubicSmoothRel(float x, float y, float x2, float y2, SVGPathSegRole = PathSegUndefinedRole);
+ RefPtr<SVGPathSegCurvetoQuadraticSmoothAbs> createSVGPathSegCurvetoQuadraticSmoothAbs(float x, float y, SVGPathSegRole = PathSegUndefinedRole);
+ RefPtr<SVGPathSegCurvetoQuadraticSmoothRel> createSVGPathSegCurvetoQuadraticSmoothRel(float x, float y, SVGPathSegRole = PathSegUndefinedRole);
</ins><span class="cx">
</span><span class="cx"> // Used in the bindings only.
</span><span class="cx"> SVGPathSegListPropertyTearOff* pathSegList();
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGScriptElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGScriptElement.cpp (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGScriptElement.cpp        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/svg/SVGScriptElement.cpp        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -192,7 +192,7 @@
</span><span class="cx"> return hasAttribute(XLinkNames::hrefAttr);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<Element> SVGScriptElement::cloneElementWithoutAttributesAndChildren()
</del><ins>+RefPtr<Element> SVGScriptElement::cloneElementWithoutAttributesAndChildren()
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new SVGScriptElement(tagQName(), document(), false, alreadyStarted()));
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGScriptElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGScriptElement.h (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGScriptElement.h        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebCore/svg/SVGScriptElement.h        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -65,7 +65,7 @@
</span><span class="cx">
</span><span class="cx"> virtual void dispatchLoadEvent() override { SVGExternalResourcesRequired::dispatchLoadEvent(this); }
</span><span class="cx">
</span><del>- virtual PassRefPtr<Element> cloneElementWithoutAttributesAndChildren() override;
</del><ins>+ virtual RefPtr<Element> cloneElementWithoutAttributesAndChildren() override;
</ins><span class="cx"> virtual bool rendererIsNeeded(const RenderStyle&) override { return false; }
</span><span class="cx">
</span><span class="cx"> // SVGExternalResourcesRequired
</span></span></pre></div>
<a id="trunkSourceWebKitWebKitvcxprojWebKitExportGeneratorWebKitExportsdefin"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/WebKit.vcxproj/WebKitExportGenerator/WebKitExports.def.in (176501 => 176502)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/WebKit.vcxproj/WebKitExportGenerator/WebKitExports.def.in        2014-11-22 07:50:44 UTC (rev 176501)
+++ trunk/Source/WebKit/WebKit.vcxproj/WebKitExportGenerator/WebKitExports.def.in        2014-11-22 09:12:01 UTC (rev 176502)
</span><span class="lines">@@ -177,7 +177,7 @@
</span><span class="cx"> symbolWithPointer(?createCFString@String@WTF@@QBE?AV?$RetainPtr@PBU__CFString@@@2@XZ, ?createCFString@String@WTF@@QEBA?AV?$RetainPtr@PEBU__CFString@@@2@XZ)
</span><span class="cx"> symbolWithPointer(?dictionary@CFDictionaryPropertyBag@@QBEPAU__CFDictionary@@XZ, ?dictionary@CFDictionaryPropertyBag@@QEBAPEAU__CFDictionary@@XZ)
</span><span class="cx"> #endif
</span><del>- symbolWithPointer(?createShadowRoot@Element@WebCore@@QAE?AV?$PassRefPtr@VShadowRoot@WebCore@@@WTF@@AAH@Z, ?createShadowRoot@Element@WebCore@@QEAA?AV?$PassRefPtr@VShadowRoot@WebCore@@@WTF@@AEAH@Z)
</del><ins>+ symbolWithPointer(?createShadowRoot@Element@WebCore@@QAE?AV?$RefPtr@VShadowRoot@WebCore@@@WTF@@AAH@Z, ?createShadowRoot@Element@WebCore@@QEAA?AV?$RefPtr@VShadowRoot@WebCore@@@WTF@@AEAH@Z)
</ins><span class="cx"> symbolWithPointer(?createWrapper@WebCore@@YA?AVJSValue@JSC@@PAVExecState@3@PAVJSDOMGlobalObject@1@PAVNode@1@@Z, ?createWrapper@WebCore@@YA?AVJSValue@JSC@@PEAVExecState@3@PEAVJSDOMGlobalObject@1@PEAVNode@1@@Z)
</span><span class="cx"> symbolWithPointer(?createWrapper@WebCore@@YA?AVJSValue@JSC@@AAVJSDOMGlobalObject@1@AAVNodeList@1@@Z, ?createWrapper@WebCore@@YA?AVJSValue@JSC@@AEAVJSDOMGlobalObject@1@AEAVNodeList@1@@Z)
</span><span class="cx"> symbolWithPointer(?deprecatedShadowAncestorNode@Node@WebCore@@QBEPAV12@XZ, ?deprecatedShadowAncestorNode@Node@WebCore@@QEBAPEAV12@XZ)
</span></span></pre>
</div>
</div>
</body>
</html>