<!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>[194896] trunk/Source/WebCore</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/194896">194896</a></dd>
<dt>Author</dt> <dd>gyuyoung.kim@webkit.org</dd>
<dt>Date</dt> <dd>2016-01-12 09:23:47 -0800 (Tue, 12 Jan 2016)</dd>
</dl>

<h3>Log Message</h3>
<pre>Use a pointer instead of PassRefPtr in AbstractView argument of UIEvent class
https://bugs.webkit.org/show_bug.cgi?id=152829

Reviewed by Darin Adler.

As a step to reduce uses of PassRefPtr, UIEvent class doesn't need to use PassRefPtr for AbstractView argument.
Nobody hands us ownership when making one of these objects.

* dom/FocusEvent.cpp:
(WebCore::FocusEvent::FocusEvent):
* dom/FocusEvent.h:
* dom/KeyboardEvent.cpp:
(WebCore::KeyboardEvent::KeyboardEvent):
* dom/MouseEvent.cpp:
(WebCore::MouseEvent::create):
(WebCore::MouseEvent::MouseEvent):
(WebCore::MouseEvent::initMouseEvent):
(WebCore::SimulatedMouseEvent::create):
(WebCore::SimulatedMouseEvent::SimulatedMouseEvent):
* dom/MouseEvent.h:
* dom/MouseRelatedEvent.cpp:
(WebCore::MouseRelatedEvent::MouseRelatedEvent):
* dom/MouseRelatedEvent.h:
* dom/TextEvent.cpp:
(WebCore::TextEvent::create):
(WebCore::TextEvent::createForPlainTextPaste):
(WebCore::TextEvent::createForFragmentPaste):
(WebCore::TextEvent::createForDrop):
(WebCore::TextEvent::createForDictation):
(WebCore::TextEvent::TextEvent):
(WebCore::TextEvent::initTextEvent):
* dom/TextEvent.h:
* dom/TouchEvent.cpp:
(WebCore::TouchEvent::TouchEvent):
(WebCore::TouchEvent::initTouchEvent):
* dom/TouchEvent.h:
* dom/UIEvent.cpp:
(WebCore::UIEvent::UIEvent):
(WebCore::UIEvent::initUIEvent):
* dom/UIEvent.h:
(WebCore::UIEvent::create):
(WebCore::UIEvent::view):
* dom/UIEventWithKeyState.h:
(WebCore::UIEventWithKeyState::UIEventWithKeyState):</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCoreModulesindieuiUIRequestEventcpp">trunk/Source/WebCore/Modules/indieui/UIRequestEvent.cpp</a></li>
<li><a href="#trunkSourceWebCoreModulesindieuiUIRequestEventh">trunk/Source/WebCore/Modules/indieui/UIRequestEvent.h</a></li>
<li><a href="#trunkSourceWebCoredomFocusEventcpp">trunk/Source/WebCore/dom/FocusEvent.cpp</a></li>
<li><a href="#trunkSourceWebCoredomFocusEventh">trunk/Source/WebCore/dom/FocusEvent.h</a></li>
<li><a href="#trunkSourceWebCoredomKeyboardEventcpp">trunk/Source/WebCore/dom/KeyboardEvent.cpp</a></li>
<li><a href="#trunkSourceWebCoredomMouseEventcpp">trunk/Source/WebCore/dom/MouseEvent.cpp</a></li>
<li><a href="#trunkSourceWebCoredomMouseEventh">trunk/Source/WebCore/dom/MouseEvent.h</a></li>
<li><a href="#trunkSourceWebCoredomMouseRelatedEventcpp">trunk/Source/WebCore/dom/MouseRelatedEvent.cpp</a></li>
<li><a href="#trunkSourceWebCoredomMouseRelatedEventh">trunk/Source/WebCore/dom/MouseRelatedEvent.h</a></li>
<li><a href="#trunkSourceWebCoredomTextEventcpp">trunk/Source/WebCore/dom/TextEvent.cpp</a></li>
<li><a href="#trunkSourceWebCoredomTextEventh">trunk/Source/WebCore/dom/TextEvent.h</a></li>
<li><a href="#trunkSourceWebCoredomTouchEventcpp">trunk/Source/WebCore/dom/TouchEvent.cpp</a></li>
<li><a href="#trunkSourceWebCoredomTouchEventh">trunk/Source/WebCore/dom/TouchEvent.h</a></li>
<li><a href="#trunkSourceWebCoredomUIEventcpp">trunk/Source/WebCore/dom/UIEvent.cpp</a></li>
<li><a href="#trunkSourceWebCoredomUIEventh">trunk/Source/WebCore/dom/UIEvent.h</a></li>
<li><a href="#trunkSourceWebCoredomUIEventWithKeyStateh">trunk/Source/WebCore/dom/UIEventWithKeyState.h</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (194895 => 194896)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2016-01-12 17:23:27 UTC (rev 194895)
+++ trunk/Source/WebCore/ChangeLog        2016-01-12 17:23:47 UTC (rev 194896)
</span><span class="lines">@@ -1,3 +1,50 @@
</span><ins>+2016-01-12  Gyuyoung Kim  &lt;gyuyoung.kim@webkit.org&gt;
+
+        Use a pointer instead of PassRefPtr in AbstractView argument of UIEvent class
+        https://bugs.webkit.org/show_bug.cgi?id=152829
+
+        Reviewed by Darin Adler.
+
+        As a step to reduce uses of PassRefPtr, UIEvent class doesn't need to use PassRefPtr for AbstractView argument.
+        Nobody hands us ownership when making one of these objects.
+
+        * dom/FocusEvent.cpp:
+        (WebCore::FocusEvent::FocusEvent):
+        * dom/FocusEvent.h:
+        * dom/KeyboardEvent.cpp:
+        (WebCore::KeyboardEvent::KeyboardEvent):
+        * dom/MouseEvent.cpp:
+        (WebCore::MouseEvent::create):
+        (WebCore::MouseEvent::MouseEvent):
+        (WebCore::MouseEvent::initMouseEvent):
+        (WebCore::SimulatedMouseEvent::create):
+        (WebCore::SimulatedMouseEvent::SimulatedMouseEvent):
+        * dom/MouseEvent.h:
+        * dom/MouseRelatedEvent.cpp:
+        (WebCore::MouseRelatedEvent::MouseRelatedEvent):
+        * dom/MouseRelatedEvent.h:
+        * dom/TextEvent.cpp:
+        (WebCore::TextEvent::create):
+        (WebCore::TextEvent::createForPlainTextPaste):
+        (WebCore::TextEvent::createForFragmentPaste):
+        (WebCore::TextEvent::createForDrop):
+        (WebCore::TextEvent::createForDictation):
+        (WebCore::TextEvent::TextEvent):
+        (WebCore::TextEvent::initTextEvent):
+        * dom/TextEvent.h:
+        * dom/TouchEvent.cpp:
+        (WebCore::TouchEvent::TouchEvent):
+        (WebCore::TouchEvent::initTouchEvent):
+        * dom/TouchEvent.h:
+        * dom/UIEvent.cpp:
+        (WebCore::UIEvent::UIEvent):
+        (WebCore::UIEvent::initUIEvent):
+        * dom/UIEvent.h:
+        (WebCore::UIEvent::create):
+        (WebCore::UIEvent::view):
+        * dom/UIEventWithKeyState.h:
+        (WebCore::UIEventWithKeyState::UIEventWithKeyState):
+
</ins><span class="cx"> 2016-01-12  Csaba Osztrogonác  &lt;ossy@webkit.org&gt;
</span><span class="cx"> 
</span><span class="cx">         Fix unused-private-field warnings in DisplayListItems.h
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindieuiUIRequestEventcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indieui/UIRequestEvent.cpp (194895 => 194896)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indieui/UIRequestEvent.cpp        2016-01-12 17:23:27 UTC (rev 194895)
+++ trunk/Source/WebCore/Modules/indieui/UIRequestEvent.cpp        2016-01-12 17:23:47 UTC (rev 194896)
</span><span class="lines">@@ -46,18 +46,18 @@
</span><span class="cx">     return adoptRef(*new UIRequestEvent(type, initializer));
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-Ref&lt;UIRequestEvent&gt; UIRequestEvent::create(const AtomicString&amp; type, bool bubbles, bool cancelable, PassRefPtr&lt;AbstractView&gt; view, int detail, PassRefPtr&lt;EventTarget&gt; receiver)
</del><ins>+Ref&lt;UIRequestEvent&gt; UIRequestEvent::create(const AtomicString&amp; type, bool bubbles, bool cancelable, AbstractView* view, int detail, PassRefPtr&lt;EventTarget&gt; receiver)
</ins><span class="cx"> {
</span><span class="cx">     return adoptRef(*new UIRequestEvent(type, bubbles, cancelable, view, detail, receiver));
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> UIRequestEvent::UIRequestEvent(const AtomicString&amp; type, const UIRequestEventInit&amp; initializer)
</span><del>-    : UIEvent(type, initializer.bubbles, initializer.cancelable, initializer.view, initializer.detail)
</del><ins>+    : UIEvent(type, initializer.bubbles, initializer.cancelable, initializer.view.get(), initializer.detail)
</ins><span class="cx">     , m_receiver(initializer.receiver)
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">     
</span><del>-UIRequestEvent::UIRequestEvent(const AtomicString&amp; type, bool bubbles, bool cancelable, PassRefPtr&lt;AbstractView&gt; view, int detail, PassRefPtr&lt;EventTarget&gt; receiver)
</del><ins>+UIRequestEvent::UIRequestEvent(const AtomicString&amp; type, bool bubbles, bool cancelable, AbstractView* view, int detail, PassRefPtr&lt;EventTarget&gt; receiver)
</ins><span class="cx">     : UIEvent(type, bubbles, cancelable, view, detail)
</span><span class="cx">     , m_receiver(receiver)
</span><span class="cx"> {
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindieuiUIRequestEventh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indieui/UIRequestEvent.h (194895 => 194896)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indieui/UIRequestEvent.h        2016-01-12 17:23:27 UTC (rev 194895)
+++ trunk/Source/WebCore/Modules/indieui/UIRequestEvent.h        2016-01-12 17:23:47 UTC (rev 194896)
</span><span class="lines">@@ -42,7 +42,7 @@
</span><span class="cx"> class UIRequestEvent : public UIEvent {
</span><span class="cx"> public:
</span><span class="cx">     static Ref&lt;UIRequestEvent&gt; create();
</span><del>-    static Ref&lt;UIRequestEvent&gt; create(const AtomicString&amp; type, bool bubbles, bool cancelable, PassRefPtr&lt;AbstractView&gt;, int detail, PassRefPtr&lt;EventTarget&gt; receiver);
</del><ins>+    static Ref&lt;UIRequestEvent&gt; create(const AtomicString&amp; type, bool bubbles, bool cancelable, AbstractView*, int detail, PassRefPtr&lt;EventTarget&gt; receiver);
</ins><span class="cx">     
</span><span class="cx">     static Ref&lt;UIRequestEvent&gt; create(const AtomicString&amp; eventType, const UIRequestEventInit&amp;);
</span><span class="cx">     
</span><span class="lines">@@ -51,7 +51,7 @@
</span><span class="cx">     EventTarget* receiver() const { return m_receiver.get(); }
</span><span class="cx"> 
</span><span class="cx"> protected:
</span><del>-    UIRequestEvent(const AtomicString&amp; type, bool bubbles, bool cancelable, PassRefPtr&lt;AbstractView&gt;, int detail, PassRefPtr&lt;EventTarget&gt; receiver);
</del><ins>+    UIRequestEvent(const AtomicString&amp; type, bool bubbles, bool cancelable, AbstractView*, int detail, PassRefPtr&lt;EventTarget&gt; receiver);
</ins><span class="cx">     
</span><span class="cx">     UIRequestEvent(const AtomicString&amp; type, const UIRequestEventInit&amp;);
</span><span class="cx">     
</span></span></pre></div>
<a id="trunkSourceWebCoredomFocusEventcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/FocusEvent.cpp (194895 => 194896)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/FocusEvent.cpp        2016-01-12 17:23:27 UTC (rev 194895)
+++ trunk/Source/WebCore/dom/FocusEvent.cpp        2016-01-12 17:23:47 UTC (rev 194896)
</span><span class="lines">@@ -48,8 +48,8 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-FocusEvent::FocusEvent(const AtomicString&amp; type, bool canBubble, bool cancelable, RefPtr&lt;AbstractView&gt;&amp;&amp; view, int detail, RefPtr&lt;EventTarget&gt;&amp;&amp; relatedTarget)
-    : UIEvent(type, canBubble, cancelable, WTFMove(view), detail)
</del><ins>+FocusEvent::FocusEvent(const AtomicString&amp; type, bool canBubble, bool cancelable, AbstractView* view, int detail, RefPtr&lt;EventTarget&gt;&amp;&amp; relatedTarget)
+    : UIEvent(type, canBubble, cancelable, view, detail)
</ins><span class="cx">     , m_relatedTarget(WTFMove(relatedTarget))
</span><span class="cx"> {
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCoredomFocusEventh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/FocusEvent.h (194895 => 194896)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/FocusEvent.h        2016-01-12 17:23:27 UTC (rev 194895)
+++ trunk/Source/WebCore/dom/FocusEvent.h        2016-01-12 17:23:47 UTC (rev 194896)
</span><span class="lines">@@ -46,9 +46,9 @@
</span><span class="cx">         return adoptRef(*new FocusEvent);
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    static Ref&lt;FocusEvent&gt; create(const AtomicString&amp; type, bool canBubble, bool cancelable, RefPtr&lt;AbstractView&gt;&amp;&amp; view, int detail, RefPtr&lt;EventTarget&gt;&amp;&amp; relatedTarget)
</del><ins>+    static Ref&lt;FocusEvent&gt; create(const AtomicString&amp; type, bool canBubble, bool cancelable, AbstractView* view, int detail, RefPtr&lt;EventTarget&gt;&amp;&amp; relatedTarget)
</ins><span class="cx">     {
</span><del>-        return adoptRef(*new FocusEvent(type, canBubble, cancelable, WTFMove(view), detail, WTFMove(relatedTarget)));
</del><ins>+        return adoptRef(*new FocusEvent(type, canBubble, cancelable, view, detail, WTFMove(relatedTarget)));
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     static Ref&lt;FocusEvent&gt; create(const AtomicString&amp; type, const FocusEventInit&amp; initializer)
</span><span class="lines">@@ -63,7 +63,7 @@
</span><span class="cx"> 
</span><span class="cx"> private:
</span><span class="cx">     FocusEvent();
</span><del>-    FocusEvent(const AtomicString&amp; type, bool canBubble, bool cancelable, RefPtr&lt;AbstractView&gt;&amp;&amp;, int, RefPtr&lt;EventTarget&gt;&amp;&amp;);
</del><ins>+    FocusEvent(const AtomicString&amp; type, bool canBubble, bool cancelable, AbstractView*, int, RefPtr&lt;EventTarget&gt;&amp;&amp;);
</ins><span class="cx">     FocusEvent(const AtomicString&amp; type, const FocusEventInit&amp;);
</span><span class="cx"> 
</span><span class="cx">     virtual bool isFocusEvent() const override;
</span></span></pre></div>
<a id="trunkSourceWebCoredomKeyboardEventcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/KeyboardEvent.cpp (194895 => 194896)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/KeyboardEvent.cpp        2016-01-12 17:23:27 UTC (rev 194895)
+++ trunk/Source/WebCore/dom/KeyboardEvent.cpp        2016-01-12 17:23:47 UTC (rev 194896)
</span><span class="lines">@@ -127,7 +127,7 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> KeyboardEvent::KeyboardEvent(const AtomicString&amp; eventType, const KeyboardEventInit&amp; initializer)
</span><del>-    : UIEventWithKeyState(eventType, initializer.bubbles, initializer.cancelable, initializer.view, initializer.detail, initializer.ctrlKey, initializer.altKey, initializer.shiftKey, initializer.metaKey)
</del><ins>+    : UIEventWithKeyState(eventType, initializer.bubbles, initializer.cancelable, initializer.view.get(), initializer.detail, initializer.ctrlKey, initializer.altKey, initializer.shiftKey, initializer.metaKey)
</ins><span class="cx">     , m_keyIdentifier(initializer.keyIdentifier)
</span><span class="cx">     , m_location(initializer.location)
</span><span class="cx">     , m_altGraphKey(false)
</span></span></pre></div>
<a id="trunkSourceWebCoredomMouseEventcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/MouseEvent.cpp (194895 => 194896)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/MouseEvent.cpp        2016-01-12 17:23:27 UTC (rev 194895)
+++ trunk/Source/WebCore/dom/MouseEvent.cpp        2016-01-12 17:23:47 UTC (rev 194896)
</span><span class="lines">@@ -51,7 +51,7 @@
</span><span class="cx">     return adoptRef(*new MouseEvent(type, initializer));
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-Ref&lt;MouseEvent&gt; MouseEvent::create(const AtomicString&amp; eventType, PassRefPtr&lt;AbstractView&gt; view, const PlatformMouseEvent&amp; event, int detail, PassRefPtr&lt;Node&gt; relatedTarget)
</del><ins>+Ref&lt;MouseEvent&gt; MouseEvent::create(const AtomicString&amp; eventType, AbstractView* view, const PlatformMouseEvent&amp; event, int detail, PassRefPtr&lt;Node&gt; relatedTarget)
</ins><span class="cx"> {
</span><span class="cx">     bool isMouseEnterOrLeave = eventType == eventNames().mouseenterEvent || eventType == eventNames().mouseleaveEvent;
</span><span class="cx">     bool isCancelable = eventType != eventNames().mousemoveEvent &amp;&amp; !isMouseEnterOrLeave;
</span><span class="lines">@@ -66,7 +66,7 @@
</span><span class="cx">         relatedTarget, event.force());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-Ref&lt;MouseEvent&gt; MouseEvent::create(const AtomicString&amp; type, bool canBubble, bool cancelable, double timestamp, PassRefPtr&lt;AbstractView&gt; view,
</del><ins>+Ref&lt;MouseEvent&gt; MouseEvent::create(const AtomicString&amp; type, bool canBubble, bool cancelable, double timestamp, AbstractView* view,
</ins><span class="cx">     int detail, int screenX, int screenY, int pageX, int pageY,
</span><span class="cx"> #if ENABLE(POINTER_LOCK)
</span><span class="cx">     int movementX, int movementY,
</span><span class="lines">@@ -83,7 +83,7 @@
</span><span class="cx">         ctrlKey, altKey, shiftKey, metaKey, button, relatedTarget, force, 0, false);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-Ref&lt;MouseEvent&gt; MouseEvent::create(const AtomicString&amp; type, bool canBubble, bool cancelable, double timestamp, PassRefPtr&lt;AbstractView&gt; view,
</del><ins>+Ref&lt;MouseEvent&gt; MouseEvent::create(const AtomicString&amp; type, bool canBubble, bool cancelable, double timestamp, AbstractView* view,
</ins><span class="cx">     int detail, int screenX, int screenY, int pageX, int pageY,
</span><span class="cx"> #if ENABLE(POINTER_LOCK)
</span><span class="cx">     int movementX, int movementY,
</span><span class="lines">@@ -105,7 +105,7 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-MouseEvent::MouseEvent(const AtomicString&amp; eventType, bool canBubble, bool cancelable, double timestamp, PassRefPtr&lt;AbstractView&gt; view,
</del><ins>+MouseEvent::MouseEvent(const AtomicString&amp; eventType, bool canBubble, bool cancelable, double timestamp, AbstractView* view,
</ins><span class="cx">                        int detail, int screenX, int screenY, int pageX, int pageY,
</span><span class="cx"> #if ENABLE(POINTER_LOCK)
</span><span class="cx">                        int movementX, int movementY,
</span><span class="lines">@@ -128,7 +128,7 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> MouseEvent::MouseEvent(const AtomicString&amp; eventType, const MouseEventInit&amp; initializer)
</span><del>-    : MouseRelatedEvent(eventType, initializer.bubbles, initializer.cancelable, currentTime(), initializer.view, initializer.detail, IntPoint(initializer.screenX, initializer.screenY),
</del><ins>+    : MouseRelatedEvent(eventType, initializer.bubbles, initializer.cancelable, currentTime(), initializer.view.get(), initializer.detail, IntPoint(initializer.screenX, initializer.screenY),
</ins><span class="cx">         IntPoint(0 /* pageX */, 0 /* pageY */),
</span><span class="cx"> #if ENABLE(POINTER_LOCK)
</span><span class="cx">         IntPoint(0 /* movementX */, 0 /* movementY */),
</span><span class="lines">@@ -146,7 +146,7 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void MouseEvent::initMouseEvent(const AtomicString&amp; type, bool canBubble, bool cancelable, PassRefPtr&lt;AbstractView&gt; view,
</del><ins>+void MouseEvent::initMouseEvent(const AtomicString&amp; type, bool canBubble, bool cancelable, AbstractView* view,
</ins><span class="cx">                                 int detail, int screenX, int screenY, int clientX, int clientY,
</span><span class="cx">                                 bool ctrlKey, bool altKey, bool shiftKey, bool metaKey,
</span><span class="cx">                                 unsigned short button, PassRefPtr&lt;EventTarget&gt; relatedTarget)
</span><span class="lines">@@ -256,7 +256,7 @@
</span><span class="cx">     return clonedMouseEvent.release();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-Ref&lt;SimulatedMouseEvent&gt; SimulatedMouseEvent::create(const AtomicString&amp; eventType, PassRefPtr&lt;AbstractView&gt; view, PassRefPtr&lt;Event&gt; underlyingEvent, Element* target)
</del><ins>+Ref&lt;SimulatedMouseEvent&gt; SimulatedMouseEvent::create(const AtomicString&amp; eventType, AbstractView* view, PassRefPtr&lt;Event&gt; underlyingEvent, Element* target)
</ins><span class="cx"> {
</span><span class="cx">     return adoptRef(*new SimulatedMouseEvent(eventType, view, underlyingEvent, target));
</span><span class="cx"> }
</span><span class="lines">@@ -265,7 +265,7 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-SimulatedMouseEvent::SimulatedMouseEvent(const AtomicString&amp; eventType, PassRefPtr&lt;AbstractView&gt; view, PassRefPtr&lt;Event&gt; underlyingEvent, Element* target)
</del><ins>+SimulatedMouseEvent::SimulatedMouseEvent(const AtomicString&amp; eventType, AbstractView* view, PassRefPtr&lt;Event&gt; underlyingEvent, Element* target)
</ins><span class="cx">     : MouseEvent(eventType, true, true, underlyingEvent ? underlyingEvent-&gt;timeStamp() : currentTime(), view, 0, 0, 0, 0, 0,
</span><span class="cx"> #if ENABLE(POINTER_LOCK)
</span><span class="cx">                  0, 0,
</span></span></pre></div>
<a id="trunkSourceWebCoredomMouseEventh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/MouseEvent.h (194895 => 194896)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/MouseEvent.h        2016-01-12 17:23:27 UTC (rev 194895)
+++ trunk/Source/WebCore/dom/MouseEvent.h        2016-01-12 17:23:47 UTC (rev 194896)
</span><span class="lines">@@ -53,7 +53,7 @@
</span><span class="cx">         return adoptRef(*new MouseEvent);
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    static Ref&lt;MouseEvent&gt; create(const AtomicString&amp; type, bool canBubble, bool cancelable, double timestamp, PassRefPtr&lt;AbstractView&gt;,
</del><ins>+    static Ref&lt;MouseEvent&gt; create(const AtomicString&amp; type, bool canBubble, bool cancelable, double timestamp, AbstractView*,
</ins><span class="cx">         int detail, int screenX, int screenY, int pageX, int pageY,
</span><span class="cx"> #if ENABLE(POINTER_LOCK)
</span><span class="cx">         int movementX, int movementY,
</span><span class="lines">@@ -61,7 +61,7 @@
</span><span class="cx">         bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, unsigned short button,
</span><span class="cx">         PassRefPtr&lt;EventTarget&gt; relatedTarget, double force);
</span><span class="cx"> 
</span><del>-    WEBCORE_EXPORT static Ref&lt;MouseEvent&gt; create(const AtomicString&amp; type, bool canBubble, bool cancelable, double timestamp, PassRefPtr&lt;AbstractView&gt;,
</del><ins>+    WEBCORE_EXPORT static Ref&lt;MouseEvent&gt; create(const AtomicString&amp; type, bool canBubble, bool cancelable, double timestamp, AbstractView*,
</ins><span class="cx">         int detail, int screenX, int screenY, int pageX, int pageY,
</span><span class="cx"> #if ENABLE(POINTER_LOCK)
</span><span class="cx">         int movementX, int movementY,
</span><span class="lines">@@ -69,13 +69,13 @@
</span><span class="cx">         bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, unsigned short button,
</span><span class="cx">         PassRefPtr&lt;EventTarget&gt; relatedTarget, double force, PassRefPtr&lt;DataTransfer&gt;, bool isSimulated = false);
</span><span class="cx"> 
</span><del>-    WEBCORE_EXPORT static Ref&lt;MouseEvent&gt; create(const AtomicString&amp; eventType, PassRefPtr&lt;AbstractView&gt;, const PlatformMouseEvent&amp;, int detail, PassRefPtr&lt;Node&gt; relatedTarget);
</del><ins>+    WEBCORE_EXPORT static Ref&lt;MouseEvent&gt; create(const AtomicString&amp; eventType, AbstractView*, const PlatformMouseEvent&amp;, int detail, PassRefPtr&lt;Node&gt; relatedTarget);
</ins><span class="cx"> 
</span><span class="cx">     static Ref&lt;MouseEvent&gt; create(const AtomicString&amp; eventType, const MouseEventInit&amp;);
</span><span class="cx"> 
</span><span class="cx">     virtual ~MouseEvent();
</span><span class="cx"> 
</span><del>-    void initMouseEvent(const AtomicString&amp; type, bool canBubble, bool cancelable, PassRefPtr&lt;AbstractView&gt;,
</del><ins>+    void initMouseEvent(const AtomicString&amp; type, bool canBubble, bool cancelable, AbstractView*,
</ins><span class="cx">         int detail, int screenX, int screenY, int clientX, int clientY,
</span><span class="cx">         bool ctrlKey, bool altKey, bool shiftKey, bool metaKey,
</span><span class="cx">         unsigned short button, PassRefPtr&lt;EventTarget&gt; relatedTarget);
</span><span class="lines">@@ -107,7 +107,7 @@
</span><span class="cx">     virtual PassRefPtr&lt;Event&gt; cloneFor(HTMLIFrameElement*) const override;
</span><span class="cx"> 
</span><span class="cx"> protected:
</span><del>-    MouseEvent(const AtomicString&amp; type, bool canBubble, bool cancelable, double timestamp, PassRefPtr&lt;AbstractView&gt;,
</del><ins>+    MouseEvent(const AtomicString&amp; type, bool canBubble, bool cancelable, double timestamp, AbstractView*,
</ins><span class="cx">         int detail, int screenX, int screenY, int pageX, int pageY,
</span><span class="cx"> #if ENABLE(POINTER_LOCK)
</span><span class="cx">         int movementX, int movementY,
</span><span class="lines">@@ -129,11 +129,11 @@
</span><span class="cx"> 
</span><span class="cx"> class SimulatedMouseEvent final : public MouseEvent {
</span><span class="cx"> public:
</span><del>-    static Ref&lt;SimulatedMouseEvent&gt; create(const AtomicString&amp; eventType, PassRefPtr&lt;AbstractView&gt;, PassRefPtr&lt;Event&gt; underlyingEvent, Element* target);
</del><ins>+    static Ref&lt;SimulatedMouseEvent&gt; create(const AtomicString&amp; eventType, AbstractView*, PassRefPtr&lt;Event&gt; underlyingEvent, Element* target);
</ins><span class="cx">     virtual ~SimulatedMouseEvent();
</span><span class="cx"> 
</span><span class="cx"> private:
</span><del>-    SimulatedMouseEvent(const AtomicString&amp; eventType, PassRefPtr&lt;AbstractView&gt;, PassRefPtr&lt;Event&gt; underlyingEvent, Element* target);
</del><ins>+    SimulatedMouseEvent(const AtomicString&amp; eventType, AbstractView*, PassRefPtr&lt;Event&gt; underlyingEvent, Element* target);
</ins><span class="cx"> };
</span><span class="cx"> 
</span><span class="cx"> } // namespace WebCore
</span></span></pre></div>
<a id="trunkSourceWebCoredomMouseRelatedEventcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/MouseRelatedEvent.cpp (194895 => 194896)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/MouseRelatedEvent.cpp        2016-01-12 17:23:27 UTC (rev 194895)
+++ trunk/Source/WebCore/dom/MouseRelatedEvent.cpp        2016-01-12 17:23:47 UTC (rev 194896)
</span><span class="lines">@@ -55,7 +55,7 @@
</span><span class="cx"> #endif
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-MouseRelatedEvent::MouseRelatedEvent(const AtomicString&amp; eventType, bool canBubble, bool cancelable, double timestamp, PassRefPtr&lt;AbstractView&gt; abstractView,
</del><ins>+MouseRelatedEvent::MouseRelatedEvent(const AtomicString&amp; eventType, bool canBubble, bool cancelable, double timestamp, AbstractView* abstractView,
</ins><span class="cx">                                      int detail, const IntPoint&amp; screenLocation, const IntPoint&amp; windowLocation,
</span><span class="cx"> #if ENABLE(POINTER_LOCK)
</span><span class="cx">                                      const IntPoint&amp; movementDelta,
</span></span></pre></div>
<a id="trunkSourceWebCoredomMouseRelatedEventh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/MouseRelatedEvent.h (194895 => 194896)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/MouseRelatedEvent.h        2016-01-12 17:23:27 UTC (rev 194895)
+++ trunk/Source/WebCore/dom/MouseRelatedEvent.h        2016-01-12 17:23:47 UTC (rev 194896)
</span><span class="lines">@@ -62,7 +62,7 @@
</span><span class="cx"> 
</span><span class="cx">     protected:
</span><span class="cx">         MouseRelatedEvent();
</span><del>-        MouseRelatedEvent(const AtomicString&amp; type, bool canBubble, bool cancelable, double timestamp, PassRefPtr&lt;AbstractView&gt;,
</del><ins>+        MouseRelatedEvent(const AtomicString&amp; type, bool canBubble, bool cancelable, double timestamp, AbstractView*,
</ins><span class="cx">                           int detail, const IntPoint&amp; screenLocation, const IntPoint&amp; windowLocation,
</span><span class="cx"> #if ENABLE(POINTER_LOCK)
</span><span class="cx">                           const IntPoint&amp; movementDelta,
</span></span></pre></div>
<a id="trunkSourceWebCoredomTextEventcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/TextEvent.cpp (194895 => 194896)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/TextEvent.cpp        2016-01-12 17:23:27 UTC (rev 194895)
+++ trunk/Source/WebCore/dom/TextEvent.cpp        2016-01-12 17:23:47 UTC (rev 194896)
</span><span class="lines">@@ -37,27 +37,27 @@
</span><span class="cx">     return adoptRef(*new TextEvent);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-Ref&lt;TextEvent&gt; TextEvent::create(PassRefPtr&lt;AbstractView&gt; view, const String&amp; data, TextEventInputType inputType)
</del><ins>+Ref&lt;TextEvent&gt; TextEvent::create(AbstractView* view, const String&amp; data, TextEventInputType inputType)
</ins><span class="cx"> {
</span><span class="cx">     return adoptRef(*new TextEvent(view, data, inputType));
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-Ref&lt;TextEvent&gt; TextEvent::createForPlainTextPaste(PassRefPtr&lt;AbstractView&gt; view, const String&amp; data, bool shouldSmartReplace)
</del><ins>+Ref&lt;TextEvent&gt; TextEvent::createForPlainTextPaste(AbstractView* view, const String&amp; data, bool shouldSmartReplace)
</ins><span class="cx"> {
</span><span class="cx">     return adoptRef(*new TextEvent(view, data, 0, shouldSmartReplace, false, MailBlockquoteHandling::RespectBlockquote));
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-Ref&lt;TextEvent&gt; TextEvent::createForFragmentPaste(PassRefPtr&lt;AbstractView&gt; view, PassRefPtr&lt;DocumentFragment&gt; data, bool shouldSmartReplace, bool shouldMatchStyle, MailBlockquoteHandling mailBlockquoteHandling)
</del><ins>+Ref&lt;TextEvent&gt; TextEvent::createForFragmentPaste(AbstractView* view, PassRefPtr&lt;DocumentFragment&gt; data, bool shouldSmartReplace, bool shouldMatchStyle, MailBlockquoteHandling mailBlockquoteHandling)
</ins><span class="cx"> {
</span><span class="cx">     return adoptRef(*new TextEvent(view, &quot;&quot;, data, shouldSmartReplace, shouldMatchStyle, mailBlockquoteHandling));
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-Ref&lt;TextEvent&gt; TextEvent::createForDrop(PassRefPtr&lt;AbstractView&gt; view, const String&amp; data)
</del><ins>+Ref&lt;TextEvent&gt; TextEvent::createForDrop(AbstractView* view, const String&amp; data)
</ins><span class="cx"> {
</span><span class="cx">     return adoptRef(*new TextEvent(view, data, TextEventInputDrop));
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-Ref&lt;TextEvent&gt; TextEvent::createForDictation(PassRefPtr&lt;AbstractView&gt; view, const String&amp; data, const Vector&lt;DictationAlternative&gt;&amp; dictationAlternatives)
</del><ins>+Ref&lt;TextEvent&gt; TextEvent::createForDictation(AbstractView* view, const String&amp; data, const Vector&lt;DictationAlternative&gt;&amp; dictationAlternatives)
</ins><span class="cx"> {
</span><span class="cx">     return adoptRef(*new TextEvent(view, data, dictationAlternatives));
</span><span class="cx"> }
</span><span class="lines">@@ -70,7 +70,7 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-TextEvent::TextEvent(PassRefPtr&lt;AbstractView&gt; view, const String&amp; data, TextEventInputType inputType)
</del><ins>+TextEvent::TextEvent(AbstractView* view, const String&amp; data, TextEventInputType inputType)
</ins><span class="cx">     : UIEvent(eventNames().textInputEvent, true, true, view, 0)
</span><span class="cx">     , m_inputType(inputType)
</span><span class="cx">     , m_data(data)
</span><span class="lines">@@ -80,7 +80,7 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-TextEvent::TextEvent(PassRefPtr&lt;AbstractView&gt; view, const String&amp; data, PassRefPtr&lt;DocumentFragment&gt; pastingFragment, bool shouldSmartReplace, bool shouldMatchStyle, MailBlockquoteHandling mailBlockquoteHandling)
</del><ins>+TextEvent::TextEvent(AbstractView* view, const String&amp; data, PassRefPtr&lt;DocumentFragment&gt; pastingFragment, bool shouldSmartReplace, bool shouldMatchStyle, MailBlockquoteHandling mailBlockquoteHandling)
</ins><span class="cx">     : UIEvent(eventNames().textInputEvent, true, true, view, 0)
</span><span class="cx">     , m_inputType(TextEventInputPaste)
</span><span class="cx">     , m_data(data)
</span><span class="lines">@@ -91,7 +91,7 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-TextEvent::TextEvent(PassRefPtr&lt;AbstractView&gt; view, const String&amp; data, const Vector&lt;DictationAlternative&gt;&amp; dictationAlternatives)
</del><ins>+TextEvent::TextEvent(AbstractView* view, const String&amp; data, const Vector&lt;DictationAlternative&gt;&amp; dictationAlternatives)
</ins><span class="cx">     : UIEvent(eventNames().textInputEvent, true, true, view, 0)
</span><span class="cx">     , m_inputType(TextEventInputDictation)
</span><span class="cx">     , m_data(data)
</span><span class="lines">@@ -106,7 +106,7 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void TextEvent::initTextEvent(const AtomicString&amp; type, bool canBubble, bool cancelable, PassRefPtr&lt;AbstractView&gt; view, const String&amp; data)
</del><ins>+void TextEvent::initTextEvent(const AtomicString&amp; type, bool canBubble, bool cancelable, AbstractView* view, const String&amp; data)
</ins><span class="cx"> {
</span><span class="cx">     if (dispatched())
</span><span class="cx">         return;
</span></span></pre></div>
<a id="trunkSourceWebCoredomTextEventh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/TextEvent.h (194895 => 194896)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/TextEvent.h        2016-01-12 17:23:27 UTC (rev 194895)
+++ trunk/Source/WebCore/dom/TextEvent.h        2016-01-12 17:23:47 UTC (rev 194896)
</span><span class="lines">@@ -41,15 +41,15 @@
</span><span class="cx">     public:
</span><span class="cx"> 
</span><span class="cx">         static Ref&lt;TextEvent&gt; create();
</span><del>-        static Ref&lt;TextEvent&gt; create(PassRefPtr&lt;AbstractView&gt;, const String&amp; data, TextEventInputType = TextEventInputKeyboard);
-        static Ref&lt;TextEvent&gt; createForPlainTextPaste(PassRefPtr&lt;AbstractView&gt;, const String&amp; data, bool shouldSmartReplace);
-        static Ref&lt;TextEvent&gt; createForFragmentPaste(PassRefPtr&lt;AbstractView&gt;, PassRefPtr&lt;DocumentFragment&gt; data, bool shouldSmartReplace, bool shouldMatchStyle, MailBlockquoteHandling);
-        static Ref&lt;TextEvent&gt; createForDrop(PassRefPtr&lt;AbstractView&gt;, const String&amp; data);
-        static Ref&lt;TextEvent&gt; createForDictation(PassRefPtr&lt;AbstractView&gt;, const String&amp; data, const Vector&lt;DictationAlternative&gt;&amp; dictationAlternatives);
</del><ins>+        static Ref&lt;TextEvent&gt; create(AbstractView*, const String&amp; data, TextEventInputType = TextEventInputKeyboard);
+        static Ref&lt;TextEvent&gt; createForPlainTextPaste(AbstractView*, const String&amp; data, bool shouldSmartReplace);
+        static Ref&lt;TextEvent&gt; createForFragmentPaste(AbstractView*, PassRefPtr&lt;DocumentFragment&gt; data, bool shouldSmartReplace, bool shouldMatchStyle, MailBlockquoteHandling);
+        static Ref&lt;TextEvent&gt; createForDrop(AbstractView*, const String&amp; data);
+        static Ref&lt;TextEvent&gt; createForDictation(AbstractView*, const String&amp; data, const Vector&lt;DictationAlternative&gt;&amp; dictationAlternatives);
</ins><span class="cx"> 
</span><span class="cx">         virtual ~TextEvent();
</span><span class="cx">     
</span><del>-        void initTextEvent(const AtomicString&amp; type, bool canBubble, bool cancelable, PassRefPtr&lt;AbstractView&gt;, const String&amp; data);
</del><ins>+        void initTextEvent(const AtomicString&amp; type, bool canBubble, bool cancelable, AbstractView*, const String&amp; data);
</ins><span class="cx">     
</span><span class="cx">         String data() const { return m_data; }
</span><span class="cx"> 
</span><span class="lines">@@ -71,9 +71,9 @@
</span><span class="cx">     private:
</span><span class="cx">         TextEvent();
</span><span class="cx"> 
</span><del>-        TextEvent(PassRefPtr&lt;AbstractView&gt;, const String&amp; data, TextEventInputType = TextEventInputKeyboard);
-        TextEvent(PassRefPtr&lt;AbstractView&gt;, const String&amp; data, PassRefPtr&lt;DocumentFragment&gt;, bool shouldSmartReplace, bool shouldMatchStyle, MailBlockquoteHandling);
-        TextEvent(PassRefPtr&lt;AbstractView&gt;, const String&amp; data, const Vector&lt;DictationAlternative&gt;&amp; dictationAlternatives);
</del><ins>+        TextEvent(AbstractView*, const String&amp; data, TextEventInputType = TextEventInputKeyboard);
+        TextEvent(AbstractView*, const String&amp; data, PassRefPtr&lt;DocumentFragment&gt;, bool shouldSmartReplace, bool shouldMatchStyle, MailBlockquoteHandling);
+        TextEvent(AbstractView*, const String&amp; data, const Vector&lt;DictationAlternative&gt;&amp; dictationAlternatives);
</ins><span class="cx"> 
</span><span class="cx">         virtual bool isTextEvent() const override;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoredomTouchEventcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/TouchEvent.cpp (194895 => 194896)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/TouchEvent.cpp        2016-01-12 17:23:27 UTC (rev 194895)
+++ trunk/Source/WebCore/dom/TouchEvent.cpp        2016-01-12 17:23:47 UTC (rev 194896)
</span><span class="lines">@@ -41,7 +41,7 @@
</span><span class="cx"> 
</span><span class="cx"> TouchEvent::TouchEvent(TouchList* touches, TouchList* targetTouches,
</span><span class="cx">         TouchList* changedTouches, const AtomicString&amp; type, 
</span><del>-        PassRefPtr&lt;AbstractView&gt; view, int screenX, int screenY, int pageX, int pageY,
</del><ins>+        AbstractView* view, int screenX, int screenY, int pageX, int pageY,
</ins><span class="cx">         bool ctrlKey, bool altKey, bool shiftKey, bool metaKey)
</span><span class="cx">     : MouseRelatedEvent(type, true, true, currentTime(), view, 0, IntPoint(screenX, screenY),
</span><span class="cx">                         IntPoint(pageX, pageY),
</span><span class="lines">@@ -61,7 +61,7 @@
</span><span class="cx"> 
</span><span class="cx"> void TouchEvent::initTouchEvent(TouchList* touches, TouchList* targetTouches,
</span><span class="cx">         TouchList* changedTouches, const AtomicString&amp; type, 
</span><del>-        PassRefPtr&lt;AbstractView&gt; view, int screenX, int screenY, int clientX, int clientY,
</del><ins>+        AbstractView* view, int screenX, int screenY, int clientX, int clientY,
</ins><span class="cx">         bool ctrlKey, bool altKey, bool shiftKey, bool metaKey)
</span><span class="cx"> {
</span><span class="cx">     if (dispatched())
</span></span></pre></div>
<a id="trunkSourceWebCoredomTouchEventh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/TouchEvent.h (194895 => 194896)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/TouchEvent.h        2016-01-12 17:23:27 UTC (rev 194895)
+++ trunk/Source/WebCore/dom/TouchEvent.h        2016-01-12 17:23:47 UTC (rev 194896)
</span><span class="lines">@@ -46,7 +46,7 @@
</span><span class="cx">     }
</span><span class="cx">     static Ref&lt;TouchEvent&gt; create(TouchList* touches, 
</span><span class="cx">             TouchList* targetTouches, TouchList* changedTouches, 
</span><del>-            const AtomicString&amp; type, PassRefPtr&lt;AbstractView&gt; view,
</del><ins>+            const AtomicString&amp; type, AbstractView* view,
</ins><span class="cx">             int screenX, int screenY, int pageX, int pageY,
</span><span class="cx">             bool ctrlKey, bool altKey, bool shiftKey, bool metaKey)
</span><span class="cx">     {
</span><span class="lines">@@ -57,7 +57,7 @@
</span><span class="cx"> 
</span><span class="cx">     void initTouchEvent(TouchList* touches, TouchList* targetTouches,
</span><span class="cx">             TouchList* changedTouches, const AtomicString&amp; type, 
</span><del>-            PassRefPtr&lt;AbstractView&gt; view, int screenX, int screenY, 
</del><ins>+            AbstractView*, int screenX, int screenY,
</ins><span class="cx">             int clientX, int clientY,
</span><span class="cx">             bool ctrlKey, bool altKey, bool shiftKey, bool metaKey);
</span><span class="cx"> 
</span><span class="lines">@@ -77,7 +77,7 @@
</span><span class="cx">     TouchEvent();
</span><span class="cx">     TouchEvent(TouchList* touches, TouchList* targetTouches,
</span><span class="cx">             TouchList* changedTouches, const AtomicString&amp; type,
</span><del>-            PassRefPtr&lt;AbstractView&gt;, int screenX, int screenY, int pageX,
</del><ins>+            AbstractView*, int screenX, int screenY, int pageX,
</ins><span class="cx">             int pageY,
</span><span class="cx">             bool ctrlKey, bool altKey, bool shiftKey, bool metaKey);
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoredomUIEventcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/UIEvent.cpp (194895 => 194896)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/UIEvent.cpp        2016-01-12 17:23:27 UTC (rev 194895)
+++ trunk/Source/WebCore/dom/UIEvent.cpp        2016-01-12 17:23:47 UTC (rev 194896)
</span><span class="lines">@@ -44,14 +44,14 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-UIEvent::UIEvent(const AtomicString&amp; eventType, bool canBubbleArg, bool cancelableArg, PassRefPtr&lt;AbstractView&gt; viewArg, int detailArg)
</del><ins>+UIEvent::UIEvent(const AtomicString&amp; eventType, bool canBubbleArg, bool cancelableArg, AbstractView* viewArg, int detailArg)
</ins><span class="cx">     : Event(eventType, canBubbleArg, cancelableArg)
</span><span class="cx">     , m_view(viewArg)
</span><span class="cx">     , m_detail(detailArg)
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-UIEvent::UIEvent(const AtomicString&amp; eventType, bool canBubbleArg, bool cancelableArg, double timestamp, PassRefPtr&lt;AbstractView&gt; viewArg, int detailArg)
</del><ins>+UIEvent::UIEvent(const AtomicString&amp; eventType, bool canBubbleArg, bool cancelableArg, double timestamp, AbstractView* viewArg, int detailArg)
</ins><span class="cx">     : Event(eventType, canBubbleArg, cancelableArg, timestamp)
</span><span class="cx">     , m_view(viewArg)
</span><span class="cx">     , m_detail(detailArg)
</span><span class="lines">@@ -60,7 +60,7 @@
</span><span class="cx"> 
</span><span class="cx"> UIEvent::UIEvent(const AtomicString&amp; eventType, const UIEventInit&amp; initializer)
</span><span class="cx">     : Event(eventType, initializer)
</span><del>-    , m_view(initializer.view)
</del><ins>+    , m_view(initializer.view.get())
</ins><span class="cx">     , m_detail(initializer.detail)
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="lines">@@ -69,7 +69,7 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void UIEvent::initUIEvent(const AtomicString&amp; typeArg, bool canBubbleArg, bool cancelableArg, PassRefPtr&lt;AbstractView&gt; viewArg, int detailArg)
</del><ins>+void UIEvent::initUIEvent(const AtomicString&amp; typeArg, bool canBubbleArg, bool cancelableArg, AbstractView* viewArg, int detailArg)
</ins><span class="cx"> {
</span><span class="cx">     if (dispatched())
</span><span class="cx">         return;
</span></span></pre></div>
<a id="trunkSourceWebCoredomUIEventh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/UIEvent.h (194895 => 194896)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/UIEvent.h        2016-01-12 17:23:27 UTC (rev 194895)
+++ trunk/Source/WebCore/dom/UIEvent.h        2016-01-12 17:23:47 UTC (rev 194896)
</span><span class="lines">@@ -45,7 +45,7 @@
</span><span class="cx">     {
</span><span class="cx">         return adoptRef(*new UIEvent);
</span><span class="cx">     }
</span><del>-    static Ref&lt;UIEvent&gt; create(const AtomicString&amp; type, bool canBubble, bool cancelable, PassRefPtr&lt;AbstractView&gt; view, int detail)
</del><ins>+    static Ref&lt;UIEvent&gt; create(const AtomicString&amp; type, bool canBubble, bool cancelable, AbstractView* view, int detail)
</ins><span class="cx">     {
</span><span class="cx">         return adoptRef(*new UIEvent(type, canBubble, cancelable, view, detail));
</span><span class="cx">     }
</span><span class="lines">@@ -55,7 +55,7 @@
</span><span class="cx">     }
</span><span class="cx">     virtual ~UIEvent();
</span><span class="cx"> 
</span><del>-    void initUIEvent(const AtomicString&amp; type, bool canBubble, bool cancelable, PassRefPtr&lt;AbstractView&gt;, int detail);
</del><ins>+    void initUIEvent(const AtomicString&amp; type, bool canBubble, bool cancelable, AbstractView*, int detail);
</ins><span class="cx"> 
</span><span class="cx">     AbstractView* view() const { return m_view.get(); }
</span><span class="cx">     int detail() const { return m_detail; }
</span><span class="lines">@@ -75,8 +75,8 @@
</span><span class="cx"> 
</span><span class="cx"> protected:
</span><span class="cx">     UIEvent();
</span><del>-    UIEvent(const AtomicString&amp; type, bool canBubble, bool cancelable, PassRefPtr&lt;AbstractView&gt;, int detail);
-    UIEvent(const AtomicString&amp; type, bool canBubble, bool cancelable, double timestamp, PassRefPtr&lt;AbstractView&gt;, int detail);
</del><ins>+    UIEvent(const AtomicString&amp; type, bool canBubble, bool cancelable, AbstractView*, int detail);
+    UIEvent(const AtomicString&amp; type, bool canBubble, bool cancelable, double timestamp, AbstractView*, int detail);
</ins><span class="cx">     UIEvent(const AtomicString&amp;, const UIEventInit&amp;);
</span><span class="cx"> 
</span><span class="cx"> private:
</span></span></pre></div>
<a id="trunkSourceWebCoredomUIEventWithKeyStateh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/UIEventWithKeyState.h (194895 => 194896)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/UIEventWithKeyState.h        2016-01-12 17:23:27 UTC (rev 194895)
+++ trunk/Source/WebCore/dom/UIEventWithKeyState.h        2016-01-12 17:23:47 UTC (rev 194896)
</span><span class="lines">@@ -44,7 +44,7 @@
</span><span class="cx">         {
</span><span class="cx">         }
</span><span class="cx"> 
</span><del>-        UIEventWithKeyState(const AtomicString&amp; type, bool canBubble, bool cancelable, PassRefPtr&lt;AbstractView&gt; view,
</del><ins>+        UIEventWithKeyState(const AtomicString&amp; type, bool canBubble, bool cancelable, AbstractView* view,
</ins><span class="cx">                             int detail, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey)
</span><span class="cx">             : UIEvent(type, canBubble, cancelable, view, detail)
</span><span class="cx">             , m_ctrlKey(ctrlKey)
</span><span class="lines">@@ -54,7 +54,7 @@
</span><span class="cx">         {
</span><span class="cx">         }
</span><span class="cx"> 
</span><del>-        UIEventWithKeyState(const AtomicString&amp; type, bool canBubble, bool cancelable, double timestamp, PassRefPtr&lt;AbstractView&gt; view,
</del><ins>+        UIEventWithKeyState(const AtomicString&amp; type, bool canBubble, bool cancelable, double timestamp, AbstractView* view,
</ins><span class="cx">                             int detail, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey)
</span><span class="cx">             : UIEvent(type, canBubble, cancelable, timestamp, view, detail)
</span><span class="cx">             , m_ctrlKey(ctrlKey)
</span></span></pre>
</div>
</div>

</body>
</html>