<!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>[201205] trunk/Source</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/201205">201205</a></dd>
<dt>Author</dt> <dd>cdumez@apple.com</dd>
<dt>Date</dt> <dd>2016-05-19 18:50:51 -0700 (Thu, 19 May 2016)</dd>
</dl>

<h3>Log Message</h3>
<pre>Improve compile-time assertions in is&lt;&gt;() / downcast&lt;&gt;()
https://bugs.webkit.org/show_bug.cgi?id=157817

Reviewed by Darin Adler.

Source/WebCore:

Add missing includes and drop unnecessary is&lt;WebVTTElement&gt;() check
in SharingResolver::canShareStyleWithElement() that was identified
by the new assertions. WebVTTElement inherits Element but the check
was done on a StyledElement.

* accessibility/AccessibilityRenderObject.cpp:
* accessibility/AccessibilitySVGElement.cpp:
* css/CSSDefaultStyleSheets.cpp:
* css/CSSParser.cpp:
* css/CSSStyleSheet.cpp:
* css/StyleResolver.cpp:
* cssjit/SelectorCompiler.cpp:
* dom/Document.cpp:
* dom/Element.cpp:
* dom/Node.cpp:
* dom/Position.cpp:
* editing/ApplyStyleCommand.cpp:
* editing/FrameSelection.cpp:
* editing/ReplaceSelectionCommand.cpp:
* editing/TextIterator.cpp:
* editing/VisiblePosition.cpp:
* editing/VisibleUnits.cpp:
* editing/cocoa/HTMLConverter.mm:
* editing/htmlediting.cpp:
* editing/markup.cpp:
* html/GenericCachedHTMLCollection.cpp:
* html/HTMLBodyElement.cpp:
* html/HTMLFormElement.cpp:
* html/HTMLLIElement.cpp:
* html/HTMLNameCollection.cpp:
* html/HTMLSelectElement.cpp:
* html/parser/HTMLTreeBuilder.cpp:
* inspector/InspectorDOMAgent.cpp:
* inspector/InspectorStyleSheet.cpp:
* loader/SubframeLoader.cpp:
* loader/archive/cf/LegacyWebArchive.cpp:
* mathml/MathMLElement.cpp:
* page/EventHandler.cpp:
* page/FrameView.cpp:
* page/PageSerializer.cpp:
* page/SpatialNavigation.cpp:
* page/mac/EventHandlerMac.mm:
* rendering/HitTestResult.cpp:
* rendering/RenderBlockFlow.cpp:
* rendering/RenderBox.cpp:
* rendering/RenderBoxModelObject.cpp:
* rendering/RenderElement.cpp:
* rendering/RenderFieldset.cpp:
* rendering/RenderLayer.cpp:
* rendering/svg/RenderSVGTransformableContainer.cpp:
* style/StyleSharingResolver.cpp:
(WebCore::Style::SharingResolver::canShareStyleWithElement):
* svg/SVGAnimationElement.cpp:
* svg/SVGFELightElement.cpp:
* svg/SVGTextPositioningElement.cpp:

Source/WebKit2:

Add missing includes.

* WebProcess/WebPage/WebFrame.cpp:
* WebProcess/WebPage/WebPage.cpp:

Source/WTF:

* wtf/Ref.h:
(WTF::is):
Add is&lt;&gt;() overloads taking a Ref&lt;&gt;() so that is&lt;&gt;() keeps working when
passing a Ref&lt;&gt;(), despite the new static assertions on the input type.
Some call sites were already leveraging this as it was working by
implicitly converting the Ref&lt;T&gt; into a T&amp;.

* wtf/TypeCasts.h:
(WTF::is):
(WTF::downcast):
Make static assertions stricter in is&lt;&gt;() / downcast&lt;&gt;() to catch more
cases where those are either unnecessary or incorrect.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWTFChangeLog">trunk/Source/WTF/ChangeLog</a></li>
<li><a href="#trunkSourceWTFwtfRefh">trunk/Source/WTF/wtf/Ref.h</a></li>
<li><a href="#trunkSourceWTFwtfTypeCastsh">trunk/Source/WTF/wtf/TypeCasts.h</a></li>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCoreaccessibilityAccessibilityRenderObjectcpp">trunk/Source/WebCore/accessibility/AccessibilityRenderObject.cpp</a></li>
<li><a href="#trunkSourceWebCoreaccessibilityAccessibilitySVGElementcpp">trunk/Source/WebCore/accessibility/AccessibilitySVGElement.cpp</a></li>
<li><a href="#trunkSourceWebCorecssCSSDefaultStyleSheetscpp">trunk/Source/WebCore/css/CSSDefaultStyleSheets.cpp</a></li>
<li><a href="#trunkSourceWebCorecssCSSParsercpp">trunk/Source/WebCore/css/CSSParser.cpp</a></li>
<li><a href="#trunkSourceWebCorecssCSSStyleSheetcpp">trunk/Source/WebCore/css/CSSStyleSheet.cpp</a></li>
<li><a href="#trunkSourceWebCorecssStyleResolvercpp">trunk/Source/WebCore/css/StyleResolver.cpp</a></li>
<li><a href="#trunkSourceWebCorecssjitSelectorCompilercpp">trunk/Source/WebCore/cssjit/SelectorCompiler.cpp</a></li>
<li><a href="#trunkSourceWebCoredomDocumentcpp">trunk/Source/WebCore/dom/Document.cpp</a></li>
<li><a href="#trunkSourceWebCoredomElementcpp">trunk/Source/WebCore/dom/Element.cpp</a></li>
<li><a href="#trunkSourceWebCoredomNodecpp">trunk/Source/WebCore/dom/Node.cpp</a></li>
<li><a href="#trunkSourceWebCoredomPositioncpp">trunk/Source/WebCore/dom/Position.cpp</a></li>
<li><a href="#trunkSourceWebCoreeditingApplyStyleCommandcpp">trunk/Source/WebCore/editing/ApplyStyleCommand.cpp</a></li>
<li><a href="#trunkSourceWebCoreeditingFrameSelectioncpp">trunk/Source/WebCore/editing/FrameSelection.cpp</a></li>
<li><a href="#trunkSourceWebCoreeditingReplaceSelectionCommandcpp">trunk/Source/WebCore/editing/ReplaceSelectionCommand.cpp</a></li>
<li><a href="#trunkSourceWebCoreeditingTextIteratorcpp">trunk/Source/WebCore/editing/TextIterator.cpp</a></li>
<li><a href="#trunkSourceWebCoreeditingVisiblePositioncpp">trunk/Source/WebCore/editing/VisiblePosition.cpp</a></li>
<li><a href="#trunkSourceWebCoreeditingVisibleUnitscpp">trunk/Source/WebCore/editing/VisibleUnits.cpp</a></li>
<li><a href="#trunkSourceWebCoreeditingcocoaHTMLConvertermm">trunk/Source/WebCore/editing/cocoa/HTMLConverter.mm</a></li>
<li><a href="#trunkSourceWebCoreeditinggtkEditorGtkcpp">trunk/Source/WebCore/editing/gtk/EditorGtk.cpp</a></li>
<li><a href="#trunkSourceWebCoreeditinghtmleditingcpp">trunk/Source/WebCore/editing/htmlediting.cpp</a></li>
<li><a href="#trunkSourceWebCoreeditingmarkupcpp">trunk/Source/WebCore/editing/markup.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlGenericCachedHTMLCollectioncpp">trunk/Source/WebCore/html/GenericCachedHTMLCollection.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLBodyElementcpp">trunk/Source/WebCore/html/HTMLBodyElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLFormElementcpp">trunk/Source/WebCore/html/HTMLFormElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLLIElementcpp">trunk/Source/WebCore/html/HTMLLIElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLNameCollectioncpp">trunk/Source/WebCore/html/HTMLNameCollection.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLSelectElementcpp">trunk/Source/WebCore/html/HTMLSelectElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlparserHTMLTreeBuildercpp">trunk/Source/WebCore/html/parser/HTMLTreeBuilder.cpp</a></li>
<li><a href="#trunkSourceWebCoreinspectorInspectorDOMAgentcpp">trunk/Source/WebCore/inspector/InspectorDOMAgent.cpp</a></li>
<li><a href="#trunkSourceWebCoreinspectorInspectorStyleSheetcpp">trunk/Source/WebCore/inspector/InspectorStyleSheet.cpp</a></li>
<li><a href="#trunkSourceWebCoreloaderSubframeLoadercpp">trunk/Source/WebCore/loader/SubframeLoader.cpp</a></li>
<li><a href="#trunkSourceWebCoreloaderarchivecfLegacyWebArchivecpp">trunk/Source/WebCore/loader/archive/cf/LegacyWebArchive.cpp</a></li>
<li><a href="#trunkSourceWebCoremathmlMathMLElementcpp">trunk/Source/WebCore/mathml/MathMLElement.cpp</a></li>
<li><a href="#trunkSourceWebCorepageEventHandlercpp">trunk/Source/WebCore/page/EventHandler.cpp</a></li>
<li><a href="#trunkSourceWebCorepageFrameViewcpp">trunk/Source/WebCore/page/FrameView.cpp</a></li>
<li><a href="#trunkSourceWebCorepagePageSerializercpp">trunk/Source/WebCore/page/PageSerializer.cpp</a></li>
<li><a href="#trunkSourceWebCorepageSpatialNavigationcpp">trunk/Source/WebCore/page/SpatialNavigation.cpp</a></li>
<li><a href="#trunkSourceWebCorepagemacEventHandlerMacmm">trunk/Source/WebCore/page/mac/EventHandlerMac.mm</a></li>
<li><a href="#trunkSourceWebCorerenderingHitTestResultcpp">trunk/Source/WebCore/rendering/HitTestResult.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingRenderBlockFlowcpp">trunk/Source/WebCore/rendering/RenderBlockFlow.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingRenderBoxcpp">trunk/Source/WebCore/rendering/RenderBox.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingRenderBoxModelObjectcpp">trunk/Source/WebCore/rendering/RenderBoxModelObject.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingRenderElementcpp">trunk/Source/WebCore/rendering/RenderElement.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingRenderFieldsetcpp">trunk/Source/WebCore/rendering/RenderFieldset.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingRenderLayercpp">trunk/Source/WebCore/rendering/RenderLayer.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingsvgRenderSVGTransformableContainercpp">trunk/Source/WebCore/rendering/svg/RenderSVGTransformableContainer.cpp</a></li>
<li><a href="#trunkSourceWebCorestyleStyleSharingResolvercpp">trunk/Source/WebCore/style/StyleSharingResolver.cpp</a></li>
<li><a href="#trunkSourceWebCorestyleStyleTreeResolvercpp">trunk/Source/WebCore/style/StyleTreeResolver.cpp</a></li>
<li><a href="#trunkSourceWebCoresvgSVGAnimationElementcpp">trunk/Source/WebCore/svg/SVGAnimationElement.cpp</a></li>
<li><a href="#trunkSourceWebCoresvgSVGFELightElementcpp">trunk/Source/WebCore/svg/SVGFELightElement.cpp</a></li>
<li><a href="#trunkSourceWebCoresvgSVGTextPositioningElementcpp">trunk/Source/WebCore/svg/SVGTextPositioningElement.cpp</a></li>
<li><a href="#trunkSourceWebKit2ChangeLog">trunk/Source/WebKit2/ChangeLog</a></li>
<li><a href="#trunkSourceWebKit2WebProcessWebPageWebFramecpp">trunk/Source/WebKit2/WebProcess/WebPage/WebFrame.cpp</a></li>
<li><a href="#trunkSourceWebKit2WebProcessWebPageWebPagecpp">trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWTFChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WTF/ChangeLog (201204 => 201205)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WTF/ChangeLog        2016-05-20 01:22:31 UTC (rev 201204)
+++ trunk/Source/WTF/ChangeLog        2016-05-20 01:50:51 UTC (rev 201205)
</span><span class="lines">@@ -1,3 +1,23 @@
</span><ins>+2016-05-19  Chris Dumez  &lt;cdumez@apple.com&gt;
+
+        Improve compile-time assertions in is&lt;&gt;() / downcast&lt;&gt;()
+        https://bugs.webkit.org/show_bug.cgi?id=157817
+
+        Reviewed by Darin Adler.
+
+        * wtf/Ref.h:
+        (WTF::is):
+        Add is&lt;&gt;() overloads taking a Ref&lt;&gt;() so that is&lt;&gt;() keeps working when
+        passing a Ref&lt;&gt;(), despite the new static assertions on the input type.
+        Some call sites were already leveraging this as it was working by
+        implicitly converting the Ref&lt;T&gt; into a T&amp;.
+
+        * wtf/TypeCasts.h:
+        (WTF::is):
+        (WTF::downcast):
+        Make static assertions stricter in is&lt;&gt;() / downcast&lt;&gt;() to catch more
+        cases where those are either unnecessary or incorrect.
+
</ins><span class="cx"> 2016-05-19  Filip Pizlo  &lt;fpizlo@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Unreviewed, fix all of the builds. I failed a second time.
</span></span></pre></div>
<a id="trunkSourceWTFwtfRefh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WTF/wtf/Ref.h (201204 => 201205)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WTF/wtf/Ref.h        2016-05-20 01:22:31 UTC (rev 201204)
+++ trunk/Source/WTF/wtf/Ref.h        2016-05-20 01:50:51 UTC (rev 201205)
</span><span class="lines">@@ -30,6 +30,7 @@
</span><span class="cx"> #include &lt;wtf/GetPtr.h&gt;
</span><span class="cx"> #include &lt;wtf/Noncopyable.h&gt;
</span><span class="cx"> #include &lt;wtf/StdLibExtras.h&gt;
</span><ins>+#include &lt;wtf/TypeCasts.h&gt;
</ins><span class="cx"> 
</span><span class="cx"> #if ASAN_ENABLED
</span><span class="cx"> extern &quot;C&quot; void __asan_poison_memory_region(void const volatile *addr, size_t size);
</span><span class="lines">@@ -193,6 +194,16 @@
</span><span class="cx"> 
</span><span class="cx"> }
</span><span class="cx"> 
</span><ins>+template&lt;typename ExpectedType, typename ArgType&gt; inline bool is(Ref&lt;ArgType&gt;&amp; source)
+{
+    return is&lt;ExpectedType&gt;(source.get());
+}
+
+template&lt;typename ExpectedType, typename ArgType&gt; inline bool is(const Ref&lt;ArgType&gt;&amp; source)
+{
+    return is&lt;ExpectedType&gt;(source.get());
+}
+
</ins><span class="cx"> } // namespace WTF
</span><span class="cx"> 
</span><span class="cx"> using WTF::Ref;
</span></span></pre></div>
<a id="trunkSourceWTFwtfTypeCastsh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WTF/wtf/TypeCasts.h (201204 => 201205)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WTF/wtf/TypeCasts.h        2016-05-20 01:22:31 UTC (rev 201204)
+++ trunk/Source/WTF/wtf/TypeCasts.h        2016-05-20 01:50:51 UTC (rev 201205)
</span><span class="lines">@@ -55,14 +55,14 @@
</span><span class="cx"> template &lt;typename ExpectedType, typename ArgType&gt;
</span><span class="cx"> inline bool is(ArgType&amp; source)
</span><span class="cx"> {
</span><del>-    static_assert(!std::is_base_of&lt;ExpectedType, ArgType&gt;::value, &quot;Unnecessary type check&quot;);
</del><ins>+    static_assert(std::is_base_of&lt;ArgType, ExpectedType&gt;::value, &quot;Unnecessary type check&quot;);
</ins><span class="cx">     return TypeCastTraits&lt;const ExpectedType, const ArgType&gt;::isOfType(source);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> template &lt;typename ExpectedType, typename ArgType&gt;
</span><span class="cx"> inline bool is(ArgType* source)
</span><span class="cx"> {
</span><del>-    static_assert(!std::is_base_of&lt;ExpectedType, ArgType&gt;::value, &quot;Unnecessary type check&quot;);
</del><ins>+    static_assert(std::is_base_of&lt;ArgType, ExpectedType&gt;::value, &quot;Unnecessary type check&quot;);
</ins><span class="cx">     return source &amp;&amp; TypeCastTraits&lt;const ExpectedType, const ArgType&gt;::isOfType(*source);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -76,14 +76,16 @@
</span><span class="cx"> template&lt;typename Target, typename Source&gt;
</span><span class="cx"> inline typename match_constness&lt;Source, Target&gt;::type&amp; downcast(Source&amp; source)
</span><span class="cx"> {
</span><del>-    static_assert(!std::is_base_of&lt;Target, Source&gt;::value, &quot;Unnecessary cast&quot;);
</del><ins>+    static_assert(!std::is_same&lt;Source, Target&gt;::value, &quot;Unnecessary cast to same type&quot;);
+    static_assert(std::is_base_of&lt;Source, Target&gt;::value, &quot;Should be a downcast&quot;);
</ins><span class="cx">     ASSERT_WITH_SECURITY_IMPLICATION(is&lt;Target&gt;(source));
</span><span class="cx">     return static_cast&lt;typename match_constness&lt;Source, Target&gt;::type&amp;&gt;(source);
</span><span class="cx"> }
</span><span class="cx"> template&lt;typename Target, typename Source&gt;
</span><span class="cx"> inline typename match_constness&lt;Source, Target&gt;::type* downcast(Source* source)
</span><span class="cx"> {
</span><del>-    static_assert(!std::is_base_of&lt;Target, Source&gt;::value, &quot;Unnecessary cast&quot;);
</del><ins>+    static_assert(!std::is_same&lt;Source, Target&gt;::value, &quot;Unnecessary cast to same type&quot;);
+    static_assert(std::is_base_of&lt;Source, Target&gt;::value, &quot;Should be a downcast&quot;);
</ins><span class="cx">     ASSERT_WITH_SECURITY_IMPLICATION(!source || is&lt;Target&gt;(*source));
</span><span class="cx">     return static_cast&lt;typename match_constness&lt;Source, Target&gt;::type*&gt;(source);
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (201204 => 201205)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2016-05-20 01:22:31 UTC (rev 201204)
+++ trunk/Source/WebCore/ChangeLog        2016-05-20 01:50:51 UTC (rev 201205)
</span><span class="lines">@@ -1,3 +1,66 @@
</span><ins>+2016-05-19  Chris Dumez  &lt;cdumez@apple.com&gt;
+
+        Improve compile-time assertions in is&lt;&gt;() / downcast&lt;&gt;()
+        https://bugs.webkit.org/show_bug.cgi?id=157817
+
+        Reviewed by Darin Adler.
+
+        Add missing includes and drop unnecessary is&lt;WebVTTElement&gt;() check
+        in SharingResolver::canShareStyleWithElement() that was identified
+        by the new assertions. WebVTTElement inherits Element but the check
+        was done on a StyledElement.
+
+        * accessibility/AccessibilityRenderObject.cpp:
+        * accessibility/AccessibilitySVGElement.cpp:
+        * css/CSSDefaultStyleSheets.cpp:
+        * css/CSSParser.cpp:
+        * css/CSSStyleSheet.cpp:
+        * css/StyleResolver.cpp:
+        * cssjit/SelectorCompiler.cpp:
+        * dom/Document.cpp:
+        * dom/Element.cpp:
+        * dom/Node.cpp:
+        * dom/Position.cpp:
+        * editing/ApplyStyleCommand.cpp:
+        * editing/FrameSelection.cpp:
+        * editing/ReplaceSelectionCommand.cpp:
+        * editing/TextIterator.cpp:
+        * editing/VisiblePosition.cpp:
+        * editing/VisibleUnits.cpp:
+        * editing/cocoa/HTMLConverter.mm:
+        * editing/htmlediting.cpp:
+        * editing/markup.cpp:
+        * html/GenericCachedHTMLCollection.cpp:
+        * html/HTMLBodyElement.cpp:
+        * html/HTMLFormElement.cpp:
+        * html/HTMLLIElement.cpp:
+        * html/HTMLNameCollection.cpp:
+        * html/HTMLSelectElement.cpp:
+        * html/parser/HTMLTreeBuilder.cpp:
+        * inspector/InspectorDOMAgent.cpp:
+        * inspector/InspectorStyleSheet.cpp:
+        * loader/SubframeLoader.cpp:
+        * loader/archive/cf/LegacyWebArchive.cpp:
+        * mathml/MathMLElement.cpp:
+        * page/EventHandler.cpp:
+        * page/FrameView.cpp:
+        * page/PageSerializer.cpp:
+        * page/SpatialNavigation.cpp:
+        * page/mac/EventHandlerMac.mm:
+        * rendering/HitTestResult.cpp:
+        * rendering/RenderBlockFlow.cpp:
+        * rendering/RenderBox.cpp:
+        * rendering/RenderBoxModelObject.cpp:
+        * rendering/RenderElement.cpp:
+        * rendering/RenderFieldset.cpp:
+        * rendering/RenderLayer.cpp:
+        * rendering/svg/RenderSVGTransformableContainer.cpp:
+        * style/StyleSharingResolver.cpp:
+        (WebCore::Style::SharingResolver::canShareStyleWithElement):
+        * svg/SVGAnimationElement.cpp:
+        * svg/SVGFELightElement.cpp:
+        * svg/SVGTextPositioningElement.cpp:
+
</ins><span class="cx"> 2016-05-19  Zalan Bujtas  &lt;zalan@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Cleanup RenderObject::container()
</span></span></pre></div>
<a id="trunkSourceWebCoreaccessibilityAccessibilityRenderObjectcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/accessibility/AccessibilityRenderObject.cpp (201204 => 201205)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/accessibility/AccessibilityRenderObject.cpp        2016-05-20 01:22:31 UTC (rev 201204)
+++ trunk/Source/WebCore/accessibility/AccessibilityRenderObject.cpp        2016-05-20 01:50:51 UTC (rev 201205)
</span><span class="lines">@@ -45,17 +45,20 @@
</span><span class="cx"> #include &quot;FrameSelection.h&quot;
</span><span class="cx"> #include &quot;HTMLAreaElement.h&quot;
</span><span class="cx"> #include &quot;HTMLAudioElement.h&quot;
</span><ins>+#include &quot;HTMLDetailsElement.h&quot;
</ins><span class="cx"> #include &quot;HTMLFormElement.h&quot;
</span><span class="cx"> #include &quot;HTMLFrameElementBase.h&quot;
</span><span class="cx"> #include &quot;HTMLImageElement.h&quot;
</span><span class="cx"> #include &quot;HTMLInputElement.h&quot;
</span><span class="cx"> #include &quot;HTMLLabelElement.h&quot;
</span><span class="cx"> #include &quot;HTMLMapElement.h&quot;
</span><ins>+#include &quot;HTMLMeterElement.h&quot;
</ins><span class="cx"> #include &quot;HTMLNames.h&quot;
</span><span class="cx"> #include &quot;HTMLOptGroupElement.h&quot;
</span><span class="cx"> #include &quot;HTMLOptionElement.h&quot;
</span><span class="cx"> #include &quot;HTMLOptionsCollection.h&quot;
</span><span class="cx"> #include &quot;HTMLSelectElement.h&quot;
</span><ins>+#include &quot;HTMLSummaryElement.h&quot;
</ins><span class="cx"> #include &quot;HTMLTableElement.h&quot;
</span><span class="cx"> #include &quot;HTMLTextAreaElement.h&quot;
</span><span class="cx"> #include &quot;HTMLVideoElement.h&quot;
</span></span></pre></div>
<a id="trunkSourceWebCoreaccessibilityAccessibilitySVGElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/accessibility/AccessibilitySVGElement.cpp (201204 => 201205)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/accessibility/AccessibilitySVGElement.cpp        2016-05-20 01:22:31 UTC (rev 201204)
+++ trunk/Source/WebCore/accessibility/AccessibilitySVGElement.cpp        2016-05-20 01:50:51 UTC (rev 201205)
</span><span class="lines">@@ -34,7 +34,9 @@
</span><span class="cx"> #include &quot;Language.h&quot;
</span><span class="cx"> #include &quot;RenderIterator.h&quot;
</span><span class="cx"> #include &quot;RenderText.h&quot;
</span><ins>+#include &quot;SVGAElement.h&quot;
</ins><span class="cx"> #include &quot;SVGDescElement.h&quot;
</span><ins>+#include &quot;SVGGElement.h&quot;
</ins><span class="cx"> #include &quot;SVGTitleElement.h&quot;
</span><span class="cx"> #include &quot;SVGUseElement.h&quot;
</span><span class="cx"> #include &quot;XLinkNames.h&quot;
</span></span></pre></div>
<a id="trunkSourceWebCorecssCSSDefaultStyleSheetscpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/CSSDefaultStyleSheets.cpp (201204 => 201205)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/CSSDefaultStyleSheets.cpp        2016-05-20 01:22:31 UTC (rev 201204)
+++ trunk/Source/WebCore/css/CSSDefaultStyleSheets.cpp        2016-05-20 01:50:51 UTC (rev 201205)
</span><span class="lines">@@ -34,6 +34,13 @@
</span><span class="cx"> #include &quot;HTMLAnchorElement.h&quot;
</span><span class="cx"> #include &quot;HTMLAudioElement.h&quot;
</span><span class="cx"> #include &quot;HTMLBRElement.h&quot;
</span><ins>+#include &quot;HTMLBodyElement.h&quot;
+#include &quot;HTMLDivElement.h&quot;
+#include &quot;HTMLEmbedElement.h&quot;
+#include &quot;HTMLHeadElement.h&quot;
+#include &quot;HTMLHtmlElement.h&quot;
+#include &quot;HTMLObjectElement.h&quot;
+#include &quot;HTMLSpanElement.h&quot;
</ins><span class="cx"> #include &quot;MathMLElement.h&quot;
</span><span class="cx"> #include &quot;MediaQueryEvaluator.h&quot;
</span><span class="cx"> #include &quot;Page.h&quot;
</span></span></pre></div>
<a id="trunkSourceWebCorecssCSSParsercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/CSSParser.cpp (201204 => 201205)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/CSSParser.cpp        2016-05-20 01:22:31 UTC (rev 201204)
+++ trunk/Source/WebCore/css/CSSParser.cpp        2016-05-20 01:50:51 UTC (rev 201205)
</span><span class="lines">@@ -73,6 +73,7 @@
</span><span class="cx"> #include &quot;Document.h&quot;
</span><span class="cx"> #include &quot;FloatConversion.h&quot;
</span><span class="cx"> #include &quot;GridArea.h&quot;
</span><ins>+#include &quot;HTMLOptGroupElement.h&quot;
</ins><span class="cx"> #include &quot;HTMLParserIdioms.h&quot;
</span><span class="cx"> #include &quot;HashTools.h&quot;
</span><span class="cx"> #include &quot;MediaList.h&quot;
</span></span></pre></div>
<a id="trunkSourceWebCorecssCSSStyleSheetcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/CSSStyleSheet.cpp (201204 => 201205)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/CSSStyleSheet.cpp        2016-05-20 01:22:31 UTC (rev 201204)
+++ trunk/Source/WebCore/css/CSSStyleSheet.cpp        2016-05-20 01:50:51 UTC (rev 201205)
</span><span class="lines">@@ -33,6 +33,7 @@
</span><span class="cx"> #include &quot;Document.h&quot;
</span><span class="cx"> #include &quot;ExceptionCode.h&quot;
</span><span class="cx"> #include &quot;ExtensionStyleSheets.h&quot;
</span><ins>+#include &quot;HTMLLinkElement.h&quot;
</ins><span class="cx"> #include &quot;HTMLNames.h&quot;
</span><span class="cx"> #include &quot;HTMLStyleElement.h&quot;
</span><span class="cx"> #include &quot;MediaList.h&quot;
</span></span></pre></div>
<a id="trunkSourceWebCorecssStyleResolvercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/StyleResolver.cpp (201204 => 201205)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/StyleResolver.cpp        2016-05-20 01:22:31 UTC (rev 201204)
+++ trunk/Source/WebCore/css/StyleResolver.cpp        2016-05-20 01:50:51 UTC (rev 201205)
</span><span class="lines">@@ -77,10 +77,12 @@
</span><span class="cx"> #include &quot;HTMLDocument.h&quot;
</span><span class="cx"> #include &quot;HTMLIFrameElement.h&quot;
</span><span class="cx"> #include &quot;HTMLInputElement.h&quot;
</span><ins>+#include &quot;HTMLMarqueeElement.h&quot;
</ins><span class="cx"> #include &quot;HTMLNames.h&quot;
</span><span class="cx"> #include &quot;HTMLOptGroupElement.h&quot;
</span><span class="cx"> #include &quot;HTMLOptionElement.h&quot;
</span><span class="cx"> #include &quot;HTMLProgressElement.h&quot;
</span><ins>+#include &quot;HTMLSlotElement.h&quot;
</ins><span class="cx"> #include &quot;HTMLStyleElement.h&quot;
</span><span class="cx"> #include &quot;HTMLTableElement.h&quot;
</span><span class="cx"> #include &quot;HTMLTextAreaElement.h&quot;
</span></span></pre></div>
<a id="trunkSourceWebCorecssjitSelectorCompilercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/cssjit/SelectorCompiler.cpp (201204 => 201205)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/cssjit/SelectorCompiler.cpp        2016-05-20 01:22:31 UTC (rev 201204)
+++ trunk/Source/WebCore/cssjit/SelectorCompiler.cpp        2016-05-20 01:50:51 UTC (rev 201205)
</span><span class="lines">@@ -37,6 +37,7 @@
</span><span class="cx"> #include &quot;FunctionCall.h&quot;
</span><span class="cx"> #include &quot;HTMLDocument.h&quot;
</span><span class="cx"> #include &quot;HTMLNames.h&quot;
</span><ins>+#include &quot;HTMLOptGroupElement.h&quot;
</ins><span class="cx"> #include &quot;HTMLParserIdioms.h&quot;
</span><span class="cx"> #include &quot;InspectorInstrumentation.h&quot;
</span><span class="cx"> #include &quot;NodeRenderStyle.h&quot;
</span></span></pre></div>
<a id="trunkSourceWebCoredomDocumentcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/Document.cpp (201204 => 201205)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/Document.cpp        2016-05-20 01:22:31 UTC (rev 201204)
+++ trunk/Source/WebCore/dom/Document.cpp        2016-05-20 01:50:51 UTC (rev 201205)
</span><span class="lines">@@ -79,6 +79,7 @@
</span><span class="cx"> #include &quot;HTMLFrameOwnerElement.h&quot;
</span><span class="cx"> #include &quot;HTMLFrameSetElement.h&quot;
</span><span class="cx"> #include &quot;HTMLHeadElement.h&quot;
</span><ins>+#include &quot;HTMLHtmlElement.h&quot;
</ins><span class="cx"> #include &quot;HTMLIFrameElement.h&quot;
</span><span class="cx"> #include &quot;HTMLImageElement.h&quot;
</span><span class="cx"> #include &quot;HTMLLinkElement.h&quot;
</span></span></pre></div>
<a id="trunkSourceWebCoredomElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/Element.cpp (201204 => 201205)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/Element.cpp        2016-05-20 01:22:31 UTC (rev 201204)
+++ trunk/Source/WebCore/dom/Element.cpp        2016-05-20 01:50:51 UTC (rev 201205)
</span><span class="lines">@@ -53,8 +53,12 @@
</span><span class="cx"> #include &quot;HTMLCanvasElement.h&quot;
</span><span class="cx"> #include &quot;HTMLCollection.h&quot;
</span><span class="cx"> #include &quot;HTMLDocument.h&quot;
</span><ins>+#include &quot;HTMLEmbedElement.h&quot;
+#include &quot;HTMLHtmlElement.h&quot;
+#include &quot;HTMLIFrameElement.h&quot;
</ins><span class="cx"> #include &quot;HTMLLabelElement.h&quot;
</span><span class="cx"> #include &quot;HTMLNameCollection.h&quot;
</span><ins>+#include &quot;HTMLObjectElement.h&quot;
</ins><span class="cx"> #include &quot;HTMLParserIdioms.h&quot;
</span><span class="cx"> #include &quot;HTMLSelectElement.h&quot;
</span><span class="cx"> #include &quot;HTMLTemplateElement.h&quot;
</span><span class="lines">@@ -81,6 +85,7 @@
</span><span class="cx"> #include &quot;SVGDocumentExtensions.h&quot;
</span><span class="cx"> #include &quot;SVGElement.h&quot;
</span><span class="cx"> #include &quot;SVGNames.h&quot;
</span><ins>+#include &quot;SVGSVGElement.h&quot;
</ins><span class="cx"> #include &quot;ScrollLatchingState.h&quot;
</span><span class="cx"> #include &quot;SelectorQuery.h&quot;
</span><span class="cx"> #include &quot;Settings.h&quot;
</span></span></pre></div>
<a id="trunkSourceWebCoredomNodecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/Node.cpp (201204 => 201205)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/Node.cpp        2016-05-20 01:22:31 UTC (rev 201204)
+++ trunk/Source/WebCore/dom/Node.cpp        2016-05-20 01:50:51 UTC (rev 201205)
</span><span class="lines">@@ -42,6 +42,7 @@
</span><span class="cx"> #include &quot;EventDispatcher.h&quot;
</span><span class="cx"> #include &quot;EventHandler.h&quot;
</span><span class="cx"> #include &quot;FrameView.h&quot;
</span><ins>+#include &quot;HTMLBodyElement.h&quot;
</ins><span class="cx"> #include &quot;HTMLCollection.h&quot;
</span><span class="cx"> #include &quot;HTMLElement.h&quot;
</span><span class="cx"> #include &quot;HTMLImageElement.h&quot;
</span></span></pre></div>
<a id="trunkSourceWebCoredomPositioncpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/Position.cpp (201204 => 201205)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/Position.cpp        2016-05-20 01:22:31 UTC (rev 201204)
+++ trunk/Source/WebCore/dom/Position.cpp        2016-05-20 01:50:51 UTC (rev 201205)
</span><span class="lines">@@ -27,6 +27,9 @@
</span><span class="cx"> #include &quot;Position.h&quot;
</span><span class="cx"> 
</span><span class="cx"> #include &quot;CSSComputedStyleDeclaration.h&quot;
</span><ins>+#include &quot;HTMLBRElement.h&quot;
+#include &quot;HTMLBodyElement.h&quot;
+#include &quot;HTMLHtmlElement.h&quot;
</ins><span class="cx"> #include &quot;HTMLNames.h&quot;
</span><span class="cx"> #include &quot;HTMLTableElement.h&quot;
</span><span class="cx"> #include &quot;InlineElementBox.h&quot;
</span></span></pre></div>
<a id="trunkSourceWebCoreeditingApplyStyleCommandcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/editing/ApplyStyleCommand.cpp (201204 => 201205)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/editing/ApplyStyleCommand.cpp        2016-05-20 01:22:31 UTC (rev 201204)
+++ trunk/Source/WebCore/editing/ApplyStyleCommand.cpp        2016-05-20 01:50:51 UTC (rev 201205)
</span><span class="lines">@@ -34,6 +34,7 @@
</span><span class="cx"> #include &quot;ElementIterator.h&quot;
</span><span class="cx"> #include &quot;Frame.h&quot;
</span><span class="cx"> #include &quot;HTMLFontElement.h&quot;
</span><ins>+#include &quot;HTMLIFrameElement.h&quot;
</ins><span class="cx"> #include &quot;HTMLInterchange.h&quot;
</span><span class="cx"> #include &quot;HTMLNames.h&quot;
</span><span class="cx"> #include &quot;HTMLSpanElement.h&quot;
</span></span></pre></div>
<a id="trunkSourceWebCoreeditingFrameSelectioncpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/editing/FrameSelection.cpp (201204 => 201205)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/editing/FrameSelection.cpp        2016-05-20 01:22:31 UTC (rev 201204)
+++ trunk/Source/WebCore/editing/FrameSelection.cpp        2016-05-20 01:50:51 UTC (rev 201205)
</span><span class="lines">@@ -45,7 +45,8 @@
</span><span class="cx"> #include &quot;GraphicsContext.h&quot;
</span><span class="cx"> #include &quot;HTMLBodyElement.h&quot;
</span><span class="cx"> #include &quot;HTMLFormElement.h&quot;
</span><del>-#include &quot;HTMLFrameElementBase.h&quot;
</del><ins>+#include &quot;HTMLFrameElement.h&quot;
+#include &quot;HTMLIFrameElement.h&quot;
</ins><span class="cx"> #include &quot;HTMLInputElement.h&quot;
</span><span class="cx"> #include &quot;HTMLNames.h&quot;
</span><span class="cx"> #include &quot;HTMLSelectElement.h&quot;
</span></span></pre></div>
<a id="trunkSourceWebCoreeditingReplaceSelectionCommandcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/editing/ReplaceSelectionCommand.cpp (201204 => 201205)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/editing/ReplaceSelectionCommand.cpp        2016-05-20 01:22:31 UTC (rev 201204)
+++ trunk/Source/WebCore/editing/ReplaceSelectionCommand.cpp        2016-05-20 01:50:51 UTC (rev 201205)
</span><span class="lines">@@ -40,9 +40,13 @@
</span><span class="cx"> #include &quot;Frame.h&quot;
</span><span class="cx"> #include &quot;FrameSelection.h&quot;
</span><span class="cx"> #include &quot;HTMLBRElement.h&quot;
</span><ins>+#include &quot;HTMLBaseElement.h&quot;
</ins><span class="cx"> #include &quot;HTMLInputElement.h&quot;
</span><span class="cx"> #include &quot;HTMLLIElement.h&quot;
</span><ins>+#include &quot;HTMLLinkElement.h&quot;
+#include &quot;HTMLMetaElement.h&quot;
</ins><span class="cx"> #include &quot;HTMLNames.h&quot;
</span><ins>+#include &quot;HTMLStyleElement.h&quot;
</ins><span class="cx"> #include &quot;HTMLTitleElement.h&quot;
</span><span class="cx"> #include &quot;NodeList.h&quot;
</span><span class="cx"> #include &quot;NodeRenderStyle.h&quot;
</span></span></pre></div>
<a id="trunkSourceWebCoreeditingTextIteratorcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/editing/TextIterator.cpp (201204 => 201205)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/editing/TextIterator.cpp        2016-05-20 01:22:31 UTC (rev 201204)
+++ trunk/Source/WebCore/editing/TextIterator.cpp        2016-05-20 01:50:51 UTC (rev 201205)
</span><span class="lines">@@ -31,9 +31,14 @@
</span><span class="cx"> #include &quot;ExceptionCodePlaceholder.h&quot;
</span><span class="cx"> #include &quot;FontCascade.h&quot;
</span><span class="cx"> #include &quot;Frame.h&quot;
</span><ins>+#include &quot;HTMLBodyElement.h&quot;
</ins><span class="cx"> #include &quot;HTMLElement.h&quot;
</span><ins>+#include &quot;HTMLInputElement.h&quot;
+#include &quot;HTMLLegendElement.h&quot;
+#include &quot;HTMLMeterElement.h&quot;
</ins><span class="cx"> #include &quot;HTMLNames.h&quot;
</span><span class="cx"> #include &quot;HTMLParagraphElement.h&quot;
</span><ins>+#include &quot;HTMLProgressElement.h&quot;
</ins><span class="cx"> #include &quot;HTMLTextFormControlElement.h&quot;
</span><span class="cx"> #include &quot;InlineTextBox.h&quot;
</span><span class="cx"> #include &quot;NodeTraversal.h&quot;
</span><span class="lines">@@ -263,7 +268,7 @@
</span><span class="cx"> 
</span><span class="cx">     if (is&lt;Element&gt;(renderer-&gt;node())) {
</span><span class="cx">         Element&amp; element = downcast&lt;Element&gt;(*renderer-&gt;node());
</span><del>-        if (is&lt;HTMLFormControlElement&gt;(element) || is&lt;HTMLLegendElement&gt;(element) || is&lt;HTMLMeterElement&gt;(element) || is&lt;HTMLProgressElement&gt;(element))
</del><ins>+        if (is&lt;HTMLFormControlElement&gt;(element) || is&lt;HTMLLegendElement&gt;(element) || is&lt;HTMLProgressElement&gt;(element) || element.hasTagName(meterTag))
</ins><span class="cx">             return true;
</span><span class="cx">         if (equalLettersIgnoringASCIICase(element.fastGetAttribute(roleAttr), &quot;img&quot;))
</span><span class="cx">             return true;
</span></span></pre></div>
<a id="trunkSourceWebCoreeditingVisiblePositioncpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/editing/VisiblePosition.cpp (201204 => 201205)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/editing/VisiblePosition.cpp        2016-05-20 01:22:31 UTC (rev 201204)
+++ trunk/Source/WebCore/editing/VisiblePosition.cpp        2016-05-20 01:50:51 UTC (rev 201205)
</span><span class="lines">@@ -30,6 +30,7 @@
</span><span class="cx"> #include &quot;Document.h&quot;
</span><span class="cx"> #include &quot;FloatQuad.h&quot;
</span><span class="cx"> #include &quot;HTMLElement.h&quot;
</span><ins>+#include &quot;HTMLHtmlElement.h&quot;
</ins><span class="cx"> #include &quot;HTMLNames.h&quot;
</span><span class="cx"> #include &quot;InlineTextBox.h&quot;
</span><span class="cx"> #include &quot;Logging.h&quot;
</span></span></pre></div>
<a id="trunkSourceWebCoreeditingVisibleUnitscpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/editing/VisibleUnits.cpp (201204 => 201205)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/editing/VisibleUnits.cpp        2016-05-20 01:22:31 UTC (rev 201204)
+++ trunk/Source/WebCore/editing/VisibleUnits.cpp        2016-05-20 01:50:51 UTC (rev 201205)
</span><span class="lines">@@ -27,6 +27,7 @@
</span><span class="cx"> #include &quot;VisibleUnits.h&quot;
</span><span class="cx"> 
</span><span class="cx"> #include &quot;Document.h&quot;
</span><ins>+#include &quot;HTMLBRElement.h&quot;
</ins><span class="cx"> #include &quot;HTMLElement.h&quot;
</span><span class="cx"> #include &quot;HTMLNames.h&quot;
</span><span class="cx"> #include &quot;InlineTextBox.h&quot;
</span></span></pre></div>
<a id="trunkSourceWebCoreeditingcocoaHTMLConvertermm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/editing/cocoa/HTMLConverter.mm (201204 => 201205)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/editing/cocoa/HTMLConverter.mm        2016-05-20 01:22:31 UTC (rev 201204)
+++ trunk/Source/WebCore/editing/cocoa/HTMLConverter.mm        2016-05-20 01:50:51 UTC (rev 201205)
</span><span class="lines">@@ -43,7 +43,8 @@
</span><span class="cx"> #import &quot;FrameLoader.h&quot;
</span><span class="cx"> #import &quot;HTMLAttachmentElement.h&quot;
</span><span class="cx"> #import &quot;HTMLElement.h&quot;
</span><del>-#import &quot;HTMLFrameElementBase.h&quot;
</del><ins>+#import &quot;HTMLFrameElement.h&quot;
+#import &quot;HTMLIFrameElement.h&quot;
</ins><span class="cx"> #import &quot;HTMLImageElement.h&quot;
</span><span class="cx"> #import &quot;HTMLInputElement.h&quot;
</span><span class="cx"> #import &quot;HTMLMetaElement.h&quot;
</span></span></pre></div>
<a id="trunkSourceWebCoreeditinggtkEditorGtkcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/editing/gtk/EditorGtk.cpp (201204 => 201205)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/editing/gtk/EditorGtk.cpp        2016-05-20 01:22:31 UTC (rev 201204)
+++ trunk/Source/WebCore/editing/gtk/EditorGtk.cpp        2016-05-20 01:50:51 UTC (rev 201205)
</span><span class="lines">@@ -31,13 +31,16 @@
</span><span class="cx"> #include &quot;DataObjectGtk.h&quot;
</span><span class="cx"> #include &quot;DocumentFragment.h&quot;
</span><span class="cx"> #include &quot;Frame.h&quot;
</span><ins>+#include &quot;HTMLEmbedElement.h&quot;
</ins><span class="cx"> #include &quot;HTMLImageElement.h&quot;
</span><span class="cx"> #include &quot;HTMLInputElement.h&quot;
</span><span class="cx"> #include &quot;HTMLNames.h&quot;
</span><ins>+#include &quot;HTMLObjectElement.h&quot;
</ins><span class="cx"> #include &quot;HTMLParserIdioms.h&quot;
</span><span class="cx"> #include &quot;Pasteboard.h&quot;
</span><span class="cx"> #include &quot;RenderImage.h&quot;
</span><span class="cx"> #include &quot;SVGElement.h&quot;
</span><ins>+#include &quot;SVGImageElement.h&quot;
</ins><span class="cx"> #include &quot;XLinkNames.h&quot;
</span><span class="cx"> #include &quot;markup.h&quot;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoreeditinghtmleditingcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/editing/htmlediting.cpp (201204 => 201205)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/editing/htmlediting.cpp        2016-05-20 01:22:31 UTC (rev 201204)
+++ trunk/Source/WebCore/editing/htmlediting.cpp        2016-05-20 01:50:51 UTC (rev 201205)
</span><span class="lines">@@ -32,6 +32,8 @@
</span><span class="cx"> #include &quot;ExceptionCodePlaceholder.h&quot;
</span><span class="cx"> #include &quot;Frame.h&quot;
</span><span class="cx"> #include &quot;HTMLBRElement.h&quot;
</span><ins>+#include &quot;HTMLBodyElement.h&quot;
+#include &quot;HTMLDListElement.h&quot;
</ins><span class="cx"> #include &quot;HTMLDivElement.h&quot;
</span><span class="cx"> #include &quot;HTMLElementFactory.h&quot;
</span><span class="cx"> #include &quot;HTMLInterchange.h&quot;
</span></span></pre></div>
<a id="trunkSourceWebCoreeditingmarkupcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/editing/markup.cpp (201204 => 201205)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/editing/markup.cpp        2016-05-20 01:22:31 UTC (rev 201204)
+++ trunk/Source/WebCore/editing/markup.cpp        2016-05-20 01:50:51 UTC (rev 201205)
</span><span class="lines">@@ -47,6 +47,8 @@
</span><span class="cx"> #include &quot;HTMLBRElement.h&quot;
</span><span class="cx"> #include &quot;HTMLBodyElement.h&quot;
</span><span class="cx"> #include &quot;HTMLDivElement.h&quot;
</span><ins>+#include &quot;HTMLHeadElement.h&quot;
+#include &quot;HTMLHtmlElement.h&quot;
</ins><span class="cx"> #include &quot;HTMLNames.h&quot;
</span><span class="cx"> #include &quot;HTMLTableElement.h&quot;
</span><span class="cx"> #include &quot;HTMLTextAreaElement.h&quot;
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlGenericCachedHTMLCollectioncpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/GenericCachedHTMLCollection.cpp (201204 => 201205)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/GenericCachedHTMLCollection.cpp        2016-05-20 01:22:31 UTC (rev 201204)
+++ trunk/Source/WebCore/html/GenericCachedHTMLCollection.cpp        2016-05-20 01:50:51 UTC (rev 201205)
</span><span class="lines">@@ -26,6 +26,7 @@
</span><span class="cx"> #include &quot;config.h&quot;
</span><span class="cx"> #include &quot;GenericCachedHTMLCollection.h&quot;
</span><span class="cx"> 
</span><ins>+#include &quot;HTMLAppletElement.h&quot;
</ins><span class="cx"> #include &quot;HTMLNames.h&quot;
</span><span class="cx"> #include &quot;HTMLObjectElement.h&quot;
</span><span class="cx"> #include &quot;HTMLOptionElement.h&quot;
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLBodyElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLBodyElement.cpp (201204 => 201205)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLBodyElement.cpp        2016-05-20 01:22:31 UTC (rev 201204)
+++ trunk/Source/WebCore/html/HTMLBodyElement.cpp        2016-05-20 01:50:51 UTC (rev 201205)
</span><span class="lines">@@ -30,7 +30,8 @@
</span><span class="cx"> #include &quot;EventNames.h&quot;
</span><span class="cx"> #include &quot;Frame.h&quot;
</span><span class="cx"> #include &quot;FrameView.h&quot;
</span><del>-#include &quot;HTMLFrameElementBase.h&quot;
</del><ins>+#include &quot;HTMLFrameElement.h&quot;
+#include &quot;HTMLIFrameElement.h&quot;
</ins><span class="cx"> #include &quot;HTMLNames.h&quot;
</span><span class="cx"> #include &quot;HTMLParserIdioms.h&quot;
</span><span class="cx"> #include &quot;Page.h&quot;
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLFormElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLFormElement.cpp (201204 => 201205)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLFormElement.cpp        2016-05-20 01:22:31 UTC (rev 201204)
+++ trunk/Source/WebCore/html/HTMLFormElement.cpp        2016-05-20 01:50:51 UTC (rev 201205)
</span><span class="lines">@@ -37,10 +37,12 @@
</span><span class="cx"> #include &quot;Frame.h&quot;
</span><span class="cx"> #include &quot;FrameLoader.h&quot;
</span><span class="cx"> #include &quot;FrameLoaderClient.h&quot;
</span><ins>+#include &quot;HTMLFieldSetElement.h&quot;
</ins><span class="cx"> #include &quot;HTMLFormControlsCollection.h&quot;
</span><span class="cx"> #include &quot;HTMLImageElement.h&quot;
</span><span class="cx"> #include &quot;HTMLInputElement.h&quot;
</span><span class="cx"> #include &quot;HTMLNames.h&quot;
</span><ins>+#include &quot;HTMLObjectElement.h&quot;
</ins><span class="cx"> #include &quot;HTMLTableElement.h&quot;
</span><span class="cx"> #include &quot;NodeRareData.h&quot;
</span><span class="cx"> #include &quot;Page.h&quot;
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLLIElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLLIElement.cpp (201204 => 201205)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLLIElement.cpp        2016-05-20 01:22:31 UTC (rev 201204)
+++ trunk/Source/WebCore/html/HTMLLIElement.cpp        2016-05-20 01:50:51 UTC (rev 201205)
</span><span class="lines">@@ -28,6 +28,8 @@
</span><span class="cx"> #include &quot;CSSValueKeywords.h&quot;
</span><span class="cx"> #include &quot;ElementAncestorIterator.h&quot;
</span><span class="cx"> #include &quot;HTMLNames.h&quot;
</span><ins>+#include &quot;HTMLOListElement.h&quot;
+#include &quot;HTMLUListElement.h&quot;
</ins><span class="cx"> #include &quot;RenderListItem.h&quot;
</span><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLNameCollectioncpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLNameCollection.cpp (201204 => 201205)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLNameCollection.cpp        2016-05-20 01:22:31 UTC (rev 201204)
+++ trunk/Source/WebCore/html/HTMLNameCollection.cpp        2016-05-20 01:50:51 UTC (rev 201205)
</span><span class="lines">@@ -24,8 +24,11 @@
</span><span class="cx"> #include &quot;HTMLNameCollection.h&quot;
</span><span class="cx"> 
</span><span class="cx"> #include &quot;Element.h&quot;
</span><ins>+#include &quot;HTMLAppletElement.h&quot;
</ins><span class="cx"> #include &quot;HTMLDocument.h&quot;
</span><ins>+#include &quot;HTMLEmbedElement.h&quot;
</ins><span class="cx"> #include &quot;HTMLFormElement.h&quot;
</span><ins>+#include &quot;HTMLIFrameElement.h&quot;
</ins><span class="cx"> #include &quot;HTMLImageElement.h&quot;
</span><span class="cx"> #include &quot;HTMLNames.h&quot;
</span><span class="cx"> #include &quot;HTMLObjectElement.h&quot;
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLSelectElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLSelectElement.cpp (201204 => 201205)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLSelectElement.cpp        2016-05-20 01:22:31 UTC (rev 201204)
+++ trunk/Source/WebCore/html/HTMLSelectElement.cpp        2016-05-20 01:50:51 UTC (rev 201205)
</span><span class="lines">@@ -40,6 +40,7 @@
</span><span class="cx"> #include &quot;Frame.h&quot;
</span><span class="cx"> #include &quot;GenericCachedHTMLCollection.h&quot;
</span><span class="cx"> #include &quot;HTMLFormElement.h&quot;
</span><ins>+#include &quot;HTMLHRElement.h&quot;
</ins><span class="cx"> #include &quot;HTMLNames.h&quot;
</span><span class="cx"> #include &quot;HTMLOptGroupElement.h&quot;
</span><span class="cx"> #include &quot;HTMLOptionElement.h&quot;
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlparserHTMLTreeBuildercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/parser/HTMLTreeBuilder.cpp (201204 => 201205)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/parser/HTMLTreeBuilder.cpp        2016-05-20 01:22:31 UTC (rev 201204)
+++ trunk/Source/WebCore/html/parser/HTMLTreeBuilder.cpp        2016-05-20 01:50:51 UTC (rev 201205)
</span><span class="lines">@@ -33,7 +33,9 @@
</span><span class="cx"> #include &quot;HTMLFormControlElement.h&quot;
</span><span class="cx"> #include &quot;HTMLFormElement.h&quot;
</span><span class="cx"> #include &quot;HTMLOptGroupElement.h&quot;
</span><ins>+#include &quot;HTMLOptionElement.h&quot;
</ins><span class="cx"> #include &quot;HTMLParserIdioms.h&quot;
</span><ins>+#include &quot;HTMLTableElement.h&quot;
</ins><span class="cx"> #include &quot;JSCustomElementInterface.h&quot;
</span><span class="cx"> #include &quot;LocalizedStrings.h&quot;
</span><span class="cx"> #include &quot;NotImplemented.h&quot;
</span></span></pre></div>
<a id="trunkSourceWebCoreinspectorInspectorDOMAgentcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/inspector/InspectorDOMAgent.cpp (201204 => 201205)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/InspectorDOMAgent.cpp        2016-05-20 01:22:31 UTC (rev 201204)
+++ trunk/Source/WebCore/inspector/InspectorDOMAgent.cpp        2016-05-20 01:50:51 UTC (rev 201205)
</span><span class="lines">@@ -61,6 +61,8 @@
</span><span class="cx"> #include &quot;HTMLElement.h&quot;
</span><span class="cx"> #include &quot;HTMLFrameOwnerElement.h&quot;
</span><span class="cx"> #include &quot;HTMLNames.h&quot;
</span><ins>+#include &quot;HTMLScriptElement.h&quot;
+#include &quot;HTMLStyleElement.h&quot;
</ins><span class="cx"> #include &quot;HTMLTemplateElement.h&quot;
</span><span class="cx"> #include &quot;HitTestResult.h&quot;
</span><span class="cx"> #include &quot;InspectorClient.h&quot;
</span></span></pre></div>
<a id="trunkSourceWebCoreinspectorInspectorStyleSheetcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/inspector/InspectorStyleSheet.cpp (201204 => 201205)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/InspectorStyleSheet.cpp        2016-05-20 01:22:31 UTC (rev 201204)
+++ trunk/Source/WebCore/inspector/InspectorStyleSheet.cpp        2016-05-20 01:50:51 UTC (rev 201205)
</span><span class="lines">@@ -48,6 +48,7 @@
</span><span class="cx"> #include &quot;Node.h&quot;
</span><span class="cx"> #include &quot;SVGElement.h&quot;
</span><span class="cx"> #include &quot;SVGNames.h&quot;
</span><ins>+#include &quot;SVGStyleElement.h&quot;
</ins><span class="cx"> #include &quot;StyleProperties.h&quot;
</span><span class="cx"> #include &quot;StyleResolver.h&quot;
</span><span class="cx"> #include &quot;StyleRule.h&quot;
</span></span></pre></div>
<a id="trunkSourceWebCoreloaderSubframeLoadercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/loader/SubframeLoader.cpp (201204 => 201205)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/loader/SubframeLoader.cpp        2016-05-20 01:22:31 UTC (rev 201204)
+++ trunk/Source/WebCore/loader/SubframeLoader.cpp        2016-05-20 01:50:51 UTC (rev 201205)
</span><span class="lines">@@ -43,7 +43,8 @@
</span><span class="cx"> #include &quot;FrameLoaderClient.h&quot;
</span><span class="cx"> #include &quot;HTMLAppletElement.h&quot;
</span><span class="cx"> #include &quot;HTMLAudioElement.h&quot;
</span><del>-#include &quot;HTMLFrameElementBase.h&quot;
</del><ins>+#include &quot;HTMLFrameElement.h&quot;
+#include &quot;HTMLIFrameElement.h&quot;
</ins><span class="cx"> #include &quot;HTMLNames.h&quot;
</span><span class="cx"> #include &quot;HTMLObjectElement.h&quot;
</span><span class="cx"> #include &quot;MIMETypeRegistry.h&quot;
</span></span></pre></div>
<a id="trunkSourceWebCoreloaderarchivecfLegacyWebArchivecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/loader/archive/cf/LegacyWebArchive.cpp (201204 => 201205)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/loader/archive/cf/LegacyWebArchive.cpp        2016-05-20 01:22:31 UTC (rev 201204)
+++ trunk/Source/WebCore/loader/archive/cf/LegacyWebArchive.cpp        2016-05-20 01:50:51 UTC (rev 201205)
</span><span class="lines">@@ -36,9 +36,11 @@
</span><span class="cx"> #include &quot;FrameLoader.h&quot;
</span><span class="cx"> #include &quot;FrameSelection.h&quot;
</span><span class="cx"> #include &quot;FrameTree.h&quot;
</span><del>-#include &quot;HTMLFrameElementBase.h&quot;
</del><ins>+#include &quot;HTMLFrameElement.h&quot;
</ins><span class="cx"> #include &quot;HTMLFrameOwnerElement.h&quot;
</span><ins>+#include &quot;HTMLIFrameElement.h&quot;
</ins><span class="cx"> #include &quot;HTMLNames.h&quot;
</span><ins>+#include &quot;HTMLObjectElement.h&quot;
</ins><span class="cx"> #include &quot;IconDatabase.h&quot;
</span><span class="cx"> #include &quot;Image.h&quot;
</span><span class="cx"> #include &quot;URLHash.h&quot;
</span></span></pre></div>
<a id="trunkSourceWebCoremathmlMathMLElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/mathml/MathMLElement.cpp (201204 => 201205)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/mathml/MathMLElement.cpp        2016-05-20 01:22:31 UTC (rev 201204)
+++ trunk/Source/WebCore/mathml/MathMLElement.cpp        2016-05-20 01:50:51 UTC (rev 201205)
</span><span class="lines">@@ -33,14 +33,17 @@
</span><span class="cx"> 
</span><span class="cx"> #include &quot;ElementIterator.h&quot;
</span><span class="cx"> #include &quot;HTMLElement.h&quot;
</span><ins>+#include &quot;HTMLHtmlElement.h&quot;
</ins><span class="cx"> #include &quot;HTMLMapElement.h&quot;
</span><span class="cx"> #include &quot;HTMLNames.h&quot;
</span><span class="cx"> #include &quot;HTMLParserIdioms.h&quot;
</span><ins>+#include &quot;MathMLMathElement.h&quot;
</ins><span class="cx"> #include &quot;MathMLNames.h&quot;
</span><span class="cx"> #include &quot;MathMLSelectElement.h&quot;
</span><span class="cx"> #include &quot;RenderTableCell.h&quot;
</span><span class="cx"> #include &quot;SVGElement.h&quot;
</span><span class="cx"> #include &quot;SVGNames.h&quot;
</span><ins>+#include &quot;SVGSVGElement.h&quot;
</ins><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span><span class="cx">     
</span></span></pre></div>
<a id="trunkSourceWebCorepageEventHandlercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/page/EventHandler.cpp (201204 => 201205)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/page/EventHandler.cpp        2016-05-20 01:22:31 UTC (rev 201204)
+++ trunk/Source/WebCore/page/EventHandler.cpp        2016-05-20 01:50:51 UTC (rev 201205)
</span><span class="lines">@@ -52,9 +52,10 @@
</span><span class="cx"> #include &quot;FrameSelection.h&quot;
</span><span class="cx"> #include &quot;FrameTree.h&quot;
</span><span class="cx"> #include &quot;FrameView.h&quot;
</span><del>-#include &quot;htmlediting.h&quot;
-#include &quot;HTMLFrameElementBase.h&quot;
</del><ins>+#include &quot;HTMLFrameElement.h&quot;
</ins><span class="cx"> #include &quot;HTMLFrameSetElement.h&quot;
</span><ins>+#include &quot;HTMLHtmlElement.h&quot;
+#include &quot;HTMLIFrameElement.h&quot;
</ins><span class="cx"> #include &quot;HTMLInputElement.h&quot;
</span><span class="cx"> #include &quot;HTMLNames.h&quot;
</span><span class="cx"> #include &quot;HitTestRequest.h&quot;
</span><span class="lines">@@ -94,6 +95,7 @@
</span><span class="cx"> #include &quot;VisibleUnits.h&quot;
</span><span class="cx"> #include &quot;WheelEvent.h&quot;
</span><span class="cx"> #include &quot;WindowsKeyboardCodes.h&quot;
</span><ins>+#include &quot;htmlediting.h&quot;
</ins><span class="cx"> #include &lt;wtf/Assertions.h&gt;
</span><span class="cx"> #include &lt;wtf/CurrentTime.h&gt;
</span><span class="cx"> #include &lt;wtf/NeverDestroyed.h&gt;
</span></span></pre></div>
<a id="trunkSourceWebCorepageFrameViewcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/page/FrameView.cpp (201204 => 201205)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/page/FrameView.cpp        2016-05-20 01:22:31 UTC (rev 201204)
+++ trunk/Source/WebCore/page/FrameView.cpp        2016-05-20 01:50:51 UTC (rev 201205)
</span><span class="lines">@@ -47,9 +47,13 @@
</span><span class="cx"> #include &quot;GraphicsContext.h&quot;
</span><span class="cx"> #include &quot;HTMLBodyElement.h&quot;
</span><span class="cx"> #include &quot;HTMLDocument.h&quot;
</span><ins>+#include &quot;HTMLEmbedElement.h&quot;
</ins><span class="cx"> #include &quot;HTMLFrameElement.h&quot;
</span><span class="cx"> #include &quot;HTMLFrameSetElement.h&quot;
</span><ins>+#include &quot;HTMLHtmlElement.h&quot;
+#include &quot;HTMLIFrameElement.h&quot;
</ins><span class="cx"> #include &quot;HTMLNames.h&quot;
</span><ins>+#include &quot;HTMLObjectElement.h&quot;
</ins><span class="cx"> #include &quot;HTMLPlugInImageElement.h&quot;
</span><span class="cx"> #include &quot;ImageDocument.h&quot;
</span><span class="cx"> #include &quot;InspectorClient.h&quot;
</span></span></pre></div>
<a id="trunkSourceWebCorepagePageSerializercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/page/PageSerializer.cpp (201204 => 201205)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/page/PageSerializer.cpp        2016-05-20 01:22:31 UTC (rev 201204)
+++ trunk/Source/WebCore/page/PageSerializer.cpp        2016-05-20 01:50:51 UTC (rev 201205)
</span><span class="lines">@@ -44,6 +44,7 @@
</span><span class="cx"> #include &quot;HTMLLinkElement.h&quot;
</span><span class="cx"> #include &quot;HTMLMetaCharsetParser.h&quot;
</span><span class="cx"> #include &quot;HTMLNames.h&quot;
</span><ins>+#include &quot;HTMLObjectElement.h&quot;
</ins><span class="cx"> #include &quot;HTMLStyleElement.h&quot;
</span><span class="cx"> #include &quot;HTTPParsers.h&quot;
</span><span class="cx"> #include &quot;Image.h&quot;
</span></span></pre></div>
<a id="trunkSourceWebCorepageSpatialNavigationcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/page/SpatialNavigation.cpp (201204 => 201205)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/page/SpatialNavigation.cpp        2016-05-20 01:22:31 UTC (rev 201204)
+++ trunk/Source/WebCore/page/SpatialNavigation.cpp        2016-05-20 01:50:51 UTC (rev 201205)
</span><span class="lines">@@ -35,6 +35,7 @@
</span><span class="cx"> #include &quot;HTMLImageElement.h&quot;
</span><span class="cx"> #include &quot;HTMLMapElement.h&quot;
</span><span class="cx"> #include &quot;HTMLNames.h&quot;
</span><ins>+#include &quot;HTMLSelectElement.h&quot;
</ins><span class="cx"> #include &quot;IntRect.h&quot;
</span><span class="cx"> #include &quot;MainFrame.h&quot;
</span><span class="cx"> #include &quot;Node.h&quot;
</span></span></pre></div>
<a id="trunkSourceWebCorepagemacEventHandlerMacmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/page/mac/EventHandlerMac.mm (201204 => 201205)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/page/mac/EventHandlerMac.mm        2016-05-20 01:22:31 UTC (rev 201204)
+++ trunk/Source/WebCore/page/mac/EventHandlerMac.mm        2016-05-20 01:50:51 UTC (rev 201205)
</span><span class="lines">@@ -38,7 +38,10 @@
</span><span class="cx"> #include &quot;Frame.h&quot;
</span><span class="cx"> #include &quot;FrameLoader.h&quot;
</span><span class="cx"> #include &quot;FrameView.h&quot;
</span><ins>+#include &quot;HTMLBodyElement.h&quot;
</ins><span class="cx"> #include &quot;HTMLDocument.h&quot;
</span><ins>+#include &quot;HTMLFrameSetElement.h&quot;
+#include &quot;HTMLHtmlElement.h&quot;
</ins><span class="cx"> #include &quot;HTMLIFrameElement.h&quot;
</span><span class="cx"> #include &quot;KeyboardEvent.h&quot;
</span><span class="cx"> #include &quot;MainFrame.h&quot;
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingHitTestResultcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/HitTestResult.cpp (201204 => 201205)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/HitTestResult.cpp        2016-05-20 01:22:31 UTC (rev 201204)
+++ trunk/Source/WebCore/rendering/HitTestResult.cpp        2016-05-20 01:50:51 UTC (rev 201205)
</span><span class="lines">@@ -33,10 +33,12 @@
</span><span class="cx"> #include &quot;HTMLAreaElement.h&quot;
</span><span class="cx"> #include &quot;HTMLAttachmentElement.h&quot;
</span><span class="cx"> #include &quot;HTMLAudioElement.h&quot;
</span><ins>+#include &quot;HTMLEmbedElement.h&quot;
</ins><span class="cx"> #include &quot;HTMLImageElement.h&quot;
</span><span class="cx"> #include &quot;HTMLInputElement.h&quot;
</span><span class="cx"> #include &quot;HTMLMediaElement.h&quot;
</span><span class="cx"> #include &quot;HTMLNames.h&quot;
</span><ins>+#include &quot;HTMLObjectElement.h&quot;
</ins><span class="cx"> #include &quot;HTMLParserIdioms.h&quot;
</span><span class="cx"> #include &quot;HTMLPlugInImageElement.h&quot;
</span><span class="cx"> #include &quot;HTMLTextAreaElement.h&quot;
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingRenderBlockFlowcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/RenderBlockFlow.cpp (201204 => 201205)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/RenderBlockFlow.cpp        2016-05-20 01:22:31 UTC (rev 201204)
+++ trunk/Source/WebCore/rendering/RenderBlockFlow.cpp        2016-05-20 01:50:51 UTC (rev 201205)
</span><span class="lines">@@ -29,6 +29,8 @@
</span><span class="cx"> #include &quot;Frame.h&quot;
</span><span class="cx"> #include &quot;FrameSelection.h&quot;
</span><span class="cx"> #include &quot;HTMLElement.h&quot;
</span><ins>+#include &quot;HTMLInputElement.h&quot;
+#include &quot;HTMLTextAreaElement.h&quot;
</ins><span class="cx"> #include &quot;HitTestLocation.h&quot;
</span><span class="cx"> #include &quot;InlineTextBox.h&quot;
</span><span class="cx"> #include &quot;LayoutRepainter.h&quot;
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingRenderBoxcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/RenderBox.cpp (201204 => 201205)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/RenderBox.cpp        2016-05-20 01:22:31 UTC (rev 201204)
+++ trunk/Source/WebCore/rendering/RenderBox.cpp        2016-05-20 01:50:51 UTC (rev 201205)
</span><span class="lines">@@ -35,12 +35,15 @@
</span><span class="cx"> #include &quot;Frame.h&quot;
</span><span class="cx"> #include &quot;FrameView.h&quot;
</span><span class="cx"> #include &quot;GraphicsContext.h&quot;
</span><ins>+#include &quot;HTMLAnchorElement.h&quot;
</ins><span class="cx"> #include &quot;HTMLBodyElement.h&quot;
</span><span class="cx"> #include &quot;HTMLButtonElement.h&quot;
</span><span class="cx"> #include &quot;HTMLFrameOwnerElement.h&quot;
</span><span class="cx"> #include &quot;HTMLHtmlElement.h&quot;
</span><span class="cx"> #include &quot;HTMLInputElement.h&quot;
</span><ins>+#include &quot;HTMLLegendElement.h&quot;
</ins><span class="cx"> #include &quot;HTMLNames.h&quot;
</span><ins>+#include &quot;HTMLSelectElement.h&quot;
</ins><span class="cx"> #include &quot;HTMLTextAreaElement.h&quot;
</span><span class="cx"> #include &quot;HitTestResult.h&quot;
</span><span class="cx"> #include &quot;InlineElementBox.h&quot;
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingRenderBoxModelObjectcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/RenderBoxModelObject.cpp (201204 => 201205)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/RenderBoxModelObject.cpp        2016-05-20 01:22:31 UTC (rev 201204)
+++ trunk/Source/WebCore/rendering/RenderBoxModelObject.cpp        2016-05-20 01:50:51 UTC (rev 201205)
</span><span class="lines">@@ -33,6 +33,7 @@
</span><span class="cx"> #include &quot;GeometryUtilities.h&quot;
</span><span class="cx"> #include &quot;GraphicsContext.h&quot;
</span><span class="cx"> #include &quot;HTMLFrameOwnerElement.h&quot;
</span><ins>+#include &quot;HTMLFrameSetElement.h&quot;
</ins><span class="cx"> #include &quot;HTMLNames.h&quot;
</span><span class="cx"> #include &quot;ImageBuffer.h&quot;
</span><span class="cx"> #include &quot;ImageQualityController.h&quot;
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingRenderElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/RenderElement.cpp (201204 => 201205)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/RenderElement.cpp        2016-05-20 01:22:31 UTC (rev 201204)
+++ trunk/Source/WebCore/rendering/RenderElement.cpp        2016-05-20 01:50:51 UTC (rev 201205)
</span><span class="lines">@@ -35,6 +35,7 @@
</span><span class="cx"> #include &quot;FocusController.h&quot;
</span><span class="cx"> #include &quot;Frame.h&quot;
</span><span class="cx"> #include &quot;FrameSelection.h&quot;
</span><ins>+#include &quot;HTMLAnchorElement.h&quot;
</ins><span class="cx"> #include &quot;HTMLBodyElement.h&quot;
</span><span class="cx"> #include &quot;HTMLHtmlElement.h&quot;
</span><span class="cx"> #include &quot;HTMLNames.h&quot;
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingRenderFieldsetcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/RenderFieldset.cpp (201204 => 201205)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/RenderFieldset.cpp        2016-05-20 01:22:31 UTC (rev 201204)
+++ trunk/Source/WebCore/rendering/RenderFieldset.cpp        2016-05-20 01:50:51 UTC (rev 201205)
</span><span class="lines">@@ -27,6 +27,7 @@
</span><span class="cx"> #include &quot;CSSPropertyNames.h&quot;
</span><span class="cx"> #include &quot;GraphicsContext.h&quot;
</span><span class="cx"> #include &quot;HTMLFieldSetElement.h&quot;
</span><ins>+#include &quot;HTMLLegendElement.h&quot;
</ins><span class="cx"> #include &quot;HTMLNames.h&quot;
</span><span class="cx"> #include &quot;PaintInfo.h&quot;
</span><span class="cx"> #include &quot;RenderChildIterator.h&quot;
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingRenderLayercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/RenderLayer.cpp (201204 => 201205)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/RenderLayer.cpp        2016-05-20 01:22:31 UTC (rev 201204)
+++ trunk/Source/WebCore/rendering/RenderLayer.cpp        2016-05-20 01:50:51 UTC (rev 201205)
</span><span class="lines">@@ -74,6 +74,7 @@
</span><span class="cx"> #include &quot;HTMLFormControlElement.h&quot;
</span><span class="cx"> #include &quot;HTMLFrameElement.h&quot;
</span><span class="cx"> #include &quot;HTMLFrameOwnerElement.h&quot;
</span><ins>+#include &quot;HTMLIFrameElement.h&quot;
</ins><span class="cx"> #include &quot;HTMLNames.h&quot;
</span><span class="cx"> #include &quot;HitTestingTransformState.h&quot;
</span><span class="cx"> #include &quot;HitTestRequest.h&quot;
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingsvgRenderSVGTransformableContainercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/svg/RenderSVGTransformableContainer.cpp (201204 => 201205)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/svg/RenderSVGTransformableContainer.cpp        2016-05-20 01:22:31 UTC (rev 201204)
+++ trunk/Source/WebCore/rendering/svg/RenderSVGTransformableContainer.cpp        2016-05-20 01:50:51 UTC (rev 201205)
</span><span class="lines">@@ -22,6 +22,7 @@
</span><span class="cx"> #include &quot;config.h&quot;
</span><span class="cx"> #include &quot;RenderSVGTransformableContainer.h&quot;
</span><span class="cx"> 
</span><ins>+#include &quot;SVGGElement.h&quot;
</ins><span class="cx"> #include &quot;SVGNames.h&quot;
</span><span class="cx"> #include &quot;SVGUseElement.h&quot;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorestyleStyleSharingResolvercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/style/StyleSharingResolver.cpp (201204 => 201205)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/style/StyleSharingResolver.cpp        2016-05-20 01:22:31 UTC (rev 201204)
+++ trunk/Source/WebCore/style/StyleSharingResolver.cpp        2016-05-20 01:50:51 UTC (rev 201205)
</span><span class="lines">@@ -290,12 +290,6 @@
</span><span class="cx">         return false;
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><del>-#if ENABLE(VIDEO_TRACK)
-    // Deny sharing styles between WebVTT and non-WebVTT nodes.
-    if (is&lt;WebVTTElement&gt;(element))
-        return false;
-#endif
-
</del><span class="cx"> #if ENABLE(FULLSCREEN_API)
</span><span class="cx">     if (&amp;element == m_document.webkitCurrentFullScreenElement() || &amp;element == m_document.webkitCurrentFullScreenElement())
</span><span class="cx">         return false;
</span></span></pre></div>
<a id="trunkSourceWebCorestyleStyleTreeResolvercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/style/StyleTreeResolver.cpp (201204 => 201205)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/style/StyleTreeResolver.cpp        2016-05-20 01:22:31 UTC (rev 201204)
+++ trunk/Source/WebCore/style/StyleTreeResolver.cpp        2016-05-20 01:50:51 UTC (rev 201205)
</span><span class="lines">@@ -33,6 +33,7 @@
</span><span class="cx"> #include &quot;ElementIterator.h&quot;
</span><span class="cx"> #include &quot;HTMLBodyElement.h&quot;
</span><span class="cx"> #include &quot;HTMLMeterElement.h&quot;
</span><ins>+#include &quot;HTMLNames.h&quot;
</ins><span class="cx"> #include &quot;HTMLProgressElement.h&quot;
</span><span class="cx"> #include &quot;HTMLSlotElement.h&quot;
</span><span class="cx"> #include &quot;LoaderStrategy.h&quot;
</span><span class="lines">@@ -221,7 +222,7 @@
</span><span class="cx">         m_document.setTextColor(update.style-&gt;visitedDependentColor(CSSPropertyColor));
</span><span class="cx"> 
</span><span class="cx">     // FIXME: These elements should not change renderer based on appearance property.
</span><del>-    if (is&lt;HTMLMeterElement&gt;(element) || is&lt;HTMLProgressElement&gt;(element)) {
</del><ins>+    if (element.hasTagName(HTMLNames::meterTag) || is&lt;HTMLProgressElement&gt;(element)) {
</ins><span class="cx">         if (existingStyle &amp;&amp; update.style-&gt;appearance() != existingStyle-&gt;appearance())
</span><span class="cx">             update.change = Detach;
</span><span class="cx">     }
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGAnimationElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGAnimationElement.cpp (201204 => 201205)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGAnimationElement.cpp        2016-05-20 01:22:31 UTC (rev 201204)
+++ trunk/Source/WebCore/svg/SVGAnimationElement.cpp        2016-05-20 01:50:51 UTC (rev 201205)
</span><span class="lines">@@ -32,6 +32,7 @@
</span><span class="cx"> #include &quot;Document.h&quot;
</span><span class="cx"> #include &quot;FloatConversion.h&quot;
</span><span class="cx"> #include &quot;RenderObject.h&quot;
</span><ins>+#include &quot;SVGAnimateColorElement.h&quot;
</ins><span class="cx"> #include &quot;SVGAnimateElement.h&quot;
</span><span class="cx"> #include &quot;SVGElement.h&quot;
</span><span class="cx"> #include &quot;SVGNames.h&quot;
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGFELightElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGFELightElement.cpp (201204 => 201205)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGFELightElement.cpp        2016-05-20 01:22:31 UTC (rev 201204)
+++ trunk/Source/WebCore/svg/SVGFELightElement.cpp        2016-05-20 01:50:51 UTC (rev 201205)
</span><span class="lines">@@ -26,7 +26,10 @@
</span><span class="cx"> #include &quot;RenderObject.h&quot;
</span><span class="cx"> #include &quot;RenderSVGResource.h&quot;
</span><span class="cx"> #include &quot;SVGFEDiffuseLightingElement.h&quot;
</span><ins>+#include &quot;SVGFEDistantLightElement.h&quot;
+#include &quot;SVGFEPointLightElement.h&quot;
</ins><span class="cx"> #include &quot;SVGFESpecularLightingElement.h&quot;
</span><ins>+#include &quot;SVGFESpotLightElement.h&quot;
</ins><span class="cx"> #include &quot;SVGFilterElement.h&quot;
</span><span class="cx"> #include &quot;SVGFilterPrimitiveStandardAttributes.h&quot;
</span><span class="cx"> #include &quot;SVGNames.h&quot;
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGTextPositioningElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGTextPositioningElement.cpp (201204 => 201205)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGTextPositioningElement.cpp        2016-05-20 01:22:31 UTC (rev 201204)
+++ trunk/Source/WebCore/svg/SVGTextPositioningElement.cpp        2016-05-20 01:50:51 UTC (rev 201205)
</span><span class="lines">@@ -29,6 +29,9 @@
</span><span class="cx"> #include &quot;SVGLengthList.h&quot;
</span><span class="cx"> #include &quot;SVGNames.h&quot;
</span><span class="cx"> #include &quot;SVGNumberList.h&quot;
</span><ins>+#include &quot;SVGTRefElement.h&quot;
+#include &quot;SVGTSpanElement.h&quot;
+#include &quot;SVGTextElement.h&quot;
</ins><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebKit2ChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/ChangeLog (201204 => 201205)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/ChangeLog        2016-05-20 01:22:31 UTC (rev 201204)
+++ trunk/Source/WebKit2/ChangeLog        2016-05-20 01:50:51 UTC (rev 201205)
</span><span class="lines">@@ -1,3 +1,15 @@
</span><ins>+2016-05-19  Chris Dumez  &lt;cdumez@apple.com&gt;
+
+        Improve compile-time assertions in is&lt;&gt;() / downcast&lt;&gt;()
+        https://bugs.webkit.org/show_bug.cgi?id=157817
+
+        Reviewed by Darin Adler.
+
+        Add missing includes.
+
+        * WebProcess/WebPage/WebFrame.cpp:
+        * WebProcess/WebPage/WebPage.cpp:
+
</ins><span class="cx"> 2016-05-19  Tim Horton  &lt;timothy_horton@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Mail crashes under TiledCoreAnimationDrawingAreaProxy::createFenceForGeometryUpdate() when the Web process crashes
</span></span></pre></div>
<a id="trunkSourceWebKit2WebProcessWebPageWebFramecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebProcess/WebPage/WebFrame.cpp (201204 => 201205)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebProcess/WebPage/WebFrame.cpp        2016-05-20 01:22:31 UTC (rev 201204)
+++ trunk/Source/WebKit2/WebProcess/WebPage/WebFrame.cpp        2016-05-20 01:50:51 UTC (rev 201205)
</span><span class="lines">@@ -61,6 +61,7 @@
</span><span class="cx"> #include &lt;WebCore/HTMLFrameOwnerElement.h&gt;
</span><span class="cx"> #include &lt;WebCore/HTMLInputElement.h&gt;
</span><span class="cx"> #include &lt;WebCore/HTMLNames.h&gt;
</span><ins>+#include &lt;WebCore/HTMLSelectElement.h&gt;
</ins><span class="cx"> #include &lt;WebCore/HTMLTextAreaElement.h&gt;
</span><span class="cx"> #include &lt;WebCore/ImageBuffer.h&gt;
</span><span class="cx"> #include &lt;WebCore/JSCSSStyleDeclaration.h&gt;
</span></span></pre></div>
<a id="trunkSourceWebKit2WebProcessWebPageWebPagecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp (201204 => 201205)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp        2016-05-20 01:22:31 UTC (rev 201204)
+++ trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp        2016-05-20 01:50:51 UTC (rev 201205)
</span><span class="lines">@@ -125,6 +125,7 @@
</span><span class="cx"> #include &lt;WebCore/FrameLoaderTypes.h&gt;
</span><span class="cx"> #include &lt;WebCore/FrameView.h&gt;
</span><span class="cx"> #include &lt;WebCore/HTMLFormElement.h&gt;
</span><ins>+#include &lt;WebCore/HTMLImageElement.h&gt;
</ins><span class="cx"> #include &lt;WebCore/HTMLInputElement.h&gt;
</span><span class="cx"> #include &lt;WebCore/HTMLPlugInElement.h&gt;
</span><span class="cx"> #include &lt;WebCore/HTMLPlugInImageElement.h&gt;
</span></span></pre>
</div>
</div>

</body>
</html>