<!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>[175583] trunk</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/175583">175583</a></dd>
<dt>Author</dt> <dd>cdumez@apple.com</dd>
<dt>Date</dt> <dd>2014-11-04 15:00:48 -0800 (Tue, 04 Nov 2014)</dd>
</dl>

<h3>Log Message</h3>
<pre>Add ptr() method to Ref class
https://bugs.webkit.org/show_bug.cgi?id=138361

Reviewed by Darin Adler.

Source/WebCore:

Use the new Ref::ptr() method.

No new tests, no behavior change.

* accessibility/AccessibilityMenuList.cpp:
(WebCore::AccessibilityMenuList::didUpdateActiveOption):
* bindings/js/JSHTMLAllCollectionCustom.cpp:
(WebCore::getNamedItems):
* bindings/js/JSHTMLFormControlsCollectionCustom.cpp:
(WebCore::getNamedItems):
* css/CSSStyleRule.h:
* css/CSSStyleSheet.cpp:
(WebCore::CSSStyleSheet::insertRule):
* css/CSSValueList.h:
(WebCore::CSSValueList::item):
(WebCore::CSSValueList::itemWithoutBoundsCheck):
* css/InspectorCSSOMWrappers.cpp:
(WebCore::InspectorCSSOMWrappers::collect):
* dom/ChildListMutationScope.cpp:
(WebCore::ChildListMutationAccumulator::~ChildListMutationAccumulator):
(WebCore::ChildListMutationAccumulator::childAdded):
* dom/ChildNodeList.cpp:
(WebCore::ChildNodeList::namedItem):
* dom/ContainerNode.cpp:
(WebCore::ContainerNode::removeChild):
* dom/CurrentScriptIncrementer.h:
(WebCore::CurrentScriptIncrementer::CurrentScriptIncrementer):
(WebCore::CurrentScriptIncrementer::~CurrentScriptIncrementer):
* dom/MutationRecord.cpp:
* dom/NodeRareData.h:
(WebCore::NodeListsNodeData::ensureChildNodeList):
(WebCore::NodeListsNodeData::ensureEmptyChildNodeList):
(WebCore::NodeListsNodeData::addCacheWithQualifiedName):
* dom/Range.cpp:
(WebCore::Range::setDocument):
* dom/ScriptElement.cpp:
(WebCore::ScriptElement::requestScript):
(WebCore::ScriptElement::executeScript):
* dom/StaticNodeList.cpp:
(WebCore::StaticNodeList::item):
(WebCore::StaticElementList::item):
* editing/CompositeEditCommand.cpp:
(WebCore::CompositeEditCommand::moveRemainingSiblingsToNewParent):
* editing/DictationCommand.cpp:
(WebCore::DictationCommand::insertText):
* editing/DictationCommand.h:
* editing/Editor.cpp:
(WebCore::Editor::insertTextWithoutSendingTextEvent):
* editing/ReplaceNodeWithSpanCommand.cpp:
(WebCore::swapInNodePreservingAttributesAndChildren):
* editing/SimplifyMarkupCommand.cpp:
(WebCore::SimplifyMarkupCommand::doApply):
* editing/markup.cpp:
(WebCore::hasOneChild):
(WebCore::hasOneTextChild):
(WebCore::replaceChildrenWithFragment):
(WebCore::replaceChildrenWithText):
* html/HTMLFormControlElement.cpp:
(WebCore::HTMLFormControlElement::checkValidity):
* html/HTMLFormElement.cpp:
(WebCore::HTMLFormElement::getNamedElements):
* html/HTMLLinkElement.cpp:
(WebCore::HTMLLinkElement::shouldLoadLink):
* inspector/InspectorStyleSheet.cpp:
(WebCore::InspectorStyleSheet::buildObjectForSelectorList):
(WebCore::InspectorStyleSheet::buildObjectForRule):
(WebCore::InspectorStyleSheet::revalidateStyle):
* loader/FrameLoader.cpp:
(WebCore::FrameLoader::continueLoadAfterNewWindowPolicy):
* page/FocusController.cpp:
(WebCore::FocusController::setFocusedElement):
* page/PageSerializer.cpp:
(WebCore::PageSerializer::retrieveResourcesForRule):
* page/PageSerializer.h:
* page/animation/AnimationController.cpp:
(WebCore::AnimationController::updateAnimations):
* platform/graphics/ca/TileCoverageMap.cpp:
(WebCore::TileCoverageMap::platformCALayerPaintContents):
* rendering/ClipPathOperation.h:
* rendering/RenderBlock.cpp:
(WebCore::styleForFirstLetter):
(WebCore::RenderBlock::updateFirstLetterStyle):
(WebCore::RenderBlock::createFirstLetterRenderer):
* rendering/RenderBlockFlow.cpp:
(WebCore::RenderBlockFlow::updateColumnProgressionFromStyle):
* rendering/RenderBlockFlow.h:
* rendering/RenderBox.cpp:
(WebCore::RenderBox::styleDidChange):
* rendering/RenderElement.cpp:
(WebCore::RenderElement::setStyle):
(WebCore::RenderElement::styleDidChange):
* rendering/RenderNamedFlowFragment.cpp:
(WebCore::RenderNamedFlowFragment::restoreRegionObjectsOriginalStyle):
* rendering/RenderTextControl.cpp:
(WebCore::RenderTextControl::adjustInnerTextStyle):
* rendering/RenderTextControl.h:
* rendering/RenderTextControlMultiLine.cpp:
(WebCore::RenderTextControlMultiLine::createInnerTextStyle):
* rendering/RenderTextControlSingleLine.cpp:
(WebCore::RenderTextControlSingleLine::createInnerTextStyle):
* rendering/style/DataRef.h:
(WebCore::DataRef::get):
(WebCore::DataRef::access):
(WebCore::DataRef::operator==):
(WebCore::DataRef::operator!=):
* rendering/style/RenderStyle.cpp:
(WebCore::RenderStyle::changeRequiresLayout):
(WebCore::RenderStyle::changeRequiresPositionedLayoutOnly):
(WebCore::RenderStyle::changeRequiresLayerRepaint):
(WebCore::RenderStyle::changeRequiresRepaint):
(WebCore::RenderStyle::changeRequiresRepaintIfTextOrBorderOrOutline):
(WebCore::RenderStyle::changeRequiresRecompositeLayer):
(WebCore::RenderStyle::diff):
(WebCore::RenderStyle::diffRequiresLayerRepaint):
* rendering/style/RenderStyle.h:
* rendering/style/StyleGeneratedImage.cpp:
(WebCore::StyleGeneratedImage::cssValue):
* rendering/style/StyleGeneratedImage.h:
* style/StyleResolveForDocument.cpp:
(WebCore::Style::resolveForDocument):
* style/StyleResolveTree.cpp:
(WebCore::Style::determineChange):
(WebCore::Style::resolveLocal):
(WebCore::Style::resolveTree):
* style/StyleResolveTree.h:

Source/WebKit/mac:

Use the new Ref::ptr() method.

* WebView/WebFrame.mm:
(-[WebFrame _setTypingStyle:withUndoAction:]):
* WebView/WebHTMLView.mm:
(-[WebHTMLView _applyStyleToSelection:withUndoAction:]):
(-[WebHTMLView _changeCSSColorUsingSelector:inRange:]):
* WebView/WebView.mm:
(-[WebView applyStyle:]):

Source/WebKit2:

Use the new Ref::ptr() method.

* UIProcess/WebContext.cpp:
(WebKit::WebContext::createWebPage):
* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::setPreferences):
* UIProcess/WebProcessProxy.cpp:
(WebKit::WebProcessProxy::didNavigateWithNavigationData):
(WebKit::WebProcessProxy::didPerformClientRedirect):
(WebKit::WebProcessProxy::didPerformServerRedirect):
(WebKit::WebProcessProxy::didUpdateHistoryTitle):

Source/WTF:

It is a very common pattern in our code base to get a pointer from a
Ref object. Previously, we have to call Ref.get() and take its address
which is not very nice. This patch adds a ptr() method to Ref class
to simplify the code a bit.

* wtf/PassRef.h:
(WTF::PassRef&lt;T&gt;::ptr):
* wtf/Ref.h:
(WTF::Ref::ptr):
(WTF::GetPtrHelper&lt;Ref&lt;T&gt;&gt;::getPtr):

Tools:

Use the new Ref::ptr() method.

* TestWebKitAPI/Tests/WTF/Ref.cpp:
(TestWebKitAPI::TEST):</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWTFChangeLog">trunk/Source/WTF/ChangeLog</a></li>
<li><a href="#trunkSourceWTFwtfPassRefh">trunk/Source/WTF/wtf/PassRef.h</a></li>
<li><a href="#trunkSourceWTFwtfRefh">trunk/Source/WTF/wtf/Ref.h</a></li>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCoreaccessibilityAccessibilityMenuListcpp">trunk/Source/WebCore/accessibility/AccessibilityMenuList.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsjsJSHTMLAllCollectionCustomcpp">trunk/Source/WebCore/bindings/js/JSHTMLAllCollectionCustom.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsjsJSHTMLFormControlsCollectionCustomcpp">trunk/Source/WebCore/bindings/js/JSHTMLFormControlsCollectionCustom.cpp</a></li>
<li><a href="#trunkSourceWebCorecssCSSStyleRuleh">trunk/Source/WebCore/css/CSSStyleRule.h</a></li>
<li><a href="#trunkSourceWebCorecssCSSStyleSheetcpp">trunk/Source/WebCore/css/CSSStyleSheet.cpp</a></li>
<li><a href="#trunkSourceWebCorecssCSSValueListh">trunk/Source/WebCore/css/CSSValueList.h</a></li>
<li><a href="#trunkSourceWebCorecssInspectorCSSOMWrapperscpp">trunk/Source/WebCore/css/InspectorCSSOMWrappers.cpp</a></li>
<li><a href="#trunkSourceWebCoredomChildListMutationScopecpp">trunk/Source/WebCore/dom/ChildListMutationScope.cpp</a></li>
<li><a href="#trunkSourceWebCoredomChildNodeListcpp">trunk/Source/WebCore/dom/ChildNodeList.cpp</a></li>
<li><a href="#trunkSourceWebCoredomContainerNodecpp">trunk/Source/WebCore/dom/ContainerNode.cpp</a></li>
<li><a href="#trunkSourceWebCoredomCurrentScriptIncrementerh">trunk/Source/WebCore/dom/CurrentScriptIncrementer.h</a></li>
<li><a href="#trunkSourceWebCoredomMutationRecordcpp">trunk/Source/WebCore/dom/MutationRecord.cpp</a></li>
<li><a href="#trunkSourceWebCoredomNodeRareDatah">trunk/Source/WebCore/dom/NodeRareData.h</a></li>
<li><a href="#trunkSourceWebCoredomRangecpp">trunk/Source/WebCore/dom/Range.cpp</a></li>
<li><a href="#trunkSourceWebCoredomScriptElementcpp">trunk/Source/WebCore/dom/ScriptElement.cpp</a></li>
<li><a href="#trunkSourceWebCoredomStaticNodeListcpp">trunk/Source/WebCore/dom/StaticNodeList.cpp</a></li>
<li><a href="#trunkSourceWebCoreeditingCompositeEditCommandcpp">trunk/Source/WebCore/editing/CompositeEditCommand.cpp</a></li>
<li><a href="#trunkSourceWebCoreeditingDictationCommandcpp">trunk/Source/WebCore/editing/DictationCommand.cpp</a></li>
<li><a href="#trunkSourceWebCoreeditingDictationCommandh">trunk/Source/WebCore/editing/DictationCommand.h</a></li>
<li><a href="#trunkSourceWebCoreeditingEditorcpp">trunk/Source/WebCore/editing/Editor.cpp</a></li>
<li><a href="#trunkSourceWebCoreeditingReplaceNodeWithSpanCommandcpp">trunk/Source/WebCore/editing/ReplaceNodeWithSpanCommand.cpp</a></li>
<li><a href="#trunkSourceWebCoreeditingSimplifyMarkupCommandcpp">trunk/Source/WebCore/editing/SimplifyMarkupCommand.cpp</a></li>
<li><a href="#trunkSourceWebCoreeditingmarkupcpp">trunk/Source/WebCore/editing/markup.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLFormControlElementcpp">trunk/Source/WebCore/html/HTMLFormControlElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLFormElementcpp">trunk/Source/WebCore/html/HTMLFormElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLLinkElementcpp">trunk/Source/WebCore/html/HTMLLinkElement.cpp</a></li>
<li><a href="#trunkSourceWebCoreinspectorInspectorStyleSheetcpp">trunk/Source/WebCore/inspector/InspectorStyleSheet.cpp</a></li>
<li><a href="#trunkSourceWebCoreloaderFrameLoadercpp">trunk/Source/WebCore/loader/FrameLoader.cpp</a></li>
<li><a href="#trunkSourceWebCorepageFocusControllercpp">trunk/Source/WebCore/page/FocusController.cpp</a></li>
<li><a href="#trunkSourceWebCorepagePageSerializercpp">trunk/Source/WebCore/page/PageSerializer.cpp</a></li>
<li><a href="#trunkSourceWebCorepagePageSerializerh">trunk/Source/WebCore/page/PageSerializer.h</a></li>
<li><a href="#trunkSourceWebCorepageanimationAnimationControllercpp">trunk/Source/WebCore/page/animation/AnimationController.cpp</a></li>
<li><a href="#trunkSourceWebCoreplatformgraphicscaTileCoverageMapcpp">trunk/Source/WebCore/platform/graphics/ca/TileCoverageMap.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingClipPathOperationh">trunk/Source/WebCore/rendering/ClipPathOperation.h</a></li>
<li><a href="#trunkSourceWebCorerenderingRenderBlockcpp">trunk/Source/WebCore/rendering/RenderBlock.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingRenderBlockFlowcpp">trunk/Source/WebCore/rendering/RenderBlockFlow.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingRenderBlockFlowh">trunk/Source/WebCore/rendering/RenderBlockFlow.h</a></li>
<li><a href="#trunkSourceWebCorerenderingRenderBoxcpp">trunk/Source/WebCore/rendering/RenderBox.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingRenderElementcpp">trunk/Source/WebCore/rendering/RenderElement.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingRenderNamedFlowFragmentcpp">trunk/Source/WebCore/rendering/RenderNamedFlowFragment.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingRenderTextControlcpp">trunk/Source/WebCore/rendering/RenderTextControl.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingRenderTextControlh">trunk/Source/WebCore/rendering/RenderTextControl.h</a></li>
<li><a href="#trunkSourceWebCorerenderingRenderTextControlMultiLinecpp">trunk/Source/WebCore/rendering/RenderTextControlMultiLine.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingRenderTextControlSingleLinecpp">trunk/Source/WebCore/rendering/RenderTextControlSingleLine.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingstyleDataRefh">trunk/Source/WebCore/rendering/style/DataRef.h</a></li>
<li><a href="#trunkSourceWebCorerenderingstyleRenderStylecpp">trunk/Source/WebCore/rendering/style/RenderStyle.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingstyleRenderStyleh">trunk/Source/WebCore/rendering/style/RenderStyle.h</a></li>
<li><a href="#trunkSourceWebCorerenderingstyleStyleGeneratedImagecpp">trunk/Source/WebCore/rendering/style/StyleGeneratedImage.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingstyleStyleGeneratedImageh">trunk/Source/WebCore/rendering/style/StyleGeneratedImage.h</a></li>
<li><a href="#trunkSourceWebCorestyleStyleResolveForDocumentcpp">trunk/Source/WebCore/style/StyleResolveForDocument.cpp</a></li>
<li><a href="#trunkSourceWebCorestyleStyleResolveTreecpp">trunk/Source/WebCore/style/StyleResolveTree.cpp</a></li>
<li><a href="#trunkSourceWebCorestyleStyleResolveTreeh">trunk/Source/WebCore/style/StyleResolveTree.h</a></li>
<li><a href="#trunkSourceWebKitmacChangeLog">trunk/Source/WebKit/mac/ChangeLog</a></li>
<li><a href="#trunkSourceWebKitmacWebViewWebFramemm">trunk/Source/WebKit/mac/WebView/WebFrame.mm</a></li>
<li><a href="#trunkSourceWebKitmacWebViewWebHTMLViewmm">trunk/Source/WebKit/mac/WebView/WebHTMLView.mm</a></li>
<li><a href="#trunkSourceWebKitmacWebViewWebViewmm">trunk/Source/WebKit/mac/WebView/WebView.mm</a></li>
<li><a href="#trunkSourceWebKit2ChangeLog">trunk/Source/WebKit2/ChangeLog</a></li>
<li><a href="#trunkSourceWebKit2UIProcessWebContextcpp">trunk/Source/WebKit2/UIProcess/WebContext.cpp</a></li>
<li><a href="#trunkSourceWebKit2UIProcessWebPageProxycpp">trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp</a></li>
<li><a href="#trunkSourceWebKit2UIProcessWebProcessProxycpp">trunk/Source/WebKit2/UIProcess/WebProcessProxy.cpp</a></li>
<li><a href="#trunkToolsChangeLog">trunk/Tools/ChangeLog</a></li>
<li><a href="#trunkToolsTestWebKitAPITestsWTFRefcpp">trunk/Tools/TestWebKitAPI/Tests/WTF/Ref.cpp</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWTFChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WTF/ChangeLog (175582 => 175583)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WTF/ChangeLog        2014-11-04 22:38:56 UTC (rev 175582)
+++ trunk/Source/WTF/ChangeLog        2014-11-04 23:00:48 UTC (rev 175583)
</span><span class="lines">@@ -1,3 +1,21 @@
</span><ins>+2014-11-04  Chris Dumez  &lt;cdumez@apple.com&gt;
+
+        Add ptr() method to Ref class
+        https://bugs.webkit.org/show_bug.cgi?id=138361
+
+        Reviewed by Darin Adler.
+
+        It is a very common pattern in our code base to get a pointer from a
+        Ref object. Previously, we have to call Ref.get() and take its address
+        which is not very nice. This patch adds a ptr() method to Ref class
+        to simplify the code a bit.
+
+        * wtf/PassRef.h:
+        (WTF::PassRef&lt;T&gt;::ptr):
+        * wtf/Ref.h:
+        (WTF::Ref::ptr):
+        (WTF::GetPtrHelper&lt;Ref&lt;T&gt;&gt;::getPtr):
+
</ins><span class="cx"> 2014-11-04  Dániel Bátyai  &lt;dbatyai.u-szeged@partner.samsung.com&gt;
</span><span class="cx"> 
</span><span class="cx">         ATTR_USED incorrectly applying to Clang
</span></span></pre></div>
<a id="trunkSourceWTFwtfPassRefh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WTF/wtf/PassRef.h (175582 => 175583)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WTF/wtf/PassRef.h        2014-11-04 22:38:56 UTC (rev 175582)
+++ trunk/Source/WTF/wtf/PassRef.h        2014-11-04 23:00:48 UTC (rev 175583)
</span><span class="lines">@@ -45,6 +45,9 @@
</span><span class="cx">     const T&amp; get() const;
</span><span class="cx">     T&amp; get();
</span><span class="cx"> 
</span><ins>+    const T* ptr() const;
+    T* ptr();
+
</ins><span class="cx">     void dropRef();
</span><span class="cx">     T&amp; leakRef() WARN_UNUSED_RETURN;
</span><span class="cx"> 
</span><span class="lines">@@ -125,6 +128,18 @@
</span><span class="cx">     return m_reference;
</span><span class="cx"> }
</span><span class="cx"> 
</span><ins>+template&lt;typename T&gt; const T* PassRef&lt;T&gt;::ptr() const
+{
+    ASSERT(!m_gaveUpReference);
+    return &amp;m_reference;
+}
+
+template&lt;typename T&gt; T* PassRef&lt;T&gt;::ptr()
+{
+    ASSERT(!m_gaveUpReference);
+    return &amp;m_reference;
+}
+
</ins><span class="cx"> template&lt;typename T&gt; inline T&amp; PassRef&lt;T&gt;::leakRef()
</span><span class="cx"> {
</span><span class="cx"> #ifndef NDEBUG
</span></span></pre></div>
<a id="trunkSourceWTFwtfRefh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WTF/wtf/Ref.h (175582 => 175583)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WTF/wtf/Ref.h        2014-11-04 22:38:56 UTC (rev 175582)
+++ trunk/Source/WTF/wtf/Ref.h        2014-11-04 23:00:48 UTC (rev 175583)
</span><span class="lines">@@ -58,6 +58,9 @@
</span><span class="cx">     const T* operator-&gt;() const { return m_ptr; }
</span><span class="cx">     T* operator-&gt;() { return m_ptr; }
</span><span class="cx"> 
</span><ins>+    const T* ptr() const { return m_ptr; }
+    T* ptr() { return m_ptr; }
+
</ins><span class="cx">     const T&amp; get() const { return *m_ptr; }
</span><span class="cx">     T&amp; get() { return *m_ptr; }
</span><span class="cx"> 
</span><span class="lines">@@ -80,7 +83,7 @@
</span><span class="cx"> template &lt;typename T&gt;
</span><span class="cx"> struct GetPtrHelper&lt;Ref&lt;T&gt;&gt; {
</span><span class="cx">     typedef T* PtrType;
</span><del>-    static T* getPtr(const Ref&lt;T&gt;&amp; p) { return const_cast&lt;T*&gt;(&amp;p.get()); }
</del><ins>+    static T* getPtr(const Ref&lt;T&gt;&amp; p) { return const_cast&lt;T*&gt;(p.ptr()); }
</ins><span class="cx"> };
</span><span class="cx"> 
</span><span class="cx"> } // namespace WTF
</span></span></pre></div>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (175582 => 175583)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2014-11-04 22:38:56 UTC (rev 175582)
+++ trunk/Source/WebCore/ChangeLog        2014-11-04 23:00:48 UTC (rev 175583)
</span><span class="lines">@@ -1,5 +1,138 @@
</span><span class="cx"> 2014-11-04  Chris Dumez  &lt;cdumez@apple.com&gt;
</span><span class="cx"> 
</span><ins>+        Add ptr() method to Ref class
+        https://bugs.webkit.org/show_bug.cgi?id=138361
+
+        Reviewed by Darin Adler.
+
+        Use the new Ref::ptr() method.
+
+        No new tests, no behavior change.
+
+        * accessibility/AccessibilityMenuList.cpp:
+        (WebCore::AccessibilityMenuList::didUpdateActiveOption):
+        * bindings/js/JSHTMLAllCollectionCustom.cpp:
+        (WebCore::getNamedItems):
+        * bindings/js/JSHTMLFormControlsCollectionCustom.cpp:
+        (WebCore::getNamedItems):
+        * css/CSSStyleRule.h:
+        * css/CSSStyleSheet.cpp:
+        (WebCore::CSSStyleSheet::insertRule):
+        * css/CSSValueList.h:
+        (WebCore::CSSValueList::item):
+        (WebCore::CSSValueList::itemWithoutBoundsCheck):
+        * css/InspectorCSSOMWrappers.cpp:
+        (WebCore::InspectorCSSOMWrappers::collect):
+        * dom/ChildListMutationScope.cpp:
+        (WebCore::ChildListMutationAccumulator::~ChildListMutationAccumulator):
+        (WebCore::ChildListMutationAccumulator::childAdded):
+        * dom/ChildNodeList.cpp:
+        (WebCore::ChildNodeList::namedItem):
+        * dom/ContainerNode.cpp:
+        (WebCore::ContainerNode::removeChild):
+        * dom/CurrentScriptIncrementer.h:
+        (WebCore::CurrentScriptIncrementer::CurrentScriptIncrementer):
+        (WebCore::CurrentScriptIncrementer::~CurrentScriptIncrementer):
+        * dom/MutationRecord.cpp:
+        * dom/NodeRareData.h:
+        (WebCore::NodeListsNodeData::ensureChildNodeList):
+        (WebCore::NodeListsNodeData::ensureEmptyChildNodeList):
+        (WebCore::NodeListsNodeData::addCacheWithQualifiedName):
+        * dom/Range.cpp:
+        (WebCore::Range::setDocument):
+        * dom/ScriptElement.cpp:
+        (WebCore::ScriptElement::requestScript):
+        (WebCore::ScriptElement::executeScript):
+        * dom/StaticNodeList.cpp:
+        (WebCore::StaticNodeList::item):
+        (WebCore::StaticElementList::item):
+        * editing/CompositeEditCommand.cpp:
+        (WebCore::CompositeEditCommand::moveRemainingSiblingsToNewParent):
+        * editing/DictationCommand.cpp:
+        (WebCore::DictationCommand::insertText):
+        * editing/DictationCommand.h:
+        * editing/Editor.cpp:
+        (WebCore::Editor::insertTextWithoutSendingTextEvent):
+        * editing/ReplaceNodeWithSpanCommand.cpp:
+        (WebCore::swapInNodePreservingAttributesAndChildren):
+        * editing/SimplifyMarkupCommand.cpp:
+        (WebCore::SimplifyMarkupCommand::doApply):
+        * editing/markup.cpp:
+        (WebCore::hasOneChild):
+        (WebCore::hasOneTextChild):
+        (WebCore::replaceChildrenWithFragment):
+        (WebCore::replaceChildrenWithText):
+        * html/HTMLFormControlElement.cpp:
+        (WebCore::HTMLFormControlElement::checkValidity):
+        * html/HTMLFormElement.cpp:
+        (WebCore::HTMLFormElement::getNamedElements):
+        * html/HTMLLinkElement.cpp:
+        (WebCore::HTMLLinkElement::shouldLoadLink):
+        * inspector/InspectorStyleSheet.cpp:
+        (WebCore::InspectorStyleSheet::buildObjectForSelectorList):
+        (WebCore::InspectorStyleSheet::buildObjectForRule):
+        (WebCore::InspectorStyleSheet::revalidateStyle):
+        * loader/FrameLoader.cpp:
+        (WebCore::FrameLoader::continueLoadAfterNewWindowPolicy):
+        * page/FocusController.cpp:
+        (WebCore::FocusController::setFocusedElement):
+        * page/PageSerializer.cpp:
+        (WebCore::PageSerializer::retrieveResourcesForRule):
+        * page/PageSerializer.h:
+        * page/animation/AnimationController.cpp:
+        (WebCore::AnimationController::updateAnimations):
+        * platform/graphics/ca/TileCoverageMap.cpp:
+        (WebCore::TileCoverageMap::platformCALayerPaintContents):
+        * rendering/ClipPathOperation.h:
+        * rendering/RenderBlock.cpp:
+        (WebCore::styleForFirstLetter):
+        (WebCore::RenderBlock::updateFirstLetterStyle):
+        (WebCore::RenderBlock::createFirstLetterRenderer):
+        * rendering/RenderBlockFlow.cpp:
+        (WebCore::RenderBlockFlow::updateColumnProgressionFromStyle):
+        * rendering/RenderBlockFlow.h:
+        * rendering/RenderBox.cpp:
+        (WebCore::RenderBox::styleDidChange):
+        * rendering/RenderElement.cpp:
+        (WebCore::RenderElement::setStyle):
+        (WebCore::RenderElement::styleDidChange):
+        * rendering/RenderNamedFlowFragment.cpp:
+        (WebCore::RenderNamedFlowFragment::restoreRegionObjectsOriginalStyle):
+        * rendering/RenderTextControl.cpp:
+        (WebCore::RenderTextControl::adjustInnerTextStyle):
+        * rendering/RenderTextControl.h:
+        * rendering/RenderTextControlMultiLine.cpp:
+        (WebCore::RenderTextControlMultiLine::createInnerTextStyle):
+        * rendering/RenderTextControlSingleLine.cpp:
+        (WebCore::RenderTextControlSingleLine::createInnerTextStyle):
+        * rendering/style/DataRef.h:
+        (WebCore::DataRef::get):
+        (WebCore::DataRef::access):
+        (WebCore::DataRef::operator==):
+        (WebCore::DataRef::operator!=):
+        * rendering/style/RenderStyle.cpp:
+        (WebCore::RenderStyle::changeRequiresLayout):
+        (WebCore::RenderStyle::changeRequiresPositionedLayoutOnly):
+        (WebCore::RenderStyle::changeRequiresLayerRepaint):
+        (WebCore::RenderStyle::changeRequiresRepaint):
+        (WebCore::RenderStyle::changeRequiresRepaintIfTextOrBorderOrOutline):
+        (WebCore::RenderStyle::changeRequiresRecompositeLayer):
+        (WebCore::RenderStyle::diff):
+        (WebCore::RenderStyle::diffRequiresLayerRepaint):
+        * rendering/style/RenderStyle.h:
+        * rendering/style/StyleGeneratedImage.cpp:
+        (WebCore::StyleGeneratedImage::cssValue):
+        * rendering/style/StyleGeneratedImage.h:
+        * style/StyleResolveForDocument.cpp:
+        (WebCore::Style::resolveForDocument):
+        * style/StyleResolveTree.cpp:
+        (WebCore::Style::determineChange):
+        (WebCore::Style::resolveLocal):
+        (WebCore::Style::resolveTree):
+        * style/StyleResolveTree.h:
+
+2014-11-04  Chris Dumez  &lt;cdumez@apple.com&gt;
+
</ins><span class="cx">         Move -webkit-text-emphasis-position to the new StyleBuilder
</span><span class="cx">         https://bugs.webkit.org/show_bug.cgi?id=138359
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoreaccessibilityAccessibilityMenuListcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/accessibility/AccessibilityMenuList.cpp (175582 => 175583)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/accessibility/AccessibilityMenuList.cpp        2014-11-04 22:38:56 UTC (rev 175582)
+++ trunk/Source/WebCore/accessibility/AccessibilityMenuList.cpp        2014-11-04 23:00:48 UTC (rev 175583)
</span><span class="lines">@@ -125,7 +125,7 @@
</span><span class="cx">             downcast&lt;AccessibilityMenuListPopup&gt;(*childObjects[0]).didUpdateActiveOption(optionIndex);
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    cache-&gt;postNotification(this, &amp;document.get(), AXObjectCache::AXMenuListValueChanged, TargetElement, PostSynchronously);
</del><ins>+    cache-&gt;postNotification(this, document.ptr(), AXObjectCache::AXMenuListValueChanged, TargetElement, PostSynchronously);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> } // namespace WebCore
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsjsJSHTMLAllCollectionCustomcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/js/JSHTMLAllCollectionCustom.cpp (175582 => 175583)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/js/JSHTMLAllCollectionCustom.cpp        2014-11-04 22:38:56 UTC (rev 175582)
+++ trunk/Source/WebCore/bindings/js/JSHTMLAllCollectionCustom.cpp        2014-11-04 23:00:48 UTC (rev 175583)
</span><span class="lines">@@ -49,7 +49,7 @@
</span><span class="cx">     if (namedItems.isEmpty())
</span><span class="cx">         return jsUndefined();
</span><span class="cx">     if (namedItems.size() == 1)
</span><del>-        return toJS(exec, collection-&gt;globalObject(), &amp;namedItems[0].get());
</del><ins>+        return toJS(exec, collection-&gt;globalObject(), namedItems[0].ptr());
</ins><span class="cx"> 
</span><span class="cx">     // FIXME: HTML5 specification says this should be a HTMLCollection.
</span><span class="cx">     // http://www.whatwg.org/specs/web-apps/current-work/multipage/common-dom-interfaces.html#htmlallcollection
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsjsJSHTMLFormControlsCollectionCustomcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/js/JSHTMLFormControlsCollectionCustom.cpp (175582 => 175583)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/js/JSHTMLFormControlsCollectionCustom.cpp        2014-11-04 22:38:56 UTC (rev 175582)
+++ trunk/Source/WebCore/bindings/js/JSHTMLFormControlsCollectionCustom.cpp        2014-11-04 23:00:48 UTC (rev 175583)
</span><span class="lines">@@ -47,7 +47,7 @@
</span><span class="cx">     if (namedItems.isEmpty())
</span><span class="cx">         return jsUndefined();
</span><span class="cx">     if (namedItems.size() == 1)
</span><del>-        return toJS(exec, collection-&gt;globalObject(), &amp;namedItems[0].get());
</del><ins>+        return toJS(exec, collection-&gt;globalObject(), namedItems[0].ptr());
</ins><span class="cx"> 
</span><span class="cx">     ASSERT(collection-&gt;impl().type() == FormControls);
</span><span class="cx">     return toJS(exec, collection-&gt;globalObject(), collection-&gt;impl().ownerNode().radioNodeList(name).get());
</span></span></pre></div>
<a id="trunkSourceWebCorecssCSSStyleRuleh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/CSSStyleRule.h (175582 => 175583)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/CSSStyleRule.h        2014-11-04 22:38:56 UTC (rev 175582)
+++ trunk/Source/WebCore/css/CSSStyleRule.h        2014-11-04 23:00:48 UTC (rev 175583)
</span><span class="lines">@@ -45,7 +45,7 @@
</span><span class="cx">     CSSStyleDeclaration&amp; style();
</span><span class="cx"> 
</span><span class="cx">     // FIXME: Not CSSOM. Remove.
</span><del>-    StyleRule* styleRule() const { return &amp;const_cast&lt;StyleRule&amp;&gt;(m_styleRule.get()); }
</del><ins>+    StyleRule&amp; styleRule() const { return const_cast&lt;StyleRule&amp;&gt;(m_styleRule.get()); }
</ins><span class="cx"> 
</span><span class="cx"> private:
</span><span class="cx">     CSSStyleRule(StyleRule&amp;, CSSStyleSheet*);
</span></span></pre></div>
<a id="trunkSourceWebCorecssCSSStyleSheetcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/CSSStyleSheet.cpp (175582 => 175583)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/CSSStyleSheet.cpp        2014-11-04 22:38:56 UTC (rev 175582)
+++ trunk/Source/WebCore/css/CSSStyleSheet.cpp        2014-11-04 23:00:48 UTC (rev 175583)
</span><span class="lines">@@ -293,7 +293,7 @@
</span><span class="cx">         return 0;
</span><span class="cx">     }
</span><span class="cx">     CSSParser p(m_contents.get().parserContext());
</span><del>-    RefPtr&lt;StyleRuleBase&gt; rule = p.parseRule(&amp;m_contents.get(), ruleString);
</del><ins>+    RefPtr&lt;StyleRuleBase&gt; rule = p.parseRule(m_contents.ptr(), ruleString);
</ins><span class="cx"> 
</span><span class="cx">     if (!rule) {
</span><span class="cx">         ec = SYNTAX_ERR;
</span></span></pre></div>
<a id="trunkSourceWebCorecssCSSValueListh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/CSSValueList.h (175582 => 175583)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/CSSValueList.h        2014-11-04 22:38:56 UTC (rev 175582)
+++ trunk/Source/WebCore/css/CSSValueList.h        2014-11-04 23:00:48 UTC (rev 175583)
</span><span class="lines">@@ -52,10 +52,10 @@
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     size_t length() const { return m_values.size(); }
</span><del>-    CSSValue* item(size_t index) { return index &lt; m_values.size() ? &amp;m_values[index].get() : nullptr; }
-    const CSSValue* item(size_t index) const { return index &lt; m_values.size() ? &amp;m_values[index].get() : nullptr; }
-    CSSValue* itemWithoutBoundsCheck(size_t index) { return &amp;m_values[index].get(); }
-    const CSSValue* itemWithoutBoundsCheck(size_t index) const { ASSERT(index &lt; m_values.size()); return &amp;m_values[index].get(); }
</del><ins>+    CSSValue* item(size_t index) { return index &lt; m_values.size() ? m_values[index].ptr() : nullptr; }
+    const CSSValue* item(size_t index) const { return index &lt; m_values.size() ? m_values[index].ptr() : nullptr; }
+    CSSValue* itemWithoutBoundsCheck(size_t index) { return m_values[index].ptr(); }
+    const CSSValue* itemWithoutBoundsCheck(size_t index) const { ASSERT(index &lt; m_values.size()); return m_values[index].ptr(); }
</ins><span class="cx"> 
</span><span class="cx">     const_iterator begin() const { return m_values.begin(); }
</span><span class="cx">     const_iterator end() const { return m_values.end(); }
</span></span></pre></div>
<a id="trunkSourceWebCorecssInspectorCSSOMWrapperscpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/InspectorCSSOMWrappers.cpp (175582 => 175583)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/InspectorCSSOMWrappers.cpp        2014-11-04 22:38:56 UTC (rev 175582)
+++ trunk/Source/WebCore/css/InspectorCSSOMWrappers.cpp        2014-11-04 23:00:48 UTC (rev 175583)
</span><span class="lines">@@ -72,7 +72,7 @@
</span><span class="cx">             break;
</span><span class="cx"> #endif
</span><span class="cx">         case CSSRule::STYLE_RULE:
</span><del>-            m_styleRuleToCSSOMWrapperMap.add(downcast&lt;CSSStyleRule&gt;(*cssRule).styleRule(), downcast&lt;CSSStyleRule&gt;(cssRule));
</del><ins>+            m_styleRuleToCSSOMWrapperMap.add(&amp;downcast&lt;CSSStyleRule&gt;(*cssRule).styleRule(), downcast&lt;CSSStyleRule&gt;(cssRule));
</ins><span class="cx">             break;
</span><span class="cx">         default:
</span><span class="cx">             break;
</span></span></pre></div>
<a id="trunkSourceWebCoredomChildListMutationScopecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/ChildListMutationScope.cpp (175582 => 175583)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/ChildListMutationScope.cpp        2014-11-04 22:38:56 UTC (rev 175582)
+++ trunk/Source/WebCore/dom/ChildListMutationScope.cpp        2014-11-04 23:00:48 UTC (rev 175583)
</span><span class="lines">@@ -58,7 +58,7 @@
</span><span class="cx"> {
</span><span class="cx">     if (!isEmpty())
</span><span class="cx">         enqueueMutationRecord();
</span><del>-    accumulatorMap().remove(&amp;m_target.get());
</del><ins>+    accumulatorMap().remove(m_target.ptr());
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> PassRefPtr&lt;ChildListMutationAccumulator&gt; ChildListMutationAccumulator::getOrCreate(ContainerNode&amp; target)
</span><span class="lines">@@ -93,7 +93,7 @@
</span><span class="cx">         m_nextSibling = child-&gt;nextSibling();
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    m_lastAdded = &amp;child.get();
</del><ins>+    m_lastAdded = child.ptr();
</ins><span class="cx">     m_addedNodes.append(child.get());
</span><span class="cx"> }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoredomChildNodeListcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/ChildNodeList.cpp (175582 => 175583)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/ChildNodeList.cpp        2014-11-04 22:38:56 UTC (rev 175582)
+++ trunk/Source/WebCore/dom/ChildNodeList.cpp        2014-11-04 23:00:48 UTC (rev 175583)
</span><span class="lines">@@ -86,7 +86,7 @@
</span><span class="cx">     // FIXME: According to the spec child node list should not have namedItem().
</span><span class="cx">     if (m_parent.get().inDocument()) {
</span><span class="cx">         Element* element = m_parent.get().treeScope().getElementById(name);
</span><del>-        if (element &amp;&amp; element-&gt;parentNode() == &amp;m_parent.get())
</del><ins>+        if (element &amp;&amp; element-&gt;parentNode() == m_parent.ptr())
</ins><span class="cx">             return element;
</span><span class="cx">         if (!element || !m_parent.get().treeScope().containsMultipleElementsWithId(name))
</span><span class="cx">             return nullptr;
</span></span></pre></div>
<a id="trunkSourceWebCoredomContainerNodecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/ContainerNode.cpp (175582 => 175583)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/ContainerNode.cpp        2014-11-04 22:38:56 UTC (rev 175582)
+++ trunk/Source/WebCore/dom/ContainerNode.cpp        2014-11-04 23:00:48 UTC (rev 175583)
</span><span class="lines">@@ -534,7 +534,7 @@
</span><span class="cx"> 
</span><span class="cx">     Ref&lt;Node&gt; child(*oldChild);
</span><span class="cx"> 
</span><del>-    document().removeFocusedNodeOfSubtree(&amp;child.get());
</del><ins>+    document().removeFocusedNodeOfSubtree(child.ptr());
</ins><span class="cx"> 
</span><span class="cx"> #if ENABLE(FULLSCREEN_API)
</span><span class="cx">     document().removeFullScreenElementOfSubtree(&amp;child.get());
</span></span></pre></div>
<a id="trunkSourceWebCoredomCurrentScriptIncrementerh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/CurrentScriptIncrementer.h (175582 => 175583)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/CurrentScriptIncrementer.h        2014-11-04 22:38:56 UTC (rev 175582)
+++ trunk/Source/WebCore/dom/CurrentScriptIncrementer.h        2014-11-04 23:00:48 UTC (rev 175583)
</span><span class="lines">@@ -37,22 +37,22 @@
</span><span class="cx"> class CurrentScriptIncrementer {
</span><span class="cx">     WTF_MAKE_NONCOPYABLE(CurrentScriptIncrementer);
</span><span class="cx"> public:
</span><del>-    CurrentScriptIncrementer(Document* document, Element* element)
</del><ins>+    CurrentScriptIncrementer(Document&amp; document, Element* element)
</ins><span class="cx">         : m_document(document)
</span><span class="cx">         , m_isHTMLScriptElement(is&lt;HTMLScriptElement&gt;(*element))
</span><span class="cx">     {
</span><span class="cx">         if (m_isHTMLScriptElement)
</span><del>-            m_document-&gt;pushCurrentScript(downcast&lt;HTMLScriptElement&gt;(element));
</del><ins>+            m_document.pushCurrentScript(downcast&lt;HTMLScriptElement&gt;(element));
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     ~CurrentScriptIncrementer()
</span><span class="cx">     {
</span><span class="cx">         if (m_isHTMLScriptElement)
</span><del>-            m_document-&gt;popCurrentScript();
</del><ins>+            m_document.popCurrentScript();
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx"> private:
</span><del>-    Document* m_document;
</del><ins>+    Document&amp; m_document;
</ins><span class="cx">     bool m_isHTMLScriptElement;
</span><span class="cx"> };
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoredomMutationRecordcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/MutationRecord.cpp (175582 => 175583)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/MutationRecord.cpp        2014-11-04 22:38:56 UTC (rev 175582)
+++ trunk/Source/WebCore/dom/MutationRecord.cpp        2014-11-04 23:00:48 UTC (rev 175583)
</span><span class="lines">@@ -52,7 +52,7 @@
</span><span class="cx"> 
</span><span class="cx"> private:
</span><span class="cx">     virtual const AtomicString&amp; type() override;
</span><del>-    virtual Node* target() override { return &amp;m_target.get(); }
</del><ins>+    virtual Node* target() override { return m_target.ptr(); }
</ins><span class="cx">     virtual NodeList* addedNodes() override { return m_addedNodes.get(); }
</span><span class="cx">     virtual NodeList* removedNodes() override { return m_removedNodes.get(); }
</span><span class="cx">     virtual Node* previousSibling() override { return m_previousSibling.get(); }
</span><span class="lines">@@ -74,7 +74,7 @@
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx"> private:
</span><del>-    virtual Node* target() override { return &amp;m_target.get(); }
</del><ins>+    virtual Node* target() override { return m_target.ptr(); }
</ins><span class="cx">     virtual String oldValue() override { return m_oldValue; }
</span><span class="cx">     virtual NodeList* addedNodes() override { return lazilyInitializeEmptyNodeList(m_addedNodes); }
</span><span class="cx">     virtual NodeList* removedNodes() override { return lazilyInitializeEmptyNodeList(m_removedNodes); }
</span></span></pre></div>
<a id="trunkSourceWebCoredomNodeRareDatah"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/NodeRareData.h (175582 => 175583)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/NodeRareData.h        2014-11-04 22:38:56 UTC (rev 175582)
+++ trunk/Source/WebCore/dom/NodeRareData.h        2014-11-04 23:00:48 UTC (rev 175583)
</span><span class="lines">@@ -75,7 +75,7 @@
</span><span class="cx">         if (m_childNodeList)
</span><span class="cx">             return *m_childNodeList;
</span><span class="cx">         auto list = ChildNodeList::create(node);
</span><del>-        m_childNodeList = &amp;list.get();
</del><ins>+        m_childNodeList = list.ptr();
</ins><span class="cx">         return list;
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="lines">@@ -93,7 +93,7 @@
</span><span class="cx">         if (m_emptyChildNodeList)
</span><span class="cx">             return *m_emptyChildNodeList;
</span><span class="cx">         auto list = EmptyNodeList::create(node);
</span><del>-        m_emptyChildNodeList = &amp;list.get();
</del><ins>+        m_emptyChildNodeList = list.ptr();
</ins><span class="cx">         return list;
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="lines">@@ -138,7 +138,7 @@
</span><span class="cx">             return *result.iterator-&gt;value;
</span><span class="cx"> 
</span><span class="cx">         auto list = TagNodeList::create(node, namespaceURI, localName);
</span><del>-        result.iterator-&gt;value = &amp;list.get();
</del><ins>+        result.iterator-&gt;value = list.ptr();
</ins><span class="cx">         return list;
</span><span class="cx">     }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoredomRangecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/Range.cpp (175582 => 175583)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/Range.cpp        2014-11-04 22:38:56 UTC (rev 175582)
+++ trunk/Source/WebCore/dom/Range.cpp        2014-11-04 23:00:48 UTC (rev 175583)
</span><span class="lines">@@ -128,7 +128,7 @@
</span><span class="cx"> 
</span><span class="cx"> void Range::setDocument(Document&amp; document)
</span><span class="cx"> {
</span><del>-    ASSERT(&amp;m_ownerDocument.get() != &amp;document);
</del><ins>+    ASSERT(m_ownerDocument.ptr() != &amp;document);
</ins><span class="cx">     m_ownerDocument-&gt;detachRange(this);
</span><span class="cx">     m_ownerDocument = document;
</span><span class="cx">     m_start.setToStartOfNode(&amp;document);
</span></span></pre></div>
<a id="trunkSourceWebCoredomScriptElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/ScriptElement.cpp (175582 => 175583)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/ScriptElement.cpp        2014-11-04 22:38:56 UTC (rev 175582)
+++ trunk/Source/WebCore/dom/ScriptElement.cpp        2014-11-04 23:00:48 UTC (rev 175583)
</span><span class="lines">@@ -245,7 +245,7 @@
</span><span class="cx">     Ref&lt;Document&gt; originalDocument(m_element.document());
</span><span class="cx">     if (!m_element.dispatchBeforeLoadEvent(sourceUrl))
</span><span class="cx">         return false;
</span><del>-    if (!m_element.inDocument() || &amp;m_element.document() != &amp;originalDocument.get())
</del><ins>+    if (!m_element.inDocument() || &amp;m_element.document() != originalDocument.ptr())
</ins><span class="cx">         return false;
</span><span class="cx"> 
</span><span class="cx">     ASSERT(!m_cachedScript);
</span><span class="lines">@@ -292,8 +292,8 @@
</span><span class="cx"> 
</span><span class="cx">     Ref&lt;Document&gt; document(m_element.document());
</span><span class="cx">     if (Frame* frame = document-&gt;frame()) {
</span><del>-        IgnoreDestructiveWriteCountIncrementer ignoreDesctructiveWriteCountIncrementer(m_isExternalScript ? &amp;document.get() : 0);
-        CurrentScriptIncrementer currentScriptIncrementer(&amp;document.get(), &amp;m_element);
</del><ins>+        IgnoreDestructiveWriteCountIncrementer ignoreDesctructiveWriteCountIncrementer(m_isExternalScript ? document.ptr() : nullptr);
+        CurrentScriptIncrementer currentScriptIncrementer(document, &amp;m_element);
</ins><span class="cx"> 
</span><span class="cx">         // Create a script from the script element node, using the script
</span><span class="cx">         // block's source and the script block's type.
</span></span></pre></div>
<a id="trunkSourceWebCoredomStaticNodeListcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/StaticNodeList.cpp (175582 => 175583)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/StaticNodeList.cpp        2014-11-04 22:38:56 UTC (rev 175582)
+++ trunk/Source/WebCore/dom/StaticNodeList.cpp        2014-11-04 23:00:48 UTC (rev 175583)
</span><span class="lines">@@ -39,7 +39,7 @@
</span><span class="cx"> Node* StaticNodeList::item(unsigned index) const
</span><span class="cx"> {
</span><span class="cx">     if (index &lt; m_nodes.size())
</span><del>-        return &amp;const_cast&lt;Node&amp;&gt;(m_nodes[index].get());
</del><ins>+        return const_cast&lt;Node*&gt;(m_nodes[index].ptr());
</ins><span class="cx">     return nullptr;
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -61,7 +61,7 @@
</span><span class="cx"> Node* StaticElementList::item(unsigned index) const
</span><span class="cx"> {
</span><span class="cx">     if (index &lt; m_elements.size())
</span><del>-        return &amp;const_cast&lt;Element&amp;&gt;(m_elements[index].get());
</del><ins>+        return const_cast&lt;Element*&gt;(m_elements[index].ptr());
</ins><span class="cx">     return nullptr;
</span><span class="cx"> }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoreeditingCompositeEditCommandcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/editing/CompositeEditCommand.cpp (175582 => 175583)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/editing/CompositeEditCommand.cpp        2014-11-04 22:38:56 UTC (rev 175582)
+++ trunk/Source/WebCore/editing/CompositeEditCommand.cpp        2014-11-04 23:00:48 UTC (rev 175583)
</span><span class="lines">@@ -436,9 +436,9 @@
</span><span class="cx">     for (; node &amp;&amp; node != pastLastNodeToMove; node = node-&gt;nextSibling())
</span><span class="cx">         nodesToRemove.append(*node);
</span><span class="cx"> 
</span><del>-    for (unsigned i = 0; i &lt; nodesToRemove.size(); i++) {
-        removeNode(&amp;nodesToRemove[i].get());
-        appendNode(&amp;nodesToRemove[i].get(), newParent);
</del><ins>+    for (auto&amp; nodeToRemove : nodesToRemove) {
+        removeNode(nodeToRemove.ptr());
+        appendNode(nodeToRemove.ptr(), newParent);
</ins><span class="cx">     }
</span><span class="cx"> }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoreeditingDictationCommandcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/editing/DictationCommand.cpp (175582 => 175583)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/editing/DictationCommand.cpp        2014-11-04 22:38:56 UTC (rev 175582)
+++ trunk/Source/WebCore/editing/DictationCommand.cpp        2014-11-04 23:00:48 UTC (rev 175583)
</span><span class="lines">@@ -86,9 +86,9 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void DictationCommand::insertText(Document* document, const String&amp; text, const Vector&lt;DictationAlternative&gt;&amp; alternatives, const VisibleSelection&amp; selectionForInsertion)
</del><ins>+void DictationCommand::insertText(Document&amp; document, const String&amp; text, const Vector&lt;DictationAlternative&gt;&amp; alternatives, const VisibleSelection&amp; selectionForInsertion)
</ins><span class="cx"> {
</span><del>-    RefPtr&lt;Frame&gt; frame = document-&gt;frame();
</del><ins>+    RefPtr&lt;Frame&gt; frame = document.frame();
</ins><span class="cx">     ASSERT(frame);
</span><span class="cx"> 
</span><span class="cx">     VisibleSelection currentSelection = frame-&gt;selection().selection();
</span><span class="lines">@@ -97,11 +97,11 @@
</span><span class="cx"> 
</span><span class="cx">     RefPtr&lt;DictationCommand&gt; cmd;
</span><span class="cx">     if (newText == text)
</span><del>-        cmd = DictationCommand::create(*document, newText, alternatives);
</del><ins>+        cmd = DictationCommand::create(document, newText, alternatives);
</ins><span class="cx">     else
</span><span class="cx">         // If the text was modified before insertion, the location of dictation alternatives
</span><span class="cx">         // will not be valid anymore. We will just drop the alternatives.
</span><del>-        cmd = DictationCommand::create(*document, newText, Vector&lt;DictationAlternative&gt;());
</del><ins>+        cmd = DictationCommand::create(document, newText, Vector&lt;DictationAlternative&gt;());
</ins><span class="cx">     applyTextInsertionCommand(frame.get(), cmd, selectionForInsertion, currentSelection);
</span><span class="cx"> }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoreeditingDictationCommandh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/editing/DictationCommand.h (175582 => 175583)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/editing/DictationCommand.h        2014-11-04 22:38:56 UTC (rev 175582)
+++ trunk/Source/WebCore/editing/DictationCommand.h        2014-11-04 23:00:48 UTC (rev 175583)
</span><span class="lines">@@ -36,7 +36,7 @@
</span><span class="cx"> class DictationCommand : public TextInsertionBaseCommand {
</span><span class="cx">     friend class DictationCommandLineOperation;
</span><span class="cx"> public:
</span><del>-    static void insertText(Document*, const String&amp;, const Vector&lt;DictationAlternative&gt;&amp; alternatives, const VisibleSelection&amp;);
</del><ins>+    static void insertText(Document&amp;, const String&amp;, const Vector&lt;DictationAlternative&gt;&amp; alternatives, const VisibleSelection&amp;);
</ins><span class="cx">     virtual bool isDictationCommand() const { return true; }
</span><span class="cx"> private:
</span><span class="cx">     static PassRefPtr&lt;DictationCommand&gt; create(Document&amp; document, const String&amp; text, const Vector&lt;DictationAlternative&gt;&amp; alternatives)
</span></span></pre></div>
<a id="trunkSourceWebCoreeditingEditorcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/editing/Editor.cpp (175582 => 175583)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/editing/Editor.cpp        2014-11-04 22:38:56 UTC (rev 175582)
+++ trunk/Source/WebCore/editing/Editor.cpp        2014-11-04 23:00:48 UTC (rev 175583)
</span><span class="lines">@@ -1214,7 +1214,7 @@
</span><span class="cx"> 
</span><span class="cx">             // Insert the text
</span><span class="cx">             if (triggeringEvent &amp;&amp; triggeringEvent-&gt;isDictation())
</span><del>-                DictationCommand::insertText(&amp;document.get(), text, triggeringEvent-&gt;dictationAlternatives(), selection);
</del><ins>+                DictationCommand::insertText(document, text, triggeringEvent-&gt;dictationAlternatives(), selection);
</ins><span class="cx">             else {
</span><span class="cx">                 TypingCommand::Options options = 0;
</span><span class="cx">                 if (selectInsertedText)
</span></span></pre></div>
<a id="trunkSourceWebCoreeditingReplaceNodeWithSpanCommandcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/editing/ReplaceNodeWithSpanCommand.cpp (175582 => 175583)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/editing/ReplaceNodeWithSpanCommand.cpp        2014-11-04 22:38:56 UTC (rev 175582)
+++ trunk/Source/WebCore/editing/ReplaceNodeWithSpanCommand.cpp        2014-11-04 23:00:48 UTC (rev 175583)
</span><span class="lines">@@ -57,8 +57,8 @@
</span><span class="cx">     newNode-&gt;cloneDataFromElement(*nodeToReplace);
</span><span class="cx">     NodeVector children;
</span><span class="cx">     getChildNodes(*nodeToReplace, children);
</span><del>-    for (size_t i = 0; i &lt; children.size(); ++i)
-        newNode-&gt;appendChild(&amp;children[i].get(), ASSERT_NO_EXCEPTION);
</del><ins>+    for (auto&amp; child : children)
+        newNode-&gt;appendChild(child.ptr(), ASSERT_NO_EXCEPTION);
</ins><span class="cx"> 
</span><span class="cx">     parentNode-&gt;insertBefore(newNode, nodeToReplace, ASSERT_NO_EXCEPTION);
</span><span class="cx">     parentNode-&gt;removeChild(nodeToReplace, ASSERT_NO_EXCEPTION);
</span></span></pre></div>
<a id="trunkSourceWebCoreeditingSimplifyMarkupCommandcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/editing/SimplifyMarkupCommand.cpp (175582 => 175583)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/editing/SimplifyMarkupCommand.cpp        2014-11-04 22:38:56 UTC (rev 175582)
+++ trunk/Source/WebCore/editing/SimplifyMarkupCommand.cpp        2014-11-04 23:00:48 UTC (rev 175583)
</span><span class="lines">@@ -79,7 +79,7 @@
</span><span class="cx">             }
</span><span class="cx">             
</span><span class="cx">             unsigned context;
</span><del>-            if (currentNode-&gt;renderStyle()-&gt;diff(startingStyle, context) == StyleDifferenceEqual)
</del><ins>+            if (currentNode-&gt;renderStyle()-&gt;diff(*startingStyle, context) == StyleDifferenceEqual)
</ins><span class="cx">                 topNodeWithStartingStyle = currentNode;
</span><span class="cx">             
</span><span class="cx">         }
</span></span></pre></div>
<a id="trunkSourceWebCoreeditingmarkupcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/editing/markup.cpp (175582 => 175583)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/editing/markup.cpp        2014-11-04 22:38:56 UTC (rev 175582)
+++ trunk/Source/WebCore/editing/markup.cpp        2014-11-04 23:00:48 UTC (rev 175583)
</span><span class="lines">@@ -980,15 +980,15 @@
</span><span class="cx">     return fragment.release();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-static inline bool hasOneChild(ContainerNode* node)
</del><ins>+static inline bool hasOneChild(ContainerNode&amp; node)
</ins><span class="cx"> {
</span><del>-    Node* firstChild = node-&gt;firstChild();
</del><ins>+    Node* firstChild = node.firstChild();
</ins><span class="cx">     return firstChild &amp;&amp; !firstChild-&gt;nextSibling();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-static inline bool hasOneTextChild(ContainerNode* node)
</del><ins>+static inline bool hasOneTextChild(ContainerNode&amp; node)
</ins><span class="cx"> {
</span><del>-    return hasOneChild(node) &amp;&amp; node-&gt;firstChild()-&gt;isTextNode();
</del><ins>+    return hasOneChild(node) &amp;&amp; node.firstChild()-&gt;isTextNode();
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void replaceChildrenWithFragment(ContainerNode&amp; container, PassRefPtr&lt;DocumentFragment&gt; fragment, ExceptionCode&amp; ec)
</span><span class="lines">@@ -1001,12 +1001,12 @@
</span><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    if (hasOneTextChild(&amp;containerNode.get()) &amp;&amp; hasOneTextChild(fragment.get())) {
</del><ins>+    if (hasOneTextChild(containerNode) &amp;&amp; hasOneTextChild(*fragment)) {
</ins><span class="cx">         downcast&lt;Text&gt;(*containerNode-&gt;firstChild()).setData(downcast&lt;Text&gt;(*fragment-&gt;firstChild()).data(), ec);
</span><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    if (hasOneChild(&amp;containerNode.get())) {
</del><ins>+    if (hasOneChild(containerNode)) {
</ins><span class="cx">         containerNode-&gt;replaceChild(fragment, containerNode-&gt;firstChild(), ec);
</span><span class="cx">         return;
</span><span class="cx">     }
</span><span class="lines">@@ -1020,14 +1020,14 @@
</span><span class="cx">     Ref&lt;ContainerNode&gt; containerNode(container);
</span><span class="cx">     ChildListMutationScope mutation(containerNode);
</span><span class="cx"> 
</span><del>-    if (hasOneTextChild(&amp;containerNode.get())) {
</del><ins>+    if (hasOneTextChild(containerNode)) {
</ins><span class="cx">         downcast&lt;Text&gt;(*containerNode-&gt;firstChild()).setData(text, ec);
</span><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     RefPtr&lt;Text&gt; textNode = Text::create(containerNode-&gt;document(), text);
</span><span class="cx"> 
</span><del>-    if (hasOneChild(&amp;containerNode.get())) {
</del><ins>+    if (hasOneChild(containerNode)) {
</ins><span class="cx">         containerNode-&gt;replaceChild(textNode.release(), containerNode-&gt;firstChild(), ec);
</span><span class="cx">         return;
</span><span class="cx">     }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLFormControlElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLFormControlElement.cpp (175582 => 175583)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLFormControlElement.cpp        2014-11-04 22:38:56 UTC (rev 175582)
+++ trunk/Source/WebCore/html/HTMLFormControlElement.cpp        2014-11-04 23:00:48 UTC (rev 175583)
</span><span class="lines">@@ -409,7 +409,7 @@
</span><span class="cx">     Ref&lt;HTMLFormControlElement&gt; protect(*this);
</span><span class="cx">     Ref&lt;Document&gt; originalDocument(document());
</span><span class="cx">     bool needsDefaultAction = dispatchEvent(Event::create(eventNames().invalidEvent, false, true));
</span><del>-    if (needsDefaultAction &amp;&amp; unhandledInvalidControls &amp;&amp; inDocument() &amp;&amp; &amp;originalDocument.get() == &amp;document())
</del><ins>+    if (needsDefaultAction &amp;&amp; unhandledInvalidControls &amp;&amp; inDocument() &amp;&amp; originalDocument.ptr() == &amp;document())
</ins><span class="cx">         unhandledInvalidControls-&gt;append(this);
</span><span class="cx">     return false;
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLFormElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLFormElement.cpp (175582 => 175583)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLFormElement.cpp        2014-11-04 22:38:56 UTC (rev 175582)
+++ trunk/Source/WebCore/html/HTMLFormElement.cpp        2014-11-04 23:00:48 UTC (rev 175583)
</span><span class="lines">@@ -799,7 +799,7 @@
</span><span class="cx">     elements()-&gt;namedItems(name, namedItems);
</span><span class="cx"> 
</span><span class="cx">     HTMLElement* elementFromPast = elementFromPastNamesMap(name);
</span><del>-    if (namedItems.size() == 1 &amp;&amp; &amp;namedItems.first().get() != elementFromPast)
</del><ins>+    if (namedItems.size() == 1 &amp;&amp; namedItems.first().ptr() != elementFromPast)
</ins><span class="cx">         addToPastNamesMap(downcast&lt;HTMLElement&gt;(namedItems.first().get()).asFormNamedItem(), name);
</span><span class="cx">     else if (elementFromPast &amp;&amp; namedItems.isEmpty())
</span><span class="cx">         namedItems.append(*elementFromPast);
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLLinkElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLLinkElement.cpp (175582 => 175583)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLLinkElement.cpp        2014-11-04 22:38:56 UTC (rev 175582)
+++ trunk/Source/WebCore/html/HTMLLinkElement.cpp        2014-11-04 23:00:48 UTC (rev 175583)
</span><span class="lines">@@ -175,7 +175,7 @@
</span><span class="cx">     if (!dispatchBeforeLoadEvent(getNonEmptyURLAttribute(hrefAttr)))
</span><span class="cx">         return false;
</span><span class="cx">     // A beforeload handler might have removed us from the document or changed the document.
</span><del>-    if (!inDocument() || &amp;document() != &amp;originalDocument.get())
</del><ins>+    if (!inDocument() || &amp;document() != originalDocument.ptr())
</ins><span class="cx">         return false;
</span><span class="cx">     return true;
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCoreinspectorInspectorStyleSheetcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/inspector/InspectorStyleSheet.cpp (175582 => 175583)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/InspectorStyleSheet.cpp        2014-11-04 22:38:56 UTC (rev 175582)
+++ trunk/Source/WebCore/inspector/InspectorStyleSheet.cpp        2014-11-04 23:00:48 UTC (rev 175583)
</span><span class="lines">@@ -1041,10 +1041,10 @@
</span><span class="cx">     String selectorText = rule-&gt;selectorText();
</span><span class="cx"> 
</span><span class="cx">     if (sourceData)
</span><del>-        selectors = selectorsFromSource(sourceData.get(), m_parsedStyleSheet-&gt;text(), rule-&gt;styleRule()-&gt;selectorList());
</del><ins>+        selectors = selectorsFromSource(sourceData.get(), m_parsedStyleSheet-&gt;text(), rule-&gt;styleRule().selectorList());
</ins><span class="cx">     else {
</span><span class="cx">         selectors = Inspector::Protocol::Array&lt;Inspector::Protocol::CSS::CSSSelector&gt;::create();
</span><del>-        const CSSSelectorList&amp; selectorList = rule-&gt;styleRule()-&gt;selectorList();
</del><ins>+        const CSSSelectorList&amp; selectorList = rule-&gt;styleRule().selectorList();
</ins><span class="cx">         for (const CSSSelector* selector = selectorList.first(); selector; selector = CSSSelectorList::next(selector))
</span><span class="cx">             selectors-&gt;addItem(buildObjectForSelector(selector));
</span><span class="cx">     }
</span><span class="lines">@@ -1065,7 +1065,7 @@
</span><span class="cx"> 
</span><span class="cx">     RefPtr&lt;Inspector::Protocol::CSS::CSSRule&gt; result = Inspector::Protocol::CSS::CSSRule::create()
</span><span class="cx">         .setSelectorList(buildObjectForSelectorList(rule))
</span><del>-        .setSourceLine(rule-&gt;styleRule()-&gt;sourceLine())
</del><ins>+        .setSourceLine(rule-&gt;styleRule().sourceLine())
</ins><span class="cx">         .setOrigin(m_origin)
</span><span class="cx">         .setStyle(buildObjectForStyle(&amp;rule-&gt;style()));
</span><span class="cx"> 
</span><span class="lines">@@ -1361,7 +1361,7 @@
</span><span class="cx">     for (unsigned i = 0, size = m_flatRules.size(); i &lt; size; ++i) {
</span><span class="cx">         CSSStyleRule* parsedRule = m_flatRules.at(i).get();
</span><span class="cx">         if (&amp;parsedRule-&gt;style() == pageStyle) {
</span><del>-            if (parsedRule-&gt;styleRule()-&gt;properties().asText() != pageStyle-&gt;cssText()) {
</del><ins>+            if (parsedRule-&gt;styleRule().properties().asText() != pageStyle-&gt;cssText()) {
</ins><span class="cx">                 // Clear the disabled properties for the invalid style here.
</span><span class="cx">                 m_inspectorStyles.remove(pageStyle);
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoreloaderFrameLoadercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/loader/FrameLoader.cpp (175582 => 175583)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/loader/FrameLoader.cpp        2014-11-04 22:38:56 UTC (rev 175582)
+++ trunk/Source/WebCore/loader/FrameLoader.cpp        2014-11-04 23:00:48 UTC (rev 175583)
</span><span class="lines">@@ -2971,7 +2971,7 @@
</span><span class="cx">     mainFrame-&gt;page()-&gt;setOpenedByDOM();
</span><span class="cx">     mainFrame-&gt;loader().m_client.dispatchShow();
</span><span class="cx">     if (!m_suppressOpenerInNewFrame) {
</span><del>-        mainFrame-&gt;loader().setOpener(&amp;frame.get());
</del><ins>+        mainFrame-&gt;loader().setOpener(frame.ptr());
</ins><span class="cx">         mainFrame-&gt;document()-&gt;setReferrerPolicy(frame-&gt;document()-&gt;referrerPolicy());
</span><span class="cx">     }
</span><span class="cx">     mainFrame-&gt;loader().loadWithNavigationAction(request, NavigationAction(request), LockHistory::No, FrameLoadType::Standard, formState, allowNavigationToInvalidURL);
</span></span></pre></div>
<a id="trunkSourceWebCorepageFocusControllercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/page/FocusController.cpp (175582 => 175583)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/page/FocusController.cpp        2014-11-04 22:38:56 UTC (rev 175582)
+++ trunk/Source/WebCore/page/FocusController.cpp        2014-11-04 23:00:48 UTC (rev 175583)
</span><span class="lines">@@ -587,9 +587,9 @@
</span><span class="cx"> bool FocusController::setFocusedElement(Element* element, PassRefPtr&lt;Frame&gt; newFocusedFrame, FocusDirection direction)
</span><span class="cx"> {
</span><span class="cx">     RefPtr&lt;Frame&gt; oldFocusedFrame = focusedFrame();
</span><del>-    RefPtr&lt;Document&gt; oldDocument = oldFocusedFrame ? oldFocusedFrame-&gt;document() : 0;
</del><ins>+    RefPtr&lt;Document&gt; oldDocument = oldFocusedFrame ? oldFocusedFrame-&gt;document() : nullptr;
</ins><span class="cx">     
</span><del>-    Element* oldFocusedElement = oldDocument ? oldDocument-&gt;focusedElement() : 0;
</del><ins>+    Element* oldFocusedElement = oldDocument ? oldDocument-&gt;focusedElement() : nullptr;
</ins><span class="cx">     if (oldFocusedElement == element)
</span><span class="cx">         return true;
</span><span class="cx"> 
</span><span class="lines">@@ -603,7 +603,7 @@
</span><span class="cx"> 
</span><span class="cx">     if (!element) {
</span><span class="cx">         if (oldDocument)
</span><del>-            oldDocument-&gt;setFocusedElement(0);
</del><ins>+            oldDocument-&gt;setFocusedElement(nullptr);
</ins><span class="cx">         m_page.editorClient()-&gt;setInputMethodState(false);
</span><span class="cx">         return true;
</span><span class="cx">     }
</span><span class="lines">@@ -615,11 +615,11 @@
</span><span class="cx">         return true;
</span><span class="cx">     }
</span><span class="cx">     
</span><del>-    if (oldDocument &amp;&amp; oldDocument != &amp;newDocument.get())
-        oldDocument-&gt;setFocusedElement(0);
</del><ins>+    if (oldDocument &amp;&amp; oldDocument != newDocument.ptr())
+        oldDocument-&gt;setFocusedElement(nullptr);
</ins><span class="cx"> 
</span><span class="cx">     if (newFocusedFrame &amp;&amp; !newFocusedFrame-&gt;page()) {
</span><del>-        setFocusedFrame(0);
</del><ins>+        setFocusedFrame(nullptr);
</ins><span class="cx">         return false;
</span><span class="cx">     }
</span><span class="cx">     setFocusedFrame(newFocusedFrame);
</span></span></pre></div>
<a id="trunkSourceWebCorepagePageSerializercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/page/PageSerializer.cpp (175582 => 175583)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/page/PageSerializer.cpp        2014-11-04 22:38:56 UTC (rev 175582)
+++ trunk/Source/WebCore/page/PageSerializer.cpp        2014-11-04 23:00:48 UTC (rev 175583)
</span><span class="lines">@@ -312,9 +312,9 @@
</span><span class="cx">     m_resourceURLs.add(url);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void PageSerializer::retrieveResourcesForRule(StyleRule* rule, Document* document)
</del><ins>+void PageSerializer::retrieveResourcesForRule(StyleRule&amp; rule, Document* document)
</ins><span class="cx"> {
</span><del>-    retrieveResourcesForProperties(&amp;rule-&gt;properties(), document);
</del><ins>+    retrieveResourcesForProperties(&amp;rule.properties(), document);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void PageSerializer::retrieveResourcesForProperties(const StyleProperties* styleDeclaration, Document* document)
</span></span></pre></div>
<a id="trunkSourceWebCorepagePageSerializerh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/page/PageSerializer.h (175582 => 175583)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/page/PageSerializer.h        2014-11-04 22:38:56 UTC (rev 175582)
+++ trunk/Source/WebCore/page/PageSerializer.h        2014-11-04 23:00:48 UTC (rev 175583)
</span><span class="lines">@@ -79,7 +79,7 @@
</span><span class="cx"> 
</span><span class="cx">     void addImageToResources(CachedImage*, RenderElement*, const URL&amp;);
</span><span class="cx">     void retrieveResourcesForProperties(const StyleProperties*, Document*);
</span><del>-    void retrieveResourcesForRule(StyleRule*, Document*);
</del><ins>+    void retrieveResourcesForRule(StyleRule&amp;, Document*);
</ins><span class="cx"> 
</span><span class="cx">     Vector&lt;Resource&gt;* m_resources;
</span><span class="cx">     ListHashSet&lt;URL&gt; m_resourceURLs;
</span></span></pre></div>
<a id="trunkSourceWebCorepageanimationAnimationControllercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/page/animation/AnimationController.cpp (175582 => 175583)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/page/animation/AnimationController.cpp        2014-11-04 22:38:56 UTC (rev 175582)
+++ trunk/Source/WebCore/page/animation/AnimationController.cpp        2014-11-04 23:00:48 UTC (rev 175583)
</span><span class="lines">@@ -525,7 +525,7 @@
</span><span class="cx"> #endif
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    if (&amp;blendedStyle.get() != &amp;newStyleBeforeAnimation.get()) {
</del><ins>+    if (blendedStyle.ptr() != newStyleBeforeAnimation.ptr()) {
</ins><span class="cx">         // If the animations/transitions change opacity or transform, we need to update
</span><span class="cx">         // the style to impose the stacking rules. Note that this is also
</span><span class="cx">         // done in StyleResolver::adjustRenderStyle().
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformgraphicscaTileCoverageMapcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/graphics/ca/TileCoverageMap.cpp (175582 => 175583)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/graphics/ca/TileCoverageMap.cpp        2014-11-04 22:38:56 UTC (rev 175582)
+++ trunk/Source/WebCore/platform/graphics/ca/TileCoverageMap.cpp        2014-11-04 23:00:48 UTC (rev 175583)
</span><span class="lines">@@ -102,7 +102,7 @@
</span><span class="cx"> 
</span><span class="cx"> void TileCoverageMap::platformCALayerPaintContents(PlatformCALayer* platformCALayer, GraphicsContext&amp; context, const FloatRect&amp;)
</span><span class="cx"> {
</span><del>-    ASSERT_UNUSED(platformCALayer, platformCALayer == &amp;m_layer.get());
</del><ins>+    ASSERT_UNUSED(platformCALayer, platformCALayer == m_layer.ptr());
</ins><span class="cx">     m_controller.tileGrid().drawTileMapContents(context.platformContext(), m_layer.get().bounds());
</span><span class="cx"> }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingClipPathOperationh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/ClipPathOperation.h (175582 => 175583)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/ClipPathOperation.h        2014-11-04 22:38:56 UTC (rev 175582)
+++ trunk/Source/WebCore/rendering/ClipPathOperation.h        2014-11-04 23:00:48 UTC (rev 175583)
</span><span class="lines">@@ -119,7 +119,7 @@
</span><span class="cx">         if (!isSameType(other))
</span><span class="cx">             return false;
</span><span class="cx">         const auto&amp; shapeClip = downcast&lt;ShapeClipPathOperation&gt;(other);
</span><del>-        return &amp;m_shape.get() == &amp;shapeClip.m_shape.get();
</del><ins>+        return m_shape.ptr() == shapeClip.m_shape.ptr();
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     explicit ShapeClipPathOperation(PassRef&lt;BasicShape&gt; shape)
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingRenderBlockcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/RenderBlock.cpp (175582 => 175583)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/RenderBlock.cpp        2014-11-04 22:38:56 UTC (rev 175582)
+++ trunk/Source/WebCore/rendering/RenderBlock.cpp        2014-11-04 23:00:48 UTC (rev 175583)
</span><span class="lines">@@ -2976,7 +2976,7 @@
</span><span class="cx">     return firstLineBlock;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-static RenderStyle* styleForFirstLetter(RenderObject* firstLetterBlock, RenderObject* firstLetterContainer)
</del><ins>+static RenderStyle&amp; styleForFirstLetter(RenderObject* firstLetterBlock, RenderObject* firstLetterContainer)
</ins><span class="cx"> {
</span><span class="cx">     RenderStyle* pseudoStyle = firstLetterBlock-&gt;getCachedPseudoStyle(FIRST_LETTER, &amp;firstLetterContainer-&gt;firstLineStyle());
</span><span class="cx">     
</span><span class="lines">@@ -3021,7 +3021,7 @@
</span><span class="cx">     pseudoStyle-&gt;setDisplay(pseudoStyle-&gt;isFloating() ? BLOCK : INLINE);
</span><span class="cx">     // CSS2 says first-letter can't be positioned.
</span><span class="cx">     pseudoStyle-&gt;setPosition(StaticPosition);
</span><del>-    return pseudoStyle;
</del><ins>+    return *pseudoStyle;
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> // CSS 2.1 http://www.w3.org/TR/CSS21/selector.html#first-letter
</span><span class="lines">@@ -3061,16 +3061,16 @@
</span><span class="cx"> {
</span><span class="cx">     RenderElement* firstLetter = currentChild-&gt;parent();
</span><span class="cx">     RenderElement* firstLetterContainer = firstLetter-&gt;parent();
</span><del>-    RenderStyle* pseudoStyle = styleForFirstLetter(firstLetterBlock, firstLetterContainer);
</del><ins>+    RenderStyle&amp; pseudoStyle = styleForFirstLetter(firstLetterBlock, firstLetterContainer);
</ins><span class="cx">     ASSERT(firstLetter-&gt;isFloating() || firstLetter-&gt;isInline());
</span><span class="cx"> 
</span><del>-    if (Style::determineChange(&amp;firstLetter-&gt;style(), pseudoStyle) == Style::Detach) {
</del><ins>+    if (Style::determineChange(firstLetter-&gt;style(), pseudoStyle) == Style::Detach) {
</ins><span class="cx">         // The first-letter renderer needs to be replaced. Create a new renderer of the right type.
</span><span class="cx">         RenderBoxModelObject* newFirstLetter;
</span><del>-        if (pseudoStyle-&gt;display() == INLINE)
-            newFirstLetter = new RenderInline(document(), *pseudoStyle);
</del><ins>+        if (pseudoStyle.display() == INLINE)
+            newFirstLetter = new RenderInline(document(), pseudoStyle);
</ins><span class="cx">         else
</span><del>-            newFirstLetter = new RenderBlockFlow(document(), *pseudoStyle);
</del><ins>+            newFirstLetter = new RenderBlockFlow(document(), pseudoStyle);
</ins><span class="cx">         newFirstLetter-&gt;initializeStyle();
</span><span class="cx"> 
</span><span class="cx">         // Move the first letter into the new renderer.
</span><span class="lines">@@ -3096,18 +3096,18 @@
</span><span class="cx">         firstLetter = newFirstLetter;
</span><span class="cx">         firstLetterContainer-&gt;addChild(firstLetter, nextSibling);
</span><span class="cx">     } else
</span><del>-        firstLetter-&gt;setStyle(*pseudoStyle);
</del><ins>+        firstLetter-&gt;setStyle(pseudoStyle);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void RenderBlock::createFirstLetterRenderer(RenderObject* firstLetterBlock, RenderText* currentTextChild)
</span><span class="cx"> {
</span><span class="cx">     RenderElement* firstLetterContainer = currentTextChild-&gt;parent();
</span><del>-    RenderStyle* pseudoStyle = styleForFirstLetter(firstLetterBlock, firstLetterContainer);
-    RenderBoxModelObject* firstLetter = 0;
-    if (pseudoStyle-&gt;display() == INLINE)
-        firstLetter = new RenderInline(document(), *pseudoStyle);
</del><ins>+    RenderStyle&amp; pseudoStyle = styleForFirstLetter(firstLetterBlock, firstLetterContainer);
+    RenderBoxModelObject* firstLetter = nullptr;
+    if (pseudoStyle.display() == INLINE)
+        firstLetter = new RenderInline(document(), pseudoStyle);
</ins><span class="cx">     else
</span><del>-        firstLetter = new RenderBlockFlow(document(), *pseudoStyle);
</del><ins>+        firstLetter = new RenderBlockFlow(document(), pseudoStyle);
</ins><span class="cx">     firstLetter-&gt;initializeStyle();
</span><span class="cx">     firstLetterContainer-&gt;addChild(firstLetter, currentTextChild);
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingRenderBlockFlowcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/RenderBlockFlow.cpp (175582 => 175583)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/RenderBlockFlow.cpp        2014-11-04 22:38:56 UTC (rev 175582)
+++ trunk/Source/WebCore/rendering/RenderBlockFlow.cpp        2014-11-04 23:00:48 UTC (rev 175583)
</span><span class="lines">@@ -3751,21 +3751,21 @@
</span><span class="cx">     }
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void RenderBlockFlow::updateColumnProgressionFromStyle(RenderStyle* style)
</del><ins>+void RenderBlockFlow::updateColumnProgressionFromStyle(RenderStyle&amp; style)
</ins><span class="cx"> {
</span><span class="cx">     if (!multiColumnFlowThread())
</span><span class="cx">         return;
</span><span class="cx">     
</span><span class="cx">     bool needsLayout = false;
</span><span class="cx">     bool oldProgressionIsInline = multiColumnFlowThread()-&gt;progressionIsInline();
</span><del>-    bool newProgressionIsInline = style-&gt;hasInlineColumnAxis();
</del><ins>+    bool newProgressionIsInline = style.hasInlineColumnAxis();
</ins><span class="cx">     if (oldProgressionIsInline != newProgressionIsInline) {
</span><span class="cx">         multiColumnFlowThread()-&gt;setProgressionIsInline(newProgressionIsInline);
</span><span class="cx">         needsLayout = true;
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     bool oldProgressionIsReversed = multiColumnFlowThread()-&gt;progressionIsReversed();
</span><del>-    bool newProgressionIsReversed = style-&gt;columnProgression() == ReverseColumnProgression;
</del><ins>+    bool newProgressionIsReversed = style.columnProgression() == ReverseColumnProgression;
</ins><span class="cx">     if (oldProgressionIsReversed != newProgressionIsReversed) {
</span><span class="cx">         multiColumnFlowThread()-&gt;setProgressionIsReversed(newProgressionIsReversed);
</span><span class="cx">         needsLayout = true;
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingRenderBlockFlowh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/RenderBlockFlow.h (175582 => 175583)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/RenderBlockFlow.h        2014-11-04 22:38:56 UTC (rev 175582)
+++ trunk/Source/WebCore/rendering/RenderBlockFlow.h        2014-11-04 23:00:48 UTC (rev 175583)
</span><span class="lines">@@ -382,7 +382,7 @@
</span><span class="cx">     void createMultiColumnFlowThread();
</span><span class="cx">     void destroyMultiColumnFlowThread();
</span><span class="cx"> 
</span><del>-    void updateColumnProgressionFromStyle(RenderStyle*);
</del><ins>+    void updateColumnProgressionFromStyle(RenderStyle&amp;);
</ins><span class="cx">     void updateStylesForColumnChildren();
</span><span class="cx"> 
</span><span class="cx">     virtual bool needsLayoutAfterRegionRangeChange() const override;
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingRenderBoxcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/RenderBox.cpp (175582 => 175583)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/RenderBox.cpp        2014-11-04 22:38:56 UTC (rev 175582)
+++ trunk/Source/WebCore/rendering/RenderBox.cpp        2014-11-04 23:00:48 UTC (rev 175583)
</span><span class="lines">@@ -403,7 +403,7 @@
</span><span class="cx">         if (viewChangedWritingMode &amp;&amp; pagination.mode != Pagination::Unpaginated) {
</span><span class="cx">             viewStyle.setColumnStylesFromPaginationMode(pagination.mode);
</span><span class="cx">             if (view().multiColumnFlowThread())
</span><del>-                view().updateColumnProgressionFromStyle(&amp;viewStyle);
</del><ins>+                view().updateColumnProgressionFromStyle(viewStyle);
</ins><span class="cx">         }
</span><span class="cx">         
</span><span class="cx">         if (viewStyleChanged &amp;&amp; view().multiColumnFlowThread())
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingRenderElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/RenderElement.cpp (175582 => 175583)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/RenderElement.cpp        2014-11-04 22:38:56 UTC (rev 175582)
+++ trunk/Source/WebCore/rendering/RenderElement.cpp        2014-11-04 23:00:48 UTC (rev 175583)
</span><span class="lines">@@ -391,7 +391,7 @@
</span><span class="cx">     // and remove the check of m_hasInitializedStyle below too.
</span><span class="cx">     ASSERT(m_hasInitializedStyle || isRenderView());
</span><span class="cx"> 
</span><del>-    if (&amp;m_style.get() == &amp;style.get()) {
</del><ins>+    if (m_style.ptr() == style.ptr()) {
</ins><span class="cx">         // FIXME: Can we change things so we never hit this code path?
</span><span class="cx">         // We need to run through adjustStyleDifference() for iframes, plugins, and canvas so
</span><span class="cx">         // style sharing is disabled for them. That should ensure that we never hit this code path.
</span><span class="lines">@@ -405,7 +405,7 @@
</span><span class="cx">     StyleDifference diff = StyleDifferenceEqual;
</span><span class="cx">     unsigned contextSensitiveProperties = ContextSensitivePropertyNone;
</span><span class="cx">     if (m_hasInitializedStyle)
</span><del>-        diff = m_style-&gt;diff(&amp;style.get(), contextSensitiveProperties);
</del><ins>+        diff = m_style-&gt;diff(style.get(), contextSensitiveProperties);
</ins><span class="cx"> 
</span><span class="cx">     diff = adjustStyleDifference(diff, contextSensitiveProperties);
</span><span class="cx"> 
</span><span class="lines">@@ -430,11 +430,11 @@
</span><span class="cx"> 
</span><span class="cx">     bool doesNotNeedLayout = !parent();
</span><span class="cx"> 
</span><del>-    styleDidChange(diff, &amp;oldStyle.get());
</del><ins>+    styleDidChange(diff, oldStyle.ptr());
</ins><span class="cx"> 
</span><span class="cx">     // Text renderers use their parent style. Notify them about the change.
</span><span class="cx">     for (auto&amp; child : childrenOfType&lt;RenderText&gt;(*this))
</span><del>-        child.styleDidChange(diff, &amp;oldStyle.get());
</del><ins>+        child.styleDidChange(diff, oldStyle.ptr());
</ins><span class="cx"> 
</span><span class="cx">     // FIXME: |this| might be destroyed here. This can currently happen for a RenderTextFragment when
</span><span class="cx">     // its first-letter block gets an update in RenderTextFragment::styleDidChange. For RenderTextFragment(s),
</span><span class="lines">@@ -451,9 +451,9 @@
</span><span class="cx">         if (updatedDiff == StyleDifferenceLayout)
</span><span class="cx">             setNeedsLayoutAndPrefWidthsRecalc();
</span><span class="cx">         else if (updatedDiff == StyleDifferenceLayoutPositionedMovementOnly)
</span><del>-            setNeedsPositionedMovementLayout(&amp;oldStyle.get());
</del><ins>+            setNeedsPositionedMovementLayout(oldStyle.ptr());
</ins><span class="cx">         else if (updatedDiff == StyleDifferenceSimplifiedLayoutAndPositionedMovement) {
</span><del>-            setNeedsPositionedMovementLayout(&amp;oldStyle.get());
</del><ins>+            setNeedsPositionedMovementLayout(oldStyle.ptr());
</ins><span class="cx">             setNeedsSimplifiedNormalFlowLayout();
</span><span class="cx">         } else if (updatedDiff == StyleDifferenceSimplifiedLayout)
</span><span class="cx">             setNeedsSimplifiedNormalFlowLayout();
</span><span class="lines">@@ -969,7 +969,7 @@
</span><span class="cx">         return;
</span><span class="cx">     
</span><span class="cx">     if (diff == StyleDifferenceLayout || diff == StyleDifferenceSimplifiedLayout) {
</span><del>-        RenderCounter::rendererStyleChanged(*this, oldStyle, &amp;m_style.get());
</del><ins>+        RenderCounter::rendererStyleChanged(*this, oldStyle, m_style.ptr());
</ins><span class="cx"> 
</span><span class="cx">         // If the object already needs layout, then setNeedsLayout won't do
</span><span class="cx">         // any work. But if the containing block has changed, then we may need
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingRenderNamedFlowFragmentcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/RenderNamedFlowFragment.cpp (175582 => 175583)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/RenderNamedFlowFragment.cpp        2014-11-04 22:38:56 UTC (rev 175582)
+++ trunk/Source/WebCore/rendering/RenderNamedFlowFragment.cpp        2014-11-04 23:00:48 UTC (rev 175583)
</span><span class="lines">@@ -472,7 +472,7 @@
</span><span class="cx">         if (!shouldCacheRegionStyle) {
</span><span class="cx">             // Check whether we should cache the computed style in region.
</span><span class="cx">             unsigned changedContextSensitiveProperties = ContextSensitivePropertyNone;
</span><del>-            StyleDifference styleDiff = objectOriginalStyle-&gt;diff(objectRegionStyle.get(), changedContextSensitiveProperties);
</del><ins>+            StyleDifference styleDiff = objectOriginalStyle-&gt;diff(*objectRegionStyle, changedContextSensitiveProperties);
</ins><span class="cx">             if (styleDiff &lt; StyleDifferenceLayoutPositionedMovementOnly)
</span><span class="cx">                 shouldCacheRegionStyle = true;
</span><span class="cx">         }
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingRenderTextControlcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/RenderTextControl.cpp (175582 => 175583)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/RenderTextControl.cpp        2014-11-04 22:38:56 UTC (rev 175582)
+++ trunk/Source/WebCore/rendering/RenderTextControl.cpp        2014-11-04 23:00:48 UTC (rev 175583)
</span><span class="lines">@@ -73,36 +73,36 @@
</span><span class="cx">     textFormControlElement().updatePlaceholderVisibility();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void RenderTextControl::adjustInnerTextStyle(const RenderStyle* startStyle, RenderStyle* textBlockStyle) const
</del><ins>+void RenderTextControl::adjustInnerTextStyle(const RenderStyle* startStyle, RenderStyle&amp; textBlockStyle) const
</ins><span class="cx"> {
</span><span class="cx">     // The inner block, if present, always has its direction set to LTR,
</span><span class="cx">     // so we need to inherit the direction and unicode-bidi style from the element.
</span><del>-    textBlockStyle-&gt;setDirection(style().direction());
-    textBlockStyle-&gt;setUnicodeBidi(style().unicodeBidi());
</del><ins>+    textBlockStyle.setDirection(style().direction());
+    textBlockStyle.setUnicodeBidi(style().unicodeBidi());
</ins><span class="cx"> 
</span><span class="cx">     HTMLTextFormControlElement&amp; control = textFormControlElement();
</span><span class="cx">     if (HTMLElement* innerText = control.innerTextElement()) {
</span><span class="cx">         if (const StyleProperties* properties = innerText-&gt;presentationAttributeStyle()) {
</span><span class="cx">             RefPtr&lt;CSSValue&gt; value = properties-&gt;getPropertyCSSValue(CSSPropertyWebkitUserModify);
</span><span class="cx">             if (is&lt;CSSPrimitiveValue&gt;(value.get()))
</span><del>-                textBlockStyle-&gt;setUserModify(downcast&lt;CSSPrimitiveValue&gt;(*value));
</del><ins>+                textBlockStyle.setUserModify(downcast&lt;CSSPrimitiveValue&gt;(*value));
</ins><span class="cx">         }
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     if (control.isDisabledFormControl())
</span><del>-        textBlockStyle-&gt;setColor(theme().disabledTextColor(textBlockStyle-&gt;visitedDependentColor(CSSPropertyColor), startStyle-&gt;visitedDependentColor(CSSPropertyBackgroundColor)));
</del><ins>+        textBlockStyle.setColor(theme().disabledTextColor(textBlockStyle.visitedDependentColor(CSSPropertyColor), startStyle-&gt;visitedDependentColor(CSSPropertyBackgroundColor)));
</ins><span class="cx"> #if PLATFORM(IOS)
</span><del>-    if (textBlockStyle-&gt;textSecurity() != TSNONE &amp;&amp; !textBlockStyle-&gt;isLeftToRightDirection()) {
</del><ins>+    if (textBlockStyle.textSecurity() != TSNONE &amp;&amp; !textBlockStyle.isLeftToRightDirection()) {
</ins><span class="cx">         // Preserve the alignment but force the direction to LTR so that the last-typed, unmasked character
</span><span class="cx">         // (which cannot have RTL directionality) will appear to the right of the masked characters. See &lt;rdar://problem/7024375&gt;.
</span><span class="cx">         
</span><del>-        switch (textBlockStyle-&gt;textAlign()) {
</del><ins>+        switch (textBlockStyle.textAlign()) {
</ins><span class="cx">         case TASTART:
</span><span class="cx">         case JUSTIFY:
</span><del>-            textBlockStyle-&gt;setTextAlign(RIGHT);
</del><ins>+            textBlockStyle.setTextAlign(RIGHT);
</ins><span class="cx">             break;
</span><span class="cx">         case TAEND:
</span><del>-            textBlockStyle-&gt;setTextAlign(LEFT);
</del><ins>+            textBlockStyle.setTextAlign(LEFT);
</ins><span class="cx">             break;
</span><span class="cx">         case LEFT:
</span><span class="cx">         case RIGHT:
</span><span class="lines">@@ -113,7 +113,7 @@
</span><span class="cx">             break;
</span><span class="cx">         }
</span><span class="cx"> 
</span><del>-        textBlockStyle-&gt;setDirection(LTR);
</del><ins>+        textBlockStyle.setDirection(LTR);
</ins><span class="cx">     }
</span><span class="cx"> #endif
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingRenderTextControlh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/RenderTextControl.h (175582 => 175583)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/RenderTextControl.h        2014-11-04 22:38:56 UTC (rev 175582)
+++ trunk/Source/WebCore/rendering/RenderTextControl.h        2014-11-04 23:00:48 UTC (rev 175583)
</span><span class="lines">@@ -51,7 +51,7 @@
</span><span class="cx">     TextControlInnerTextElement* innerTextElement() const;
</span><span class="cx"> 
</span><span class="cx">     int scrollbarThickness() const;
</span><del>-    void adjustInnerTextStyle(const RenderStyle* startStyle, RenderStyle* textBlockStyle) const;
</del><ins>+    void adjustInnerTextStyle(const RenderStyle* startStyle, RenderStyle&amp; textBlockStyle) const;
</ins><span class="cx"> 
</span><span class="cx">     virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) override;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingRenderTextControlMultiLinecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/RenderTextControlMultiLine.cpp (175582 => 175583)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/RenderTextControlMultiLine.cpp        2014-11-04 22:38:56 UTC (rev 175582)
+++ trunk/Source/WebCore/rendering/RenderTextControlMultiLine.cpp        2014-11-04 23:00:48 UTC (rev 175583)
</span><span class="lines">@@ -91,7 +91,7 @@
</span><span class="cx"> {
</span><span class="cx">     auto textBlockStyle = RenderStyle::create();
</span><span class="cx">     textBlockStyle.get().inheritFrom(startStyle);
</span><del>-    adjustInnerTextStyle(startStyle, &amp;textBlockStyle.get());
</del><ins>+    adjustInnerTextStyle(startStyle, textBlockStyle.get());
</ins><span class="cx">     textBlockStyle.get().setDisplay(BLOCK);
</span><span class="cx"> 
</span><span class="cx"> #if PLATFORM(IOS)
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingRenderTextControlSingleLinecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/RenderTextControlSingleLine.cpp (175582 => 175583)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/RenderTextControlSingleLine.cpp        2014-11-04 22:38:56 UTC (rev 175582)
+++ trunk/Source/WebCore/rendering/RenderTextControlSingleLine.cpp        2014-11-04 23:00:48 UTC (rev 175583)
</span><span class="lines">@@ -368,7 +368,7 @@
</span><span class="cx"> {
</span><span class="cx">     auto textBlockStyle = RenderStyle::create();
</span><span class="cx">     textBlockStyle.get().inheritFrom(startStyle);
</span><del>-    adjustInnerTextStyle(startStyle, &amp;textBlockStyle.get());
</del><ins>+    adjustInnerTextStyle(startStyle, textBlockStyle.get());
</ins><span class="cx"> 
</span><span class="cx">     textBlockStyle.get().setWhiteSpace(PRE);
</span><span class="cx">     textBlockStyle.get().setOverflowWrap(NormalOverflowWrap);
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingstyleDataRefh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/style/DataRef.h (175582 => 175583)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/style/DataRef.h        2014-11-04 22:38:56 UTC (rev 175582)
+++ trunk/Source/WebCore/rendering/style/DataRef.h        2014-11-04 23:00:48 UTC (rev 175583)
</span><span class="lines">@@ -35,7 +35,7 @@
</span><span class="cx">     DataRef(const DataRef&amp; other) : m_data(const_cast&lt;T&amp;&gt;(other.m_data.get())) { }
</span><span class="cx">     DataRef&amp; operator=(const DataRef&amp; other) { m_data = const_cast&lt;T&amp;&gt;(other.m_data.get()); return *this; }
</span><span class="cx"> 
</span><del>-    const T* get() const { return &amp;m_data.get(); }
</del><ins>+    const T* get() const { return m_data.ptr(); }
</ins><span class="cx"> 
</span><span class="cx">     const T&amp; operator*() const { return *get(); }
</span><span class="cx">     const T* operator-&gt;() const { return get(); }
</span><span class="lines">@@ -44,17 +44,17 @@
</span><span class="cx">     {
</span><span class="cx">         if (!m_data-&gt;hasOneRef())
</span><span class="cx">             m_data = m_data-&gt;copy();
</span><del>-        return &amp;m_data.get();
</del><ins>+        return m_data.ptr();
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     bool operator==(const DataRef&lt;T&gt;&amp; o) const
</span><span class="cx">     {
</span><del>-        return &amp;m_data.get() == &amp;o.m_data.get() || m_data.get() == o.m_data.get();
</del><ins>+        return m_data.ptr() == o.m_data.ptr() || m_data.get() == o.m_data.get();
</ins><span class="cx">     }
</span><span class="cx">     
</span><span class="cx">     bool operator!=(const DataRef&lt;T&gt;&amp; o) const
</span><span class="cx">     {
</span><del>-        return &amp;m_data.get() != &amp;o.m_data.get() &amp;&amp; m_data.get() != o.m_data.get();
</del><ins>+        return m_data.ptr() != o.m_data.ptr() &amp;&amp; m_data.get() != o.m_data.get();
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx"> private:
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingstyleRenderStylecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/style/RenderStyle.cpp (175582 => 175583)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/style/RenderStyle.cpp        2014-11-04 22:38:56 UTC (rev 175582)
+++ trunk/Source/WebCore/rendering/style/RenderStyle.cpp        2014-11-04 23:00:48 UTC (rev 175583)
</span><span class="lines">@@ -406,227 +406,227 @@
</span><span class="cx">     return false;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-bool RenderStyle::changeRequiresLayout(const RenderStyle* other, unsigned&amp; changedContextSensitiveProperties) const
</del><ins>+bool RenderStyle::changeRequiresLayout(const RenderStyle&amp; other, unsigned&amp; changedContextSensitiveProperties) const
</ins><span class="cx"> {
</span><del>-    if (m_box-&gt;width() != other-&gt;m_box-&gt;width()
-        || m_box-&gt;minWidth() != other-&gt;m_box-&gt;minWidth()
-        || m_box-&gt;maxWidth() != other-&gt;m_box-&gt;maxWidth()
-        || m_box-&gt;height() != other-&gt;m_box-&gt;height()
-        || m_box-&gt;minHeight() != other-&gt;m_box-&gt;minHeight()
-        || m_box-&gt;maxHeight() != other-&gt;m_box-&gt;maxHeight())
</del><ins>+    if (m_box-&gt;width() != other.m_box-&gt;width()
+        || m_box-&gt;minWidth() != other.m_box-&gt;minWidth()
+        || m_box-&gt;maxWidth() != other.m_box-&gt;maxWidth()
+        || m_box-&gt;height() != other.m_box-&gt;height()
+        || m_box-&gt;minHeight() != other.m_box-&gt;minHeight()
+        || m_box-&gt;maxHeight() != other.m_box-&gt;maxHeight())
</ins><span class="cx">         return true;
</span><span class="cx"> 
</span><del>-    if (m_box-&gt;verticalAlign() != other-&gt;m_box-&gt;verticalAlign() || noninherited_flags.verticalAlign() != other-&gt;noninherited_flags.verticalAlign())
</del><ins>+    if (m_box-&gt;verticalAlign() != other.m_box-&gt;verticalAlign() || noninherited_flags.verticalAlign() != other.noninherited_flags.verticalAlign())
</ins><span class="cx">         return true;
</span><span class="cx"> 
</span><del>-    if (m_box-&gt;boxSizing() != other-&gt;m_box-&gt;boxSizing())
</del><ins>+    if (m_box-&gt;boxSizing() != other.m_box-&gt;boxSizing())
</ins><span class="cx">         return true;
</span><span class="cx"> 
</span><del>-    if (surround-&gt;margin != other-&gt;surround-&gt;margin)
</del><ins>+    if (surround-&gt;margin != other.surround-&gt;margin)
</ins><span class="cx">         return true;
</span><span class="cx"> 
</span><del>-    if (surround-&gt;padding != other-&gt;surround-&gt;padding)
</del><ins>+    if (surround-&gt;padding != other.surround-&gt;padding)
</ins><span class="cx">         return true;
</span><span class="cx"> 
</span><span class="cx">     // FIXME: We should add an optimized form of layout that just recomputes visual overflow.
</span><del>-    if (changeAffectsVisualOverflow(*other))
</del><ins>+    if (changeAffectsVisualOverflow(other))
</ins><span class="cx">         return true;
</span><span class="cx"> 
</span><del>-    if (rareNonInheritedData.get() != other-&gt;rareNonInheritedData.get()) {
-        if (rareNonInheritedData-&gt;m_appearance != other-&gt;rareNonInheritedData-&gt;m_appearance 
-            || rareNonInheritedData-&gt;marginBeforeCollapse != other-&gt;rareNonInheritedData-&gt;marginBeforeCollapse
-            || rareNonInheritedData-&gt;marginAfterCollapse != other-&gt;rareNonInheritedData-&gt;marginAfterCollapse
-            || rareNonInheritedData-&gt;lineClamp != other-&gt;rareNonInheritedData-&gt;lineClamp
-            || rareNonInheritedData-&gt;m_initialLetter != other-&gt;rareNonInheritedData-&gt;m_initialLetter
-            || rareNonInheritedData-&gt;textOverflow != other-&gt;rareNonInheritedData-&gt;textOverflow)
</del><ins>+    if (rareNonInheritedData.get() != other.rareNonInheritedData.get()) {
+        if (rareNonInheritedData-&gt;m_appearance != other.rareNonInheritedData-&gt;m_appearance
+            || rareNonInheritedData-&gt;marginBeforeCollapse != other.rareNonInheritedData-&gt;marginBeforeCollapse
+            || rareNonInheritedData-&gt;marginAfterCollapse != other.rareNonInheritedData-&gt;marginAfterCollapse
+            || rareNonInheritedData-&gt;lineClamp != other.rareNonInheritedData-&gt;lineClamp
+            || rareNonInheritedData-&gt;m_initialLetter != other.rareNonInheritedData-&gt;m_initialLetter
+            || rareNonInheritedData-&gt;textOverflow != other.rareNonInheritedData-&gt;textOverflow)
</ins><span class="cx">             return true;
</span><span class="cx"> 
</span><del>-        if (rareNonInheritedData-&gt;m_regionFragment != other-&gt;rareNonInheritedData-&gt;m_regionFragment)
</del><ins>+        if (rareNonInheritedData-&gt;m_regionFragment != other.rareNonInheritedData-&gt;m_regionFragment)
</ins><span class="cx">             return true;
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(CSS_SHAPES)
</span><del>-        if (rareNonInheritedData-&gt;m_shapeMargin != other-&gt;rareNonInheritedData-&gt;m_shapeMargin)
</del><ins>+        if (rareNonInheritedData-&gt;m_shapeMargin != other.rareNonInheritedData-&gt;m_shapeMargin)
</ins><span class="cx">             return true;
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><del>-        if (rareNonInheritedData-&gt;m_deprecatedFlexibleBox.get() != other-&gt;rareNonInheritedData-&gt;m_deprecatedFlexibleBox.get()
-            &amp;&amp; *rareNonInheritedData-&gt;m_deprecatedFlexibleBox.get() != *other-&gt;rareNonInheritedData-&gt;m_deprecatedFlexibleBox.get())
</del><ins>+        if (rareNonInheritedData-&gt;m_deprecatedFlexibleBox.get() != other.rareNonInheritedData-&gt;m_deprecatedFlexibleBox.get()
+            &amp;&amp; *rareNonInheritedData-&gt;m_deprecatedFlexibleBox.get() != *other.rareNonInheritedData-&gt;m_deprecatedFlexibleBox.get())
</ins><span class="cx">             return true;
</span><span class="cx"> 
</span><del>-        if (rareNonInheritedData-&gt;m_flexibleBox.get() != other-&gt;rareNonInheritedData-&gt;m_flexibleBox.get()
-            &amp;&amp; *rareNonInheritedData-&gt;m_flexibleBox.get() != *other-&gt;rareNonInheritedData-&gt;m_flexibleBox.get())
</del><ins>+        if (rareNonInheritedData-&gt;m_flexibleBox.get() != other.rareNonInheritedData-&gt;m_flexibleBox.get()
+            &amp;&amp; *rareNonInheritedData-&gt;m_flexibleBox.get() != *other.rareNonInheritedData-&gt;m_flexibleBox.get())
</ins><span class="cx">             return true;
</span><del>-        if (rareNonInheritedData-&gt;m_order != other-&gt;rareNonInheritedData-&gt;m_order
-            || rareNonInheritedData-&gt;m_alignContent != other-&gt;rareNonInheritedData-&gt;m_alignContent
-            || rareNonInheritedData-&gt;m_alignItems != other-&gt;rareNonInheritedData-&gt;m_alignItems
-            || rareNonInheritedData-&gt;m_alignSelf != other-&gt;rareNonInheritedData-&gt;m_alignSelf
-            || rareNonInheritedData-&gt;m_justifyContent != other-&gt;rareNonInheritedData-&gt;m_justifyContent)
</del><ins>+        if (rareNonInheritedData-&gt;m_order != other.rareNonInheritedData-&gt;m_order
+            || rareNonInheritedData-&gt;m_alignContent != other.rareNonInheritedData-&gt;m_alignContent
+            || rareNonInheritedData-&gt;m_alignItems != other.rareNonInheritedData-&gt;m_alignItems
+            || rareNonInheritedData-&gt;m_alignSelf != other.rareNonInheritedData-&gt;m_alignSelf
+            || rareNonInheritedData-&gt;m_justifyContent != other.rareNonInheritedData-&gt;m_justifyContent)
</ins><span class="cx">             return true;
</span><span class="cx"> 
</span><del>-        if (!rareNonInheritedData-&gt;reflectionDataEquivalent(*other-&gt;rareNonInheritedData.get()))
</del><ins>+        if (!rareNonInheritedData-&gt;reflectionDataEquivalent(*other.rareNonInheritedData.get()))
</ins><span class="cx">             return true;
</span><span class="cx"> 
</span><del>-        if (rareNonInheritedData-&gt;m_multiCol.get() != other-&gt;rareNonInheritedData-&gt;m_multiCol.get()
-            &amp;&amp; *rareNonInheritedData-&gt;m_multiCol.get() != *other-&gt;rareNonInheritedData-&gt;m_multiCol.get())
</del><ins>+        if (rareNonInheritedData-&gt;m_multiCol.get() != other.rareNonInheritedData-&gt;m_multiCol.get()
+            &amp;&amp; *rareNonInheritedData-&gt;m_multiCol.get() != *other.rareNonInheritedData-&gt;m_multiCol.get())
</ins><span class="cx">             return true;
</span><span class="cx"> 
</span><del>-        if (rareNonInheritedData-&gt;m_transform.get() != other-&gt;rareNonInheritedData-&gt;m_transform.get()
-            &amp;&amp; *rareNonInheritedData-&gt;m_transform.get() != *other-&gt;rareNonInheritedData-&gt;m_transform.get()) {
</del><ins>+        if (rareNonInheritedData-&gt;m_transform.get() != other.rareNonInheritedData-&gt;m_transform.get()
+            &amp;&amp; *rareNonInheritedData-&gt;m_transform.get() != *other.rareNonInheritedData-&gt;m_transform.get()) {
</ins><span class="cx">             changedContextSensitiveProperties |= ContextSensitivePropertyTransform;
</span><span class="cx">             // Don't return; keep looking for another change
</span><span class="cx">         }
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(CSS_GRID_LAYOUT)
</span><del>-        if (rareNonInheritedData-&gt;m_grid.get() != other-&gt;rareNonInheritedData-&gt;m_grid.get()
-            || rareNonInheritedData-&gt;m_gridItem.get() != other-&gt;rareNonInheritedData-&gt;m_gridItem.get())
</del><ins>+        if (rareNonInheritedData-&gt;m_grid.get() != other.rareNonInheritedData-&gt;m_grid.get()
+            || rareNonInheritedData-&gt;m_gridItem.get() != other.rareNonInheritedData-&gt;m_gridItem.get())
</ins><span class="cx">             return true;
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(DASHBOARD_SUPPORT)
</span><span class="cx">         // If regions change, trigger a relayout to re-calc regions.
</span><del>-        if (rareNonInheritedData-&gt;m_dashboardRegions != other-&gt;rareNonInheritedData-&gt;m_dashboardRegions)
</del><ins>+        if (rareNonInheritedData-&gt;m_dashboardRegions != other.rareNonInheritedData-&gt;m_dashboardRegions)
</ins><span class="cx">             return true;
</span><span class="cx"> #endif
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    if (rareInheritedData.get() != other-&gt;rareInheritedData.get()) {
-        if (rareInheritedData-&gt;indent != other-&gt;rareInheritedData-&gt;indent
</del><ins>+    if (rareInheritedData.get() != other.rareInheritedData.get()) {
+        if (rareInheritedData-&gt;indent != other.rareInheritedData-&gt;indent
</ins><span class="cx"> #if ENABLE(CSS3_TEXT)
</span><del>-            || rareInheritedData-&gt;m_textAlignLast != other-&gt;rareInheritedData-&gt;m_textAlignLast
-            || rareInheritedData-&gt;m_textJustify != other-&gt;rareInheritedData-&gt;m_textJustify
-            || rareInheritedData-&gt;m_textIndentLine != other-&gt;rareInheritedData-&gt;m_textIndentLine
</del><ins>+            || rareInheritedData-&gt;m_textAlignLast != other.rareInheritedData-&gt;m_textAlignLast
+            || rareInheritedData-&gt;m_textJustify != other.rareInheritedData-&gt;m_textJustify
+            || rareInheritedData-&gt;m_textIndentLine != other.rareInheritedData-&gt;m_textIndentLine
</ins><span class="cx"> #endif
</span><del>-            || rareInheritedData-&gt;m_effectiveZoom != other-&gt;rareInheritedData-&gt;m_effectiveZoom
</del><ins>+            || rareInheritedData-&gt;m_effectiveZoom != other.rareInheritedData-&gt;m_effectiveZoom
</ins><span class="cx"> #if ENABLE(IOS_TEXT_AUTOSIZING)
</span><del>-            || rareInheritedData-&gt;textSizeAdjust != other-&gt;rareInheritedData-&gt;textSizeAdjust
</del><ins>+            || rareInheritedData-&gt;textSizeAdjust != other.rareInheritedData-&gt;textSizeAdjust
</ins><span class="cx"> #endif
</span><del>-            || rareInheritedData-&gt;wordBreak != other-&gt;rareInheritedData-&gt;wordBreak
-            || rareInheritedData-&gt;overflowWrap != other-&gt;rareInheritedData-&gt;overflowWrap
-            || rareInheritedData-&gt;nbspMode != other-&gt;rareInheritedData-&gt;nbspMode
-            || rareInheritedData-&gt;lineBreak != other-&gt;rareInheritedData-&gt;lineBreak
-            || rareInheritedData-&gt;textSecurity != other-&gt;rareInheritedData-&gt;textSecurity
-            || rareInheritedData-&gt;hyphens != other-&gt;rareInheritedData-&gt;hyphens
-            || rareInheritedData-&gt;hyphenationLimitBefore != other-&gt;rareInheritedData-&gt;hyphenationLimitBefore
-            || rareInheritedData-&gt;hyphenationLimitAfter != other-&gt;rareInheritedData-&gt;hyphenationLimitAfter
-            || rareInheritedData-&gt;hyphenationString != other-&gt;rareInheritedData-&gt;hyphenationString
-            || rareInheritedData-&gt;locale != other-&gt;rareInheritedData-&gt;locale
-            || rareInheritedData-&gt;m_rubyPosition != other-&gt;rareInheritedData-&gt;m_rubyPosition
-            || rareInheritedData-&gt;textEmphasisMark != other-&gt;rareInheritedData-&gt;textEmphasisMark
-            || rareInheritedData-&gt;textEmphasisPosition != other-&gt;rareInheritedData-&gt;textEmphasisPosition
-            || rareInheritedData-&gt;textEmphasisCustomMark != other-&gt;rareInheritedData-&gt;textEmphasisCustomMark
-            || rareInheritedData-&gt;m_textOrientation != other-&gt;rareInheritedData-&gt;m_textOrientation
-            || rareInheritedData-&gt;m_tabSize != other-&gt;rareInheritedData-&gt;m_tabSize
-            || rareInheritedData-&gt;m_lineBoxContain != other-&gt;rareInheritedData-&gt;m_lineBoxContain
-            || rareInheritedData-&gt;m_lineGrid != other-&gt;rareInheritedData-&gt;m_lineGrid
</del><ins>+            || rareInheritedData-&gt;wordBreak != other.rareInheritedData-&gt;wordBreak
+            || rareInheritedData-&gt;overflowWrap != other.rareInheritedData-&gt;overflowWrap
+            || rareInheritedData-&gt;nbspMode != other.rareInheritedData-&gt;nbspMode
+            || rareInheritedData-&gt;lineBreak != other.rareInheritedData-&gt;lineBreak
+            || rareInheritedData-&gt;textSecurity != other.rareInheritedData-&gt;textSecurity
+            || rareInheritedData-&gt;hyphens != other.rareInheritedData-&gt;hyphens
+            || rareInheritedData-&gt;hyphenationLimitBefore != other.rareInheritedData-&gt;hyphenationLimitBefore
+            || rareInheritedData-&gt;hyphenationLimitAfter != other.rareInheritedData-&gt;hyphenationLimitAfter
+            || rareInheritedData-&gt;hyphenationString != other.rareInheritedData-&gt;hyphenationString
+            || rareInheritedData-&gt;locale != other.rareInheritedData-&gt;locale
+            || rareInheritedData-&gt;m_rubyPosition != other.rareInheritedData-&gt;m_rubyPosition
+            || rareInheritedData-&gt;textEmphasisMark != other.rareInheritedData-&gt;textEmphasisMark
+            || rareInheritedData-&gt;textEmphasisPosition != other.rareInheritedData-&gt;textEmphasisPosition
+            || rareInheritedData-&gt;textEmphasisCustomMark != other.rareInheritedData-&gt;textEmphasisCustomMark
+            || rareInheritedData-&gt;m_textOrientation != other.rareInheritedData-&gt;m_textOrientation
+            || rareInheritedData-&gt;m_tabSize != other.rareInheritedData-&gt;m_tabSize
+            || rareInheritedData-&gt;m_lineBoxContain != other.rareInheritedData-&gt;m_lineBoxContain
+            || rareInheritedData-&gt;m_lineGrid != other.rareInheritedData-&gt;m_lineGrid
</ins><span class="cx"> #if ENABLE(CSS_IMAGE_ORIENTATION)
</span><del>-            || rareInheritedData-&gt;m_imageOrientation != other-&gt;rareInheritedData-&gt;m_imageOrientation
</del><ins>+            || rareInheritedData-&gt;m_imageOrientation != other.rareInheritedData-&gt;m_imageOrientation
</ins><span class="cx"> #endif
</span><span class="cx"> #if ENABLE(CSS_IMAGE_RESOLUTION)
</span><del>-            || rareInheritedData-&gt;m_imageResolutionSource != other-&gt;rareInheritedData-&gt;m_imageResolutionSource
-            || rareInheritedData-&gt;m_imageResolutionSnap != other-&gt;rareInheritedData-&gt;m_imageResolutionSnap
-            || rareInheritedData-&gt;m_imageResolution != other-&gt;rareInheritedData-&gt;m_imageResolution
</del><ins>+            || rareInheritedData-&gt;m_imageResolutionSource != other.rareInheritedData-&gt;m_imageResolutionSource
+            || rareInheritedData-&gt;m_imageResolutionSnap != other.rareInheritedData-&gt;m_imageResolutionSnap
+            || rareInheritedData-&gt;m_imageResolution != other.rareInheritedData-&gt;m_imageResolution
</ins><span class="cx"> #endif
</span><del>-            || rareInheritedData-&gt;m_lineSnap != other-&gt;rareInheritedData-&gt;m_lineSnap
-            || rareInheritedData-&gt;m_lineAlign != other-&gt;rareInheritedData-&gt;m_lineAlign
</del><ins>+            || rareInheritedData-&gt;m_lineSnap != other.rareInheritedData-&gt;m_lineSnap
+            || rareInheritedData-&gt;m_lineAlign != other.rareInheritedData-&gt;m_lineAlign
</ins><span class="cx"> #if ENABLE(ACCELERATED_OVERFLOW_SCROLLING)
</span><del>-            || rareInheritedData-&gt;useTouchOverflowScrolling != other-&gt;rareInheritedData-&gt;useTouchOverflowScrolling
</del><ins>+            || rareInheritedData-&gt;useTouchOverflowScrolling != other.rareInheritedData-&gt;useTouchOverflowScrolling
</ins><span class="cx"> #endif
</span><del>-            || rareInheritedData-&gt;listStyleImage != other-&gt;rareInheritedData-&gt;listStyleImage)
</del><ins>+            || rareInheritedData-&gt;listStyleImage != other.rareInheritedData-&gt;listStyleImage)
</ins><span class="cx">             return true;
</span><span class="cx"> 
</span><del>-        if (!rareInheritedData-&gt;shadowDataEquivalent(*other-&gt;rareInheritedData.get()))
</del><ins>+        if (!rareInheritedData-&gt;shadowDataEquivalent(*other.rareInheritedData.get()))
</ins><span class="cx">             return true;
</span><span class="cx"> 
</span><del>-        if (textStrokeWidth() != other-&gt;textStrokeWidth())
</del><ins>+        if (textStrokeWidth() != other.textStrokeWidth())
</ins><span class="cx">             return true;
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(TEXT_AUTOSIZING)
</span><del>-    if (visual-&gt;m_textAutosizingMultiplier != other-&gt;visual-&gt;m_textAutosizingMultiplier)
</del><ins>+    if (visual-&gt;m_textAutosizingMultiplier != other.visual-&gt;m_textAutosizingMultiplier)
</ins><span class="cx">         return true;
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><del>-    if (inherited-&gt;line_height != other-&gt;inherited-&gt;line_height
</del><ins>+    if (inherited-&gt;line_height != other.inherited-&gt;line_height
</ins><span class="cx"> #if ENABLE(IOS_TEXT_AUTOSIZING)
</span><del>-        || inherited-&gt;specifiedLineHeight != other-&gt;inherited-&gt;specifiedLineHeight
</del><ins>+        || inherited-&gt;specifiedLineHeight != other.inherited-&gt;specifiedLineHeight
</ins><span class="cx"> #endif
</span><del>-        || inherited-&gt;font != other-&gt;inherited-&gt;font
-        || inherited-&gt;horizontal_border_spacing != other-&gt;inherited-&gt;horizontal_border_spacing
-        || inherited-&gt;vertical_border_spacing != other-&gt;inherited-&gt;vertical_border_spacing
-        || inherited_flags._box_direction != other-&gt;inherited_flags._box_direction
-        || inherited_flags.m_rtlOrdering != other-&gt;inherited_flags.m_rtlOrdering
-        || noninherited_flags.position() != other-&gt;noninherited_flags.position()
-        || noninherited_flags.floating() != other-&gt;noninherited_flags.floating()
-        || noninherited_flags.originalDisplay() != other-&gt;noninherited_flags.originalDisplay())
</del><ins>+        || inherited-&gt;font != other.inherited-&gt;font
+        || inherited-&gt;horizontal_border_spacing != other.inherited-&gt;horizontal_border_spacing
+        || inherited-&gt;vertical_border_spacing != other.inherited-&gt;vertical_border_spacing
+        || inherited_flags._box_direction != other.inherited_flags._box_direction
+        || inherited_flags.m_rtlOrdering != other.inherited_flags.m_rtlOrdering
+        || noninherited_flags.position() != other.noninherited_flags.position()
+        || noninherited_flags.floating() != other.noninherited_flags.floating()
+        || noninherited_flags.originalDisplay() != other.noninherited_flags.originalDisplay())
</ins><span class="cx">         return true;
</span><span class="cx"> 
</span><span class="cx"> 
</span><span class="cx">     if ((noninherited_flags.effectiveDisplay()) &gt;= TABLE) {
</span><del>-        if (inherited_flags._border_collapse != other-&gt;inherited_flags._border_collapse
-            || inherited_flags._empty_cells != other-&gt;inherited_flags._empty_cells
-            || inherited_flags._caption_side != other-&gt;inherited_flags._caption_side
-            || noninherited_flags.tableLayout() != other-&gt;noninherited_flags.tableLayout())
</del><ins>+        if (inherited_flags._border_collapse != other.inherited_flags._border_collapse
+            || inherited_flags._empty_cells != other.inherited_flags._empty_cells
+            || inherited_flags._caption_side != other.inherited_flags._caption_side
+            || noninherited_flags.tableLayout() != other.noninherited_flags.tableLayout())
</ins><span class="cx">             return true;
</span><span class="cx"> 
</span><span class="cx">         // In the collapsing border model, 'hidden' suppresses other borders, while 'none'
</span><span class="cx">         // does not, so these style differences can be width differences.
</span><span class="cx">         if (inherited_flags._border_collapse
</span><del>-            &amp;&amp; ((borderTopStyle() == BHIDDEN &amp;&amp; other-&gt;borderTopStyle() == BNONE)
-                || (borderTopStyle() == BNONE &amp;&amp; other-&gt;borderTopStyle() == BHIDDEN)
-                || (borderBottomStyle() == BHIDDEN &amp;&amp; other-&gt;borderBottomStyle() == BNONE)
-                || (borderBottomStyle() == BNONE &amp;&amp; other-&gt;borderBottomStyle() == BHIDDEN)
-                || (borderLeftStyle() == BHIDDEN &amp;&amp; other-&gt;borderLeftStyle() == BNONE)
-                || (borderLeftStyle() == BNONE &amp;&amp; other-&gt;borderLeftStyle() == BHIDDEN)
-                || (borderRightStyle() == BHIDDEN &amp;&amp; other-&gt;borderRightStyle() == BNONE)
-                || (borderRightStyle() == BNONE &amp;&amp; other-&gt;borderRightStyle() == BHIDDEN)))
</del><ins>+            &amp;&amp; ((borderTopStyle() == BHIDDEN &amp;&amp; other.borderTopStyle() == BNONE)
+                || (borderTopStyle() == BNONE &amp;&amp; other.borderTopStyle() == BHIDDEN)
+                || (borderBottomStyle() == BHIDDEN &amp;&amp; other.borderBottomStyle() == BNONE)
+                || (borderBottomStyle() == BNONE &amp;&amp; other.borderBottomStyle() == BHIDDEN)
+                || (borderLeftStyle() == BHIDDEN &amp;&amp; other.borderLeftStyle() == BNONE)
+                || (borderLeftStyle() == BNONE &amp;&amp; other.borderLeftStyle() == BHIDDEN)
+                || (borderRightStyle() == BHIDDEN &amp;&amp; other.borderRightStyle() == BNONE)
+                || (borderRightStyle() == BNONE &amp;&amp; other.borderRightStyle() == BHIDDEN)))
</ins><span class="cx">             return true;
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     if (noninherited_flags.effectiveDisplay() == LIST_ITEM) {
</span><del>-        if (inherited_flags._list_style_type != other-&gt;inherited_flags._list_style_type
-            || inherited_flags._list_style_position != other-&gt;inherited_flags._list_style_position)
</del><ins>+        if (inherited_flags._list_style_type != other.inherited_flags._list_style_type
+            || inherited_flags._list_style_position != other.inherited_flags._list_style_position)
</ins><span class="cx">             return true;
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    if (inherited_flags._text_align != other-&gt;inherited_flags._text_align
-        || inherited_flags._text_transform != other-&gt;inherited_flags._text_transform
-        || inherited_flags._direction != other-&gt;inherited_flags._direction
-        || inherited_flags._white_space != other-&gt;inherited_flags._white_space
-        || noninherited_flags.clear() != other-&gt;noninherited_flags.clear()
-        || noninherited_flags.unicodeBidi() != other-&gt;noninherited_flags.unicodeBidi())
</del><ins>+    if (inherited_flags._text_align != other.inherited_flags._text_align
+        || inherited_flags._text_transform != other.inherited_flags._text_transform
+        || inherited_flags._direction != other.inherited_flags._direction
+        || inherited_flags._white_space != other.inherited_flags._white_space
+        || noninherited_flags.clear() != other.noninherited_flags.clear()
+        || noninherited_flags.unicodeBidi() != other.noninherited_flags.unicodeBidi())
</ins><span class="cx">         return true;
</span><span class="cx"> 
</span><span class="cx">     // Check block flow direction.
</span><del>-    if (inherited_flags.m_writingMode != other-&gt;inherited_flags.m_writingMode)
</del><ins>+    if (inherited_flags.m_writingMode != other.inherited_flags.m_writingMode)
</ins><span class="cx">         return true;
</span><span class="cx"> 
</span><span class="cx">     // Check text combine mode.
</span><del>-    if (rareNonInheritedData-&gt;m_textCombine != other-&gt;rareNonInheritedData-&gt;m_textCombine)
</del><ins>+    if (rareNonInheritedData-&gt;m_textCombine != other.rareNonInheritedData-&gt;m_textCombine)
</ins><span class="cx">         return true;
</span><span class="cx"> 
</span><span class="cx">     // Overflow returns a layout hint.
</span><del>-    if (noninherited_flags.overflowX() != other-&gt;noninherited_flags.overflowX()
-        || noninherited_flags.overflowY() != other-&gt;noninherited_flags.overflowY())
</del><ins>+    if (noninherited_flags.overflowX() != other.noninherited_flags.overflowX()
+        || noninherited_flags.overflowY() != other.noninherited_flags.overflowY())
</ins><span class="cx">         return true;
</span><span class="cx"> 
</span><span class="cx">     // If our border widths change, then we need to layout.  Other changes to borders
</span><span class="cx">     // only necessitate a repaint.
</span><del>-    if (borderLeftWidth() != other-&gt;borderLeftWidth()
-        || borderTopWidth() != other-&gt;borderTopWidth()
-        || borderBottomWidth() != other-&gt;borderBottomWidth()
-        || borderRightWidth() != other-&gt;borderRightWidth())
</del><ins>+    if (borderLeftWidth() != other.borderLeftWidth()
+        || borderTopWidth() != other.borderTopWidth()
+        || borderBottomWidth() != other.borderBottomWidth()
+        || borderRightWidth() != other.borderRightWidth())
</ins><span class="cx">         return true;
</span><span class="cx"> 
</span><span class="cx">     // If the counter directives change, trigger a relayout to re-calculate counter values and rebuild the counter node tree.
</span><span class="cx">     const CounterDirectiveMap* mapA = rareNonInheritedData-&gt;m_counterDirectives.get();
</span><del>-    const CounterDirectiveMap* mapB = other-&gt;rareNonInheritedData-&gt;m_counterDirectives.get();
</del><ins>+    const CounterDirectiveMap* mapB = other.rareNonInheritedData-&gt;m_counterDirectives.get();
</ins><span class="cx">     if (!(mapA == mapB || (mapA &amp;&amp; mapB &amp;&amp; *mapA == *mapB)))
</span><span class="cx">         return true;
</span><span class="cx"> 
</span><del>-    if ((visibility() == COLLAPSE) != (other-&gt;visibility() == COLLAPSE))
</del><ins>+    if ((visibility() == COLLAPSE) != (other.visibility() == COLLAPSE))
</ins><span class="cx">         return true;
</span><span class="cx"> 
</span><del>-    if (rareNonInheritedData-&gt;hasOpacity() != other-&gt;rareNonInheritedData-&gt;hasOpacity()) {
</del><ins>+    if (rareNonInheritedData-&gt;hasOpacity() != other.rareNonInheritedData-&gt;hasOpacity()) {
</ins><span class="cx">         // FIXME: We would like to use SimplifiedLayout here, but we can't quite do that yet.
</span><span class="cx">         // We need to make sure SimplifiedLayout can operate correctly on RenderInlines (we will need
</span><span class="cx">         // to add a selfNeedsSimplifiedLayout bit in order to not get confused and taint every line).
</span><span class="lines">@@ -635,16 +635,16 @@
</span><span class="cx">         return true;
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    if (rareNonInheritedData-&gt;hasFilters() != other-&gt;rareNonInheritedData-&gt;hasFilters())
</del><ins>+    if (rareNonInheritedData-&gt;hasFilters() != other.rareNonInheritedData-&gt;hasFilters())
</ins><span class="cx">         return true;
</span><span class="cx"> 
</span><span class="cx">     const QuotesData* quotesDataA = rareInheritedData-&gt;quotes.get();
</span><del>-    const QuotesData* quotesDataB = other-&gt;rareInheritedData-&gt;quotes.get();
</del><ins>+    const QuotesData* quotesDataB = other.rareInheritedData-&gt;quotes.get();
</ins><span class="cx">     if (!(quotesDataA == quotesDataB || (quotesDataA &amp;&amp; quotesDataB &amp;&amp; *quotesDataA == *quotesDataB)))
</span><span class="cx">         return true;
</span><span class="cx"> 
</span><span class="cx">     if (position() != StaticPosition) {
</span><del>-        if (surround-&gt;offset != other-&gt;surround-&gt;offset) {
</del><ins>+        if (surround-&gt;offset != other.surround-&gt;offset) {
</ins><span class="cx">             // FIXME: We would like to use SimplifiedLayout for relative positioning, but we can't quite do that yet.
</span><span class="cx">             // We need to make sure SimplifiedLayout can operate correctly on RenderInlines (we will need
</span><span class="cx">             // to add a selfNeedsSimplifiedLayout bit in order to not get confused and taint every line).
</span><span class="lines">@@ -652,7 +652,7 @@
</span><span class="cx">                 return true;
</span><span class="cx"> 
</span><span class="cx">             // Optimize for the case where a positioned layer is moving but not changing size.
</span><del>-            if (!positionChangeIsMovementOnly(surround-&gt;offset, other-&gt;surround-&gt;offset, m_box-&gt;width()))
</del><ins>+            if (!positionChangeIsMovementOnly(surround-&gt;offset, other.surround-&gt;offset, m_box-&gt;width()))
</ins><span class="cx">                 return true;
</span><span class="cx">         }
</span><span class="cx">     }
</span><span class="lines">@@ -660,121 +660,121 @@
</span><span class="cx">     return false;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-bool RenderStyle::changeRequiresPositionedLayoutOnly(const RenderStyle* other, unsigned&amp;) const
</del><ins>+bool RenderStyle::changeRequiresPositionedLayoutOnly(const RenderStyle&amp; other, unsigned&amp;) const
</ins><span class="cx"> {
</span><span class="cx">     if (position() == StaticPosition)
</span><span class="cx">         return false;
</span><span class="cx"> 
</span><del>-    if (surround-&gt;offset != other-&gt;surround-&gt;offset) {
</del><ins>+    if (surround-&gt;offset != other.surround-&gt;offset) {
</ins><span class="cx">         // Optimize for the case where a positioned layer is moving but not changing size.
</span><del>-        if (position() == AbsolutePosition &amp;&amp; positionChangeIsMovementOnly(surround-&gt;offset, other-&gt;surround-&gt;offset, m_box-&gt;width()))
</del><ins>+        if (position() == AbsolutePosition &amp;&amp; positionChangeIsMovementOnly(surround-&gt;offset, other.surround-&gt;offset, m_box-&gt;width()))
</ins><span class="cx">             return true;
</span><span class="cx">     }
</span><span class="cx">     
</span><span class="cx">     return false;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-bool RenderStyle::changeRequiresLayerRepaint(const RenderStyle* other, unsigned&amp; changedContextSensitiveProperties) const
</del><ins>+bool RenderStyle::changeRequiresLayerRepaint(const RenderStyle&amp; other, unsigned&amp; changedContextSensitiveProperties) const
</ins><span class="cx"> {
</span><span class="cx">     // StyleResolver has ensured that zIndex is non-auto only if it's applicable.
</span><del>-    if (m_box-&gt;zIndex() != other-&gt;m_box-&gt;zIndex() || m_box-&gt;hasAutoZIndex() != other-&gt;m_box-&gt;hasAutoZIndex())
</del><ins>+    if (m_box-&gt;zIndex() != other.m_box-&gt;zIndex() || m_box-&gt;hasAutoZIndex() != other.m_box-&gt;hasAutoZIndex())
</ins><span class="cx">         return true;
</span><span class="cx"> 
</span><span class="cx">     if (position() != StaticPosition) {
</span><del>-        if (visual-&gt;clip != other-&gt;visual-&gt;clip || visual-&gt;hasClip != other-&gt;visual-&gt;hasClip) {
</del><ins>+        if (visual-&gt;clip != other.visual-&gt;clip || visual-&gt;hasClip != other.visual-&gt;hasClip) {
</ins><span class="cx">             changedContextSensitiveProperties |= ContextSensitivePropertyClipRect;
</span><span class="cx">             return true;
</span><span class="cx">         }
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(CSS_COMPOSITING)
</span><del>-    if (rareNonInheritedData-&gt;m_effectiveBlendMode != other-&gt;rareNonInheritedData-&gt;m_effectiveBlendMode)
</del><ins>+    if (rareNonInheritedData-&gt;m_effectiveBlendMode != other.rareNonInheritedData-&gt;m_effectiveBlendMode)
</ins><span class="cx">         return true;
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><del>-    if (rareNonInheritedData-&gt;opacity != other-&gt;rareNonInheritedData-&gt;opacity) {
</del><ins>+    if (rareNonInheritedData-&gt;opacity != other.rareNonInheritedData-&gt;opacity) {
</ins><span class="cx">         changedContextSensitiveProperties |= ContextSensitivePropertyOpacity;
</span><span class="cx">         // Don't return; keep looking for another change.
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    if (rareNonInheritedData-&gt;m_filter.get() != other-&gt;rareNonInheritedData-&gt;m_filter.get()
-        &amp;&amp; *rareNonInheritedData-&gt;m_filter.get() != *other-&gt;rareNonInheritedData-&gt;m_filter.get()) {
</del><ins>+    if (rareNonInheritedData-&gt;m_filter.get() != other.rareNonInheritedData-&gt;m_filter.get()
+        &amp;&amp; *rareNonInheritedData-&gt;m_filter.get() != *other.rareNonInheritedData-&gt;m_filter.get()) {
</ins><span class="cx">         changedContextSensitiveProperties |= ContextSensitivePropertyFilter;
</span><span class="cx">         // Don't return; keep looking for another change.
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    if (rareNonInheritedData-&gt;m_mask != other-&gt;rareNonInheritedData-&gt;m_mask
-        || rareNonInheritedData-&gt;m_maskBoxImage != other-&gt;rareNonInheritedData-&gt;m_maskBoxImage)
</del><ins>+    if (rareNonInheritedData-&gt;m_mask != other.rareNonInheritedData-&gt;m_mask
+        || rareNonInheritedData-&gt;m_maskBoxImage != other.rareNonInheritedData-&gt;m_maskBoxImage)
</ins><span class="cx">         return true;
</span><span class="cx"> 
</span><span class="cx">     return false;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-bool RenderStyle::changeRequiresRepaint(const RenderStyle* other, unsigned&amp;) const
</del><ins>+bool RenderStyle::changeRequiresRepaint(const RenderStyle&amp; other, unsigned&amp;) const
</ins><span class="cx"> {
</span><del>-    if (inherited_flags._visibility != other-&gt;inherited_flags._visibility
-        || inherited_flags.m_printColorAdjust != other-&gt;inherited_flags.m_printColorAdjust
-        || inherited_flags._insideLink != other-&gt;inherited_flags._insideLink
-        || inherited_flags._insideDefaultButton != other-&gt;inherited_flags._insideDefaultButton
-        || surround-&gt;border != other-&gt;surround-&gt;border
-        || !m_background-&gt;isEquivalentForPainting(*other-&gt;m_background)
-        || rareInheritedData-&gt;userModify != other-&gt;rareInheritedData-&gt;userModify
-        || rareInheritedData-&gt;userSelect != other-&gt;rareInheritedData-&gt;userSelect
-        || rareNonInheritedData-&gt;userDrag != other-&gt;rareNonInheritedData-&gt;userDrag
-        || rareNonInheritedData-&gt;m_borderFit != other-&gt;rareNonInheritedData-&gt;m_borderFit
-        || rareNonInheritedData-&gt;m_objectFit != other-&gt;rareNonInheritedData-&gt;m_objectFit
-        || rareInheritedData-&gt;m_imageRendering != other-&gt;rareInheritedData-&gt;m_imageRendering)
</del><ins>+    if (inherited_flags._visibility != other.inherited_flags._visibility
+        || inherited_flags.m_printColorAdjust != other.inherited_flags.m_printColorAdjust
+        || inherited_flags._insideLink != other.inherited_flags._insideLink
+        || inherited_flags._insideDefaultButton != other.inherited_flags._insideDefaultButton
+        || surround-&gt;border != other.surround-&gt;border
+        || !m_background-&gt;isEquivalentForPainting(*other.m_background)
+        || rareInheritedData-&gt;userModify != other.rareInheritedData-&gt;userModify
+        || rareInheritedData-&gt;userSelect != other.rareInheritedData-&gt;userSelect
+        || rareNonInheritedData-&gt;userDrag != other.rareNonInheritedData-&gt;userDrag
+        || rareNonInheritedData-&gt;m_borderFit != other.rareNonInheritedData-&gt;m_borderFit
+        || rareNonInheritedData-&gt;m_objectFit != other.rareNonInheritedData-&gt;m_objectFit
+        || rareInheritedData-&gt;m_imageRendering != other.rareInheritedData-&gt;m_imageRendering)
</ins><span class="cx">         return true;
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(CSS_SHAPES)
</span><del>-    if (rareNonInheritedData-&gt;m_shapeOutside != other-&gt;rareNonInheritedData-&gt;m_shapeOutside)
</del><ins>+    if (rareNonInheritedData-&gt;m_shapeOutside != other.rareNonInheritedData-&gt;m_shapeOutside)
</ins><span class="cx">         return true;
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><del>-    if (rareNonInheritedData-&gt;m_clipPath != other-&gt;rareNonInheritedData-&gt;m_clipPath)
</del><ins>+    if (rareNonInheritedData-&gt;m_clipPath != other.rareNonInheritedData-&gt;m_clipPath)
</ins><span class="cx">         return true;
</span><span class="cx"> 
</span><span class="cx">     return false;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-bool RenderStyle::changeRequiresRepaintIfTextOrBorderOrOutline(const RenderStyle* other, unsigned&amp;) const
</del><ins>+bool RenderStyle::changeRequiresRepaintIfTextOrBorderOrOutline(const RenderStyle&amp; other, unsigned&amp;) const
</ins><span class="cx"> {
</span><del>-    if (inherited-&gt;color != other-&gt;inherited-&gt;color
-        || inherited_flags._text_decorations != other-&gt;inherited_flags._text_decorations
-        || visual-&gt;textDecoration != other-&gt;visual-&gt;textDecoration
-        || rareNonInheritedData-&gt;m_textDecorationStyle != other-&gt;rareNonInheritedData-&gt;m_textDecorationStyle
-        || rareNonInheritedData-&gt;m_textDecorationColor != other-&gt;rareNonInheritedData-&gt;m_textDecorationColor
-        || rareInheritedData-&gt;m_textDecorationSkip != other-&gt;rareInheritedData-&gt;m_textDecorationSkip
-        || rareInheritedData-&gt;textFillColor != other-&gt;rareInheritedData-&gt;textFillColor
-        || rareInheritedData-&gt;textStrokeColor != other-&gt;rareInheritedData-&gt;textStrokeColor
-        || rareInheritedData-&gt;textEmphasisColor != other-&gt;rareInheritedData-&gt;textEmphasisColor
-        || rareInheritedData-&gt;textEmphasisFill != other-&gt;rareInheritedData-&gt;textEmphasisFill)
</del><ins>+    if (inherited-&gt;color != other.inherited-&gt;color
+        || inherited_flags._text_decorations != other.inherited_flags._text_decorations
+        || visual-&gt;textDecoration != other.visual-&gt;textDecoration
+        || rareNonInheritedData-&gt;m_textDecorationStyle != other.rareNonInheritedData-&gt;m_textDecorationStyle
+        || rareNonInheritedData-&gt;m_textDecorationColor != other.rareNonInheritedData-&gt;m_textDecorationColor
+        || rareInheritedData-&gt;m_textDecorationSkip != other.rareInheritedData-&gt;m_textDecorationSkip
+        || rareInheritedData-&gt;textFillColor != other.rareInheritedData-&gt;textFillColor
+        || rareInheritedData-&gt;textStrokeColor != other.rareInheritedData-&gt;textStrokeColor
+        || rareInheritedData-&gt;textEmphasisColor != other.rareInheritedData-&gt;textEmphasisColor
+        || rareInheritedData-&gt;textEmphasisFill != other.rareInheritedData-&gt;textEmphasisFill)
</ins><span class="cx">         return true;
</span><span class="cx"> 
</span><span class="cx">     return false;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-bool RenderStyle::changeRequiresRecompositeLayer(const RenderStyle* other, unsigned&amp;) const
</del><ins>+bool RenderStyle::changeRequiresRecompositeLayer(const RenderStyle&amp; other, unsigned&amp;) const
</ins><span class="cx"> {
</span><del>-    if (rareNonInheritedData.get() != other-&gt;rareNonInheritedData.get()) {
-        if (rareNonInheritedData-&gt;m_transformStyle3D != other-&gt;rareNonInheritedData-&gt;m_transformStyle3D
-            || rareNonInheritedData-&gt;m_backfaceVisibility != other-&gt;rareNonInheritedData-&gt;m_backfaceVisibility
-            || rareNonInheritedData-&gt;m_perspective != other-&gt;rareNonInheritedData-&gt;m_perspective
-            || rareNonInheritedData-&gt;m_perspectiveOriginX != other-&gt;rareNonInheritedData-&gt;m_perspectiveOriginX
-            || rareNonInheritedData-&gt;m_perspectiveOriginY != other-&gt;rareNonInheritedData-&gt;m_perspectiveOriginY)
</del><ins>+    if (rareNonInheritedData.get() != other.rareNonInheritedData.get()) {
+        if (rareNonInheritedData-&gt;m_transformStyle3D != other.rareNonInheritedData-&gt;m_transformStyle3D
+            || rareNonInheritedData-&gt;m_backfaceVisibility != other.rareNonInheritedData-&gt;m_backfaceVisibility
+            || rareNonInheritedData-&gt;m_perspective != other.rareNonInheritedData-&gt;m_perspective
+            || rareNonInheritedData-&gt;m_perspectiveOriginX != other.rareNonInheritedData-&gt;m_perspectiveOriginX
+            || rareNonInheritedData-&gt;m_perspectiveOriginY != other.rareNonInheritedData-&gt;m_perspectiveOriginY)
</ins><span class="cx">             return true;
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     return false;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-StyleDifference RenderStyle::diff(const RenderStyle* other, unsigned&amp; changedContextSensitiveProperties) const
</del><ins>+StyleDifference RenderStyle::diff(const RenderStyle&amp; other, unsigned&amp; changedContextSensitiveProperties) const
</ins><span class="cx"> {
</span><span class="cx">     changedContextSensitiveProperties = ContextSensitivePropertyNone;
</span><span class="cx"> 
</span><span class="cx">     StyleDifference svgChange = StyleDifferenceEqual;
</span><del>-    if (m_svgStyle != other-&gt;m_svgStyle) {
-        svgChange = m_svgStyle-&gt;diff(other-&gt;m_svgStyle.get());
</del><ins>+    if (m_svgStyle != other.m_svgStyle) {
+        svgChange = m_svgStyle-&gt;diff(other.m_svgStyle.get());
</ins><span class="cx">         if (svgChange == StyleDifferenceLayout)
</span><span class="cx">             return svgChange;
</span><span class="cx">     }
</span><span class="lines">@@ -816,10 +816,10 @@
</span><span class="cx"> {
</span><span class="cx">     unsigned changedContextSensitiveProperties = 0;
</span><span class="cx"> 
</span><del>-    if (changeRequiresRepaint(&amp;style, changedContextSensitiveProperties))
</del><ins>+    if (changeRequiresRepaint(style, changedContextSensitiveProperties))
</ins><span class="cx">         return true;
</span><span class="cx"> 
</span><del>-    if (isComposited &amp;&amp; changeRequiresLayerRepaint(&amp;style, changedContextSensitiveProperties))
</del><ins>+    if (isComposited &amp;&amp; changeRequiresLayerRepaint(style, changedContextSensitiveProperties))
</ins><span class="cx">         return changedContextSensitiveProperties &amp; ContextSensitivePropertyClipRect;
</span><span class="cx"> 
</span><span class="cx">     return false;
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingstyleRenderStyleh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/style/RenderStyle.h (175582 => 175583)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/style/RenderStyle.h        2014-11-04 22:38:56 UTC (rev 175582)
+++ trunk/Source/WebCore/rendering/style/RenderStyle.h        2014-11-04 23:00:48 UTC (rev 175583)
</span><span class="lines">@@ -1734,7 +1734,7 @@
</span><span class="cx">     bool equalForTextAutosizing(const RenderStyle *other) const;
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><del>-    StyleDifference diff(const RenderStyle*, unsigned&amp; changedContextSensitiveProperties) const;
</del><ins>+    StyleDifference diff(const RenderStyle&amp;, unsigned&amp; changedContextSensitiveProperties) const;
</ins><span class="cx">     bool diffRequiresLayerRepaint(const RenderStyle&amp;, bool isComposited) const;
</span><span class="cx"> 
</span><span class="cx">     bool isDisplayReplacedType() const { return isDisplayReplacedType(display()); }
</span><span class="lines">@@ -2004,12 +2004,12 @@
</span><span class="cx"> 
</span><span class="cx"> private:
</span><span class="cx">     bool changeAffectsVisualOverflow(const RenderStyle&amp;) const;
</span><del>-    bool changeRequiresLayout(const RenderStyle*, unsigned&amp; changedContextSensitiveProperties) const;
-    bool changeRequiresPositionedLayoutOnly(const RenderStyle*, unsigned&amp; changedContextSensitiveProperties) const;
-    bool changeRequiresLayerRepaint(const RenderStyle*, unsigned&amp; changedContextSensitiveProperties) const;
-    bool changeRequiresRepaint(const RenderStyle*, unsigned&amp; changedContextSensitiveProperties) const;
-    bool changeRequiresRepaintIfTextOrBorderOrOutline(const RenderStyle*, unsigned&amp; changedContextSensitiveProperties) const;
-    bool changeRequiresRecompositeLayer(const RenderStyle*, unsigned&amp; changedContextSensitiveProperties) const;
</del><ins>+    bool changeRequiresLayout(const RenderStyle&amp;, unsigned&amp; changedContextSensitiveProperties) const;
+    bool changeRequiresPositionedLayoutOnly(const RenderStyle&amp;, unsigned&amp; changedContextSensitiveProperties) const;
+    bool changeRequiresLayerRepaint(const RenderStyle&amp;, unsigned&amp; changedContextSensitiveProperties) const;
+    bool changeRequiresRepaint(const RenderStyle&amp;, unsigned&amp; changedContextSensitiveProperties) const;
+    bool changeRequiresRepaintIfTextOrBorderOrOutline(const RenderStyle&amp;, unsigned&amp; changedContextSensitiveProperties) const;
+    bool changeRequiresRecompositeLayer(const RenderStyle&amp;, unsigned&amp; changedContextSensitiveProperties) const;
</ins><span class="cx"> 
</span><span class="cx">     void setVisitedLinkColor(const Color&amp;);
</span><span class="cx">     void setVisitedLinkBackgroundColor(const Color&amp; v) { SET_VAR(rareNonInheritedData, m_visitedLinkBackgroundColor, v); }
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingstyleStyleGeneratedImagecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/style/StyleGeneratedImage.cpp (175582 => 175583)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/style/StyleGeneratedImage.cpp        2014-11-04 22:38:56 UTC (rev 175582)
+++ trunk/Source/WebCore/rendering/style/StyleGeneratedImage.cpp        2014-11-04 23:00:48 UTC (rev 175583)
</span><span class="lines">@@ -39,7 +39,7 @@
</span><span class="cx"> 
</span><span class="cx"> PassRefPtr&lt;CSSValue&gt; StyleGeneratedImage::cssValue() const
</span><span class="cx"> {
</span><del>-    return &amp;const_cast&lt;CSSImageGeneratorValue&amp;&gt;(m_imageGeneratorValue.get());
</del><ins>+    return const_cast&lt;CSSImageGeneratorValue*&gt;(m_imageGeneratorValue.ptr());
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> FloatSize StyleGeneratedImage::imageSize(const RenderElement* renderer, float multiplier) const
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingstyleStyleGeneratedImageh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/style/StyleGeneratedImage.h (175582 => 175583)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/style/StyleGeneratedImage.h        2014-11-04 22:38:56 UTC (rev 175582)
+++ trunk/Source/WebCore/rendering/style/StyleGeneratedImage.h        2014-11-04 23:00:48 UTC (rev 175583)
</span><span class="lines">@@ -41,7 +41,7 @@
</span><span class="cx">     CSSImageGeneratorValue&amp; imageValue() { return m_imageGeneratorValue; }
</span><span class="cx"> 
</span><span class="cx"> private:
</span><del>-    virtual WrappedImagePtr data() const override { return &amp;m_imageGeneratorValue.get(); }
</del><ins>+    virtual WrappedImagePtr data() const override { return m_imageGeneratorValue.ptr(); }
</ins><span class="cx"> 
</span><span class="cx">     virtual PassRefPtr&lt;CSSValue&gt; cssValue() const override;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorestyleStyleResolveForDocumentcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/style/StyleResolveForDocument.cpp (175582 => 175583)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/style/StyleResolveForDocument.cpp        2014-11-04 22:38:56 UTC (rev 175582)
+++ trunk/Source/WebCore/style/StyleResolveForDocument.cpp        2014-11-04 23:00:48 UTC (rev 175583)
</span><span class="lines">@@ -90,7 +90,7 @@
</span><span class="cx">         documentStyle.get().setColumnStylesFromPaginationMode(pagination.mode);
</span><span class="cx">         documentStyle.get().setColumnGap(pagination.gap);
</span><span class="cx">         if (renderView.multiColumnFlowThread())
</span><del>-            renderView.updateColumnProgressionFromStyle(&amp;documentStyle.get());
</del><ins>+            renderView.updateColumnProgressionFromStyle(documentStyle.get());
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     const Settings&amp; settings = renderView.frame().settings();
</span><span class="lines">@@ -108,7 +108,7 @@
</span><span class="cx">     int size = fontSizeForKeyword(CSSValueMedium, false, document);
</span><span class="cx">     fontDescription.setSpecifiedSize(size);
</span><span class="cx">     bool useSVGZoomRules = document.isSVGDocument();
</span><del>-    fontDescription.setComputedSize(computedFontSizeFromSpecifiedSize(size, fontDescription.isAbsoluteSize(), useSVGZoomRules, &amp;documentStyle.get(), document));
</del><ins>+    fontDescription.setComputedSize(computedFontSizeFromSpecifiedSize(size, fontDescription.isAbsoluteSize(), useSVGZoomRules, documentStyle.ptr(), document));
</ins><span class="cx"> 
</span><span class="cx">     FontOrientation fontOrientation;
</span><span class="cx">     NonCJKGlyphOrientation glyphOrientation;
</span><span class="lines">@@ -118,7 +118,7 @@
</span><span class="cx"> 
</span><span class="cx">     documentStyle.get().setFontDescription(fontDescription);
</span><span class="cx"> 
</span><del>-    CSSFontSelector* fontSelector = document.styleResolverIfExists() ? document.styleResolverIfExists()-&gt;fontSelector() : 0;
</del><ins>+    CSSFontSelector* fontSelector = document.styleResolverIfExists() ? document.styleResolverIfExists()-&gt;fontSelector() : nullptr;
</ins><span class="cx">     documentStyle.get().font().update(fontSelector);
</span><span class="cx"> 
</span><span class="cx">     return documentStyle;
</span></span></pre></div>
<a id="trunkSourceWebCorestyleStyleResolveTreecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/style/StyleResolveTree.cpp (175582 => 175583)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/style/StyleResolveTree.cpp        2014-11-04 22:38:56 UTC (rev 175582)
+++ trunk/Source/WebCore/style/StyleResolveTree.cpp        2014-11-04 23:00:48 UTC (rev 175583)
</span><span class="lines">@@ -93,54 +93,52 @@
</span><span class="cx"> static void resolveTextNode(Text&amp;, RenderTreePosition&amp;);
</span><span class="cx"> static void resolveTree(Element&amp;, RenderStyle&amp; inheritedStyle, RenderTreePosition&amp;, Change);
</span><span class="cx"> 
</span><del>-Change determineChange(const RenderStyle* s1, const RenderStyle* s2)
</del><ins>+Change determineChange(const RenderStyle&amp; s1, const RenderStyle&amp; s2)
</ins><span class="cx"> {
</span><del>-    if (!s1 || !s2)
</del><ins>+    if (s1.display() != s2.display())
</ins><span class="cx">         return Detach;
</span><del>-    if (s1-&gt;display() != s2-&gt;display())
</del><ins>+    if (s1.hasPseudoStyle(FIRST_LETTER) != s2.hasPseudoStyle(FIRST_LETTER))
</ins><span class="cx">         return Detach;
</span><del>-    if (s1-&gt;hasPseudoStyle(FIRST_LETTER) != s2-&gt;hasPseudoStyle(FIRST_LETTER))
-        return Detach;
</del><span class="cx">     // We just detach if a renderer acquires or loses a column-span, since spanning elements
</span><span class="cx">     // typically won't contain much content.
</span><del>-    if (s1-&gt;columnSpan() != s2-&gt;columnSpan())
</del><ins>+    if (s1.columnSpan() != s2.columnSpan())
</ins><span class="cx">         return Detach;
</span><del>-    if (!s1-&gt;contentDataEquivalent(s2))
</del><ins>+    if (!s1.contentDataEquivalent(&amp;s2))
</ins><span class="cx">         return Detach;
</span><span class="cx">     // When text-combine property has been changed, we need to prepare a separate renderer object.
</span><span class="cx">     // When text-combine is on, we use RenderCombineText, otherwise RenderText.
</span><span class="cx">     // https://bugs.webkit.org/show_bug.cgi?id=55069
</span><del>-    if (s1-&gt;hasTextCombine() != s2-&gt;hasTextCombine())
</del><ins>+    if (s1.hasTextCombine() != s2.hasTextCombine())
</ins><span class="cx">         return Detach;
</span><span class="cx">     // We need to reattach the node, so that it is moved to the correct RenderFlowThread.
</span><del>-    if (s1-&gt;flowThread() != s2-&gt;flowThread())
</del><ins>+    if (s1.flowThread() != s2.flowThread())
</ins><span class="cx">         return Detach;
</span><span class="cx">     // When the region thread has changed, we need to prepare a separate render region object.
</span><del>-    if (s1-&gt;regionThread() != s2-&gt;regionThread())
</del><ins>+    if (s1.regionThread() != s2.regionThread())
</ins><span class="cx">         return Detach;
</span><span class="cx">     // FIXME: Multicolumn regions not yet supported (http://dev.w3.org/csswg/css-regions/#multi-column-regions)
</span><span class="cx">     // When the node has region style and changed its multicol style, we have to prepare
</span><span class="cx">     // a separate render region object.
</span><del>-    if (s1-&gt;hasFlowFrom() &amp;&amp; (s1-&gt;specifiesColumns() != s2-&gt;specifiesColumns()))
</del><ins>+    if (s1.hasFlowFrom() &amp;&amp; (s1.specifiesColumns() != s2.specifiesColumns()))
</ins><span class="cx">         return Detach;
</span><span class="cx"> 
</span><del>-    if (*s1 != *s2) {
-        if (s1-&gt;inheritedNotEqual(s2))
</del><ins>+    if (s1 != s2) {
+        if (s1.inheritedNotEqual(&amp;s2))
</ins><span class="cx">             return Inherit;
</span><del>-        if (s1-&gt;hasExplicitlyInheritedProperties() || s2-&gt;hasExplicitlyInheritedProperties())
</del><ins>+        if (s1.hasExplicitlyInheritedProperties() || s2.hasExplicitlyInheritedProperties())
</ins><span class="cx">             return Inherit;
</span><span class="cx"> 
</span><span class="cx">         return NoInherit;
</span><span class="cx">     }
</span><span class="cx">     // If the pseudoStyles have changed, we want any StyleChange that is not NoChange
</span><span class="cx">     // because setStyle will do the right thing with anything else.
</span><del>-    if (s1-&gt;hasAnyPublicPseudoStyles()) {
</del><ins>+    if (s1.hasAnyPublicPseudoStyles()) {
</ins><span class="cx">         for (PseudoId pseudoId = FIRST_PUBLIC_PSEUDOID; pseudoId &lt; FIRST_INTERNAL_PSEUDOID; pseudoId = static_cast&lt;PseudoId&gt;(pseudoId + 1)) {
</span><del>-            if (s1-&gt;hasPseudoStyle(pseudoId)) {
-                RenderStyle* ps2 = s2-&gt;getCachedPseudoStyle(pseudoId);
</del><ins>+            if (s1.hasPseudoStyle(pseudoId)) {
+                RenderStyle* ps2 = s2.getCachedPseudoStyle(pseudoId);
</ins><span class="cx">                 if (!ps2)
</span><span class="cx">                     return NoInherit;
</span><del>-                RenderStyle* ps1 = s1-&gt;getCachedPseudoStyle(pseudoId);
</del><ins>+                RenderStyle* ps1 = s1.getCachedPseudoStyle(pseudoId);
</ins><span class="cx">                 if (!ps1 || *ps1 != *ps2)
</span><span class="cx">                     return NoInherit;
</span><span class="cx">             }
</span><span class="lines">@@ -750,8 +748,9 @@
</span><span class="cx"> 
</span><span class="cx">     Document&amp; document = current.document();
</span><span class="cx">     if (currentStyle &amp;&amp; current.styleChangeType() != ReconstructRenderTree) {
</span><del>-        newStyle = styleForElement(current, inheritedStyle);
-        localChange = determineChange(currentStyle.get(), newStyle.get());
</del><ins>+        Ref&lt;RenderStyle&gt; style(styleForElement(current, inheritedStyle));
+        newStyle = style.ptr();
+        localChange = determineChange(*currentStyle, style);
</ins><span class="cx">     }
</span><span class="cx">     if (localChange == Detach) {
</span><span class="cx">         if (current.renderer() || current.isNamedFlowContentNode())
</span><span class="lines">@@ -984,7 +983,7 @@
</span><span class="cx">                 documentStyle.get().font().update(styleResolver-&gt;fontSelector());
</span><span class="cx">         }
</span><span class="cx"> 
</span><del>-        Style::Change documentChange = determineChange(&amp;documentStyle.get(), &amp;document.renderView()-&gt;style());
</del><ins>+        Style::Change documentChange = determineChange(documentStyle.get(), document.renderView()-&gt;style());
</ins><span class="cx">         if (documentChange != NoChange)
</span><span class="cx">             document.renderView()-&gt;setStyle(WTF::move(documentStyle));
</span><span class="cx">         else
</span></span></pre></div>
<a id="trunkSourceWebCorestyleStyleResolveTreeh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/style/StyleResolveTree.h (175582 => 175583)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/style/StyleResolveTree.h        2014-11-04 22:38:56 UTC (rev 175582)
+++ trunk/Source/WebCore/style/StyleResolveTree.h        2014-11-04 23:00:48 UTC (rev 175583)
</span><span class="lines">@@ -47,7 +47,7 @@
</span><span class="cx"> 
</span><span class="cx"> void updateTextRendererAfterContentChange(Text&amp;, unsigned offsetOfReplacedData, unsigned lengthOfReplacedData);
</span><span class="cx"> 
</span><del>-Change determineChange(const RenderStyle*, const RenderStyle*);
</del><ins>+Change determineChange(const RenderStyle&amp;, const RenderStyle&amp;);
</ins><span class="cx"> 
</span><span class="cx"> void queuePostResolutionCallback(std::function&lt;void ()&gt;);
</span><span class="cx"> bool postResolutionCallbacksAreSuspended();
</span></span></pre></div>
<a id="trunkSourceWebKitmacChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/mac/ChangeLog (175582 => 175583)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/mac/ChangeLog        2014-11-04 22:38:56 UTC (rev 175582)
+++ trunk/Source/WebKit/mac/ChangeLog        2014-11-04 23:00:48 UTC (rev 175583)
</span><span class="lines">@@ -1,3 +1,20 @@
</span><ins>+2014-11-04  Chris Dumez  &lt;cdumez@apple.com&gt;
+
+        Add ptr() method to Ref class
+        https://bugs.webkit.org/show_bug.cgi?id=138361
+
+        Reviewed by Darin Adler.
+
+        Use the new Ref::ptr() method.
+
+        * WebView/WebFrame.mm:
+        (-[WebFrame _setTypingStyle:withUndoAction:]):
+        * WebView/WebHTMLView.mm:
+        (-[WebHTMLView _applyStyleToSelection:withUndoAction:]):
+        (-[WebHTMLView _changeCSSColorUsingSelector:inRange:]):
+        * WebView/WebView.mm:
+        (-[WebView applyStyle:]):
+
</ins><span class="cx"> 2014-11-04  Darin Adler  &lt;darin@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Eliminate ResourceBuffer and use SharedBuffer directly instead
</span></span></pre></div>
<a id="trunkSourceWebKitmacWebViewWebFramemm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/mac/WebView/WebFrame.mm (175582 => 175583)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/mac/WebView/WebFrame.mm        2014-11-04 22:38:56 UTC (rev 175582)
+++ trunk/Source/WebKit/mac/WebView/WebFrame.mm        2014-11-04 23:00:48 UTC (rev 175583)
</span><span class="lines">@@ -953,7 +953,7 @@
</span><span class="cx">         return;
</span><span class="cx">     // FIXME: We shouldn't have to create a copy here.
</span><span class="cx">     Ref&lt;MutableStyleProperties&gt; properties(core(style)-&gt;copyProperties());
</span><del>-    _private-&gt;coreFrame-&gt;editor().computeAndSetTypingStyle(&amp;properties.get(), undoAction);
</del><ins>+    _private-&gt;coreFrame-&gt;editor().computeAndSetTypingStyle(properties.ptr(), undoAction);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(DRAG_SUPPORT)
</span></span></pre></div>
<a id="trunkSourceWebKitmacWebViewWebHTMLViewmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/mac/WebView/WebHTMLView.mm (175582 => 175583)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/mac/WebView/WebHTMLView.mm        2014-11-04 22:38:56 UTC (rev 175582)
+++ trunk/Source/WebKit/mac/WebView/WebHTMLView.mm        2014-11-04 23:00:48 UTC (rev 175583)
</span><span class="lines">@@ -4755,7 +4755,7 @@
</span><span class="cx">     if (Frame* coreFrame = core([self _frame])) {
</span><span class="cx">         // FIXME: We shouldn't have to make a copy here. We want callers of this function to work directly with StyleProperties eventually.
</span><span class="cx">         Ref&lt;MutableStyleProperties&gt; properties(core(style)-&gt;copyProperties());
</span><del>-        coreFrame-&gt;editor().applyStyleToSelection(&amp;properties.get(), undoAction);
</del><ins>+        coreFrame-&gt;editor().applyStyleToSelection(properties.ptr(), undoAction);
</ins><span class="cx">     }
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -5065,7 +5065,7 @@
</span><span class="cx">         if (Frame* coreFrame = core([self _frame])) {
</span><span class="cx">             // FIXME: We shouldn't have to make a copy here.
</span><span class="cx">             Ref&lt;MutableStyleProperties&gt; properties(core(style)-&gt;copyProperties());
</span><del>-            coreFrame-&gt;editor().applyStyle(&amp;properties.get(), [self _undoActionFromColorPanelWithSelector:selector]);
</del><ins>+            coreFrame-&gt;editor().applyStyle(properties.ptr(), [self _undoActionFromColorPanelWithSelector:selector]);
</ins><span class="cx">         }
</span><span class="cx">     }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebKitmacWebViewWebViewmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/mac/WebView/WebView.mm (175582 => 175583)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/mac/WebView/WebView.mm        2014-11-04 22:38:56 UTC (rev 175582)
+++ trunk/Source/WebKit/mac/WebView/WebView.mm        2014-11-04 23:00:48 UTC (rev 175583)
</span><span class="lines">@@ -7540,7 +7540,7 @@
</span><span class="cx">     if (Frame* coreFrame = core(webFrame)) {
</span><span class="cx">         // FIXME: We shouldn't have to make a copy here.
</span><span class="cx">         Ref&lt;MutableStyleProperties&gt; properties(core(style)-&gt;copyProperties());
</span><del>-        coreFrame-&gt;editor().applyStyle(&amp;properties.get());
</del><ins>+        coreFrame-&gt;editor().applyStyle(properties.ptr());
</ins><span class="cx">     }
</span><span class="cx"> }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebKit2ChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/ChangeLog (175582 => 175583)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/ChangeLog        2014-11-04 22:38:56 UTC (rev 175582)
+++ trunk/Source/WebKit2/ChangeLog        2014-11-04 23:00:48 UTC (rev 175583)
</span><span class="lines">@@ -1,3 +1,22 @@
</span><ins>+2014-11-04  Chris Dumez  &lt;cdumez@apple.com&gt;
+
+        Add ptr() method to Ref class
+        https://bugs.webkit.org/show_bug.cgi?id=138361
+
+        Reviewed by Darin Adler.
+
+        Use the new Ref::ptr() method.
+
+        * UIProcess/WebContext.cpp:
+        (WebKit::WebContext::createWebPage):
+        * UIProcess/WebPageProxy.cpp:
+        (WebKit::WebPageProxy::setPreferences):
+        * UIProcess/WebProcessProxy.cpp:
+        (WebKit::WebProcessProxy::didNavigateWithNavigationData):
+        (WebKit::WebProcessProxy::didPerformClientRedirect):
+        (WebKit::WebProcessProxy::didPerformServerRedirect):
+        (WebKit::WebProcessProxy::didUpdateHistoryTitle):
+
</ins><span class="cx"> 2014-11-04  Andy Estes  &lt;aestes@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         [iOS] Include a WKActionSheetAssistant parameter in WKActionSheetAssistantDelegate methods
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessWebContextcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/WebContext.cpp (175582 => 175583)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/WebContext.cpp        2014-11-04 22:38:56 UTC (rev 175582)
+++ trunk/Source/WebKit2/UIProcess/WebContext.cpp        2014-11-04 23:00:48 UTC (rev 175583)
</span><span class="lines">@@ -855,7 +855,7 @@
</span><span class="cx"> PassRefPtr&lt;WebPageProxy&gt; WebContext::createWebPage(PageClient&amp; pageClient, WebPageConfiguration configuration)
</span><span class="cx"> {
</span><span class="cx">     if (!configuration.pageGroup)
</span><del>-        configuration.pageGroup = &amp;m_defaultPageGroup.get();
</del><ins>+        configuration.pageGroup = m_defaultPageGroup.ptr();
</ins><span class="cx">     if (!configuration.preferences)
</span><span class="cx">         configuration.preferences = &amp;configuration.pageGroup-&gt;preferences();
</span><span class="cx">     if (!configuration.visitedLinkProvider)
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessWebPageProxycpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp (175582 => 175583)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp        2014-11-04 22:38:56 UTC (rev 175582)
+++ trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp        2014-11-04 23:00:48 UTC (rev 175583)
</span><span class="lines">@@ -467,7 +467,7 @@
</span><span class="cx"> 
</span><span class="cx"> void WebPageProxy::setPreferences(WebPreferences&amp; preferences)
</span><span class="cx"> {
</span><del>-    if (&amp;preferences == &amp;m_preferences.get())
</del><ins>+    if (&amp;preferences == m_preferences.ptr())
</ins><span class="cx">         return;
</span><span class="cx"> 
</span><span class="cx">     m_preferences-&gt;removePage(*this);
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessWebProcessProxycpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/WebProcessProxy.cpp (175582 => 175583)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/WebProcessProxy.cpp        2014-11-04 22:38:56 UTC (rev 175582)
+++ trunk/Source/WebKit2/UIProcess/WebProcessProxy.cpp        2014-11-04 23:00:48 UTC (rev 175583)
</span><span class="lines">@@ -629,7 +629,7 @@
</span><span class="cx">     MESSAGE_CHECK(frame);
</span><span class="cx">     MESSAGE_CHECK(frame-&gt;page() == page);
</span><span class="cx">     
</span><del>-    m_context-&gt;historyClient().didNavigateWithNavigationData(&amp;m_context.get(), page, store, frame);
</del><ins>+    m_context-&gt;historyClient().didNavigateWithNavigationData(m_context.ptr(), page, store, frame);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void WebProcessProxy::didPerformClientRedirect(uint64_t pageID, const String&amp; sourceURLString, const String&amp; destinationURLString, uint64_t frameID)
</span><span class="lines">@@ -647,7 +647,7 @@
</span><span class="cx">     MESSAGE_CHECK_URL(sourceURLString);
</span><span class="cx">     MESSAGE_CHECK_URL(destinationURLString);
</span><span class="cx"> 
</span><del>-    m_context-&gt;historyClient().didPerformClientRedirect(&amp;m_context.get(), page, sourceURLString, destinationURLString, frame);
</del><ins>+    m_context-&gt;historyClient().didPerformClientRedirect(m_context.ptr(), page, sourceURLString, destinationURLString, frame);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void WebProcessProxy::didPerformServerRedirect(uint64_t pageID, const String&amp; sourceURLString, const String&amp; destinationURLString, uint64_t frameID)
</span><span class="lines">@@ -665,7 +665,7 @@
</span><span class="cx">     MESSAGE_CHECK_URL(sourceURLString);
</span><span class="cx">     MESSAGE_CHECK_URL(destinationURLString);
</span><span class="cx"> 
</span><del>-    m_context-&gt;historyClient().didPerformServerRedirect(&amp;m_context.get(), page, sourceURLString, destinationURLString, frame);
</del><ins>+    m_context-&gt;historyClient().didPerformServerRedirect(m_context.ptr(), page, sourceURLString, destinationURLString, frame);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void WebProcessProxy::didUpdateHistoryTitle(uint64_t pageID, const String&amp; title, const String&amp; url, uint64_t frameID)
</span><span class="lines">@@ -679,7 +679,7 @@
</span><span class="cx">     MESSAGE_CHECK(frame-&gt;page() == page);
</span><span class="cx">     MESSAGE_CHECK_URL(url);
</span><span class="cx"> 
</span><del>-    m_context-&gt;historyClient().didUpdateHistoryTitle(&amp;m_context.get(), page, title, url, frame);
</del><ins>+    m_context-&gt;historyClient().didUpdateHistoryTitle(m_context.ptr(), page, title, url, frame);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void WebProcessProxy::pageSuppressibilityChanged(WebKit::WebPageProxy *page)
</span></span></pre></div>
<a id="trunkToolsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Tools/ChangeLog (175582 => 175583)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/ChangeLog        2014-11-04 22:38:56 UTC (rev 175582)
+++ trunk/Tools/ChangeLog        2014-11-04 23:00:48 UTC (rev 175583)
</span><span class="lines">@@ -1,3 +1,15 @@
</span><ins>+2014-11-04  Chris Dumez  &lt;cdumez@apple.com&gt;
+
+        Add ptr() method to Ref class
+        https://bugs.webkit.org/show_bug.cgi?id=138361
+
+        Reviewed by Darin Adler.
+
+        Use the new Ref::ptr() method.
+
+        * TestWebKitAPI/Tests/WTF/Ref.cpp:
+        (TestWebKitAPI::TEST):
+
</ins><span class="cx"> 2014-11-04  Tibor Meszaros  &lt;tmeszaros.u-szeged@partner.samsung.com&gt;
</span><span class="cx"> 
</span><span class="cx">         [jhbuild] Make it possible to build GTK/EFL in same repository
</span></span></pre></div>
<a id="trunkToolsTestWebKitAPITestsWTFRefcpp"></a>
<div class="modfile"><h4>Modified: trunk/Tools/TestWebKitAPI/Tests/WTF/Ref.cpp (175582 => 175583)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/TestWebKitAPI/Tests/WTF/Ref.cpp        2014-11-04 22:38:56 UTC (rev 175582)
+++ trunk/Tools/TestWebKitAPI/Tests/WTF/Ref.cpp        2014-11-04 23:00:48 UTC (rev 175583)
</span><span class="lines">@@ -38,14 +38,14 @@
</span><span class="cx"> 
</span><span class="cx">     {
</span><span class="cx">         Ref&lt;RefLogger&gt; ptr(a);
</span><del>-        ASSERT_EQ(&amp;a, &amp;ptr.get());
</del><ins>+        ASSERT_EQ(&amp;a, ptr.ptr());
</ins><span class="cx">         ASSERT_EQ(&amp;a.name, &amp;ptr-&gt;name);
</span><span class="cx">     }
</span><span class="cx">     ASSERT_STREQ(&quot;ref(a) deref(a) &quot;, takeLogStr().c_str());
</span><span class="cx"> 
</span><span class="cx">     {
</span><span class="cx">         Ref&lt;RefLogger&gt; ptr(adoptRef(a));
</span><del>-        ASSERT_EQ(&amp;a, &amp;ptr.get());
</del><ins>+        ASSERT_EQ(&amp;a, ptr.ptr());
</ins><span class="cx">         ASSERT_EQ(&amp;a.name, &amp;ptr-&gt;name);
</span><span class="cx">     }
</span><span class="cx">     ASSERT_STREQ(&quot;deref(a) &quot;, takeLogStr().c_str());
</span><span class="lines">@@ -59,40 +59,40 @@
</span><span class="cx"> 
</span><span class="cx">     {
</span><span class="cx">         Ref&lt;RefLogger&gt; ptr(a);
</span><del>-        ASSERT_EQ(&amp;a, &amp;ptr.get());
</del><ins>+        ASSERT_EQ(&amp;a, ptr.ptr());
</ins><span class="cx">         log() &lt;&lt; &quot;| &quot;;
</span><span class="cx">         ptr = b;
</span><del>-        ASSERT_EQ(&amp;b, &amp;ptr.get());
</del><ins>+        ASSERT_EQ(&amp;b, ptr.ptr());
</ins><span class="cx">         log() &lt;&lt; &quot;| &quot;;
</span><span class="cx">     }
</span><span class="cx">     ASSERT_STREQ(&quot;ref(a) | ref(b) deref(a) | deref(b) &quot;, takeLogStr().c_str());
</span><span class="cx"> 
</span><span class="cx">     {
</span><span class="cx">         Ref&lt;RefLogger&gt; ptr(a);
</span><del>-        ASSERT_EQ(&amp;a, &amp;ptr.get());
</del><ins>+        ASSERT_EQ(&amp;a, ptr.ptr());
</ins><span class="cx">         log() &lt;&lt; &quot;| &quot;;
</span><span class="cx">         ptr = c;
</span><del>-        ASSERT_EQ(&amp;c, &amp;ptr.get());
</del><ins>+        ASSERT_EQ(&amp;c, ptr.ptr());
</ins><span class="cx">         log() &lt;&lt; &quot;| &quot;;
</span><span class="cx">     }
</span><span class="cx">     ASSERT_STREQ(&quot;ref(a) | ref(c) deref(a) | deref(c) &quot;, takeLogStr().c_str());
</span><span class="cx"> 
</span><span class="cx">     {
</span><span class="cx">         Ref&lt;RefLogger&gt; ptr(a);
</span><del>-        ASSERT_EQ(&amp;a, &amp;ptr.get());
</del><ins>+        ASSERT_EQ(&amp;a, ptr.ptr());
</ins><span class="cx">         log() &lt;&lt; &quot;| &quot;;
</span><span class="cx">         ptr = adoptRef(b);
</span><del>-        ASSERT_EQ(&amp;b, &amp;ptr.get());
</del><ins>+        ASSERT_EQ(&amp;b, ptr.ptr());
</ins><span class="cx">         log() &lt;&lt; &quot;| &quot;;
</span><span class="cx">     }
</span><span class="cx">     ASSERT_STREQ(&quot;ref(a) | deref(a) | deref(b) &quot;, takeLogStr().c_str());
</span><span class="cx"> 
</span><span class="cx">     {
</span><span class="cx">         Ref&lt;RefLogger&gt; ptr(a);
</span><del>-        ASSERT_EQ(&amp;a, &amp;ptr.get());
</del><ins>+        ASSERT_EQ(&amp;a, ptr.ptr());
</ins><span class="cx">         log() &lt;&lt; &quot;| &quot;;
</span><span class="cx">         ptr = adoptRef(c);
</span><del>-        ASSERT_EQ(&amp;c, &amp;ptr.get());
</del><ins>+        ASSERT_EQ(&amp;c, ptr.ptr());
</ins><span class="cx">         log() &lt;&lt; &quot;| &quot;;
</span><span class="cx">     }
</span><span class="cx">     ASSERT_STREQ(&quot;ref(a) | deref(a) | deref(c) &quot;, takeLogStr().c_str());
</span><span class="lines">@@ -116,16 +116,16 @@
</span><span class="cx"> 
</span><span class="cx">     {
</span><span class="cx">         Ref&lt;RefLogger&gt; ptr(passWithPassRef(a));
</span><del>-        ASSERT_EQ(&amp;a, &amp;ptr.get());
</del><ins>+        ASSERT_EQ(&amp;a, ptr.ptr());
</ins><span class="cx">     }
</span><span class="cx">     ASSERT_STREQ(&quot;ref(a) deref(a) &quot;, takeLogStr().c_str());
</span><span class="cx"> 
</span><span class="cx">     {
</span><span class="cx">         Ref&lt;RefLogger&gt; ptr(a);
</span><del>-        ASSERT_EQ(&amp;a, &amp;ptr.get());
</del><ins>+        ASSERT_EQ(&amp;a, ptr.ptr());
</ins><span class="cx">         log() &lt;&lt; &quot;| &quot;;
</span><span class="cx">         ptr = passWithPassRef(b);
</span><del>-        ASSERT_EQ(&amp;b, &amp;ptr.get());
</del><ins>+        ASSERT_EQ(&amp;b, ptr.ptr());
</ins><span class="cx">         log() &lt;&lt; &quot;| &quot;;
</span><span class="cx">     }
</span><span class="cx">     ASSERT_STREQ(&quot;ref(a) | ref(b) deref(a) | deref(b) &quot;, takeLogStr().c_str());
</span></span></pre>
</div>
</div>

</body>
</html>