<!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>[242319] 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/242319">242319</a></dd>
<dt>Author</dt> <dd>zalan@apple.com</dd>
<dt>Date</dt> <dd>2019-03-02 14:57:18 -0800 (Sat, 02 Mar 2019)</dd>
</dl>

<h3>Log Message</h3>
<pre>[ContentChangeObserver] Move away from WKContentChange values
https://bugs.webkit.org/show_bug.cgi?id=195240
<rdar://problem/48532358>

Reviewed by Simon Fraser.

This is in preparation for moving towards a state machine-like implementation.

* page/ios/ContentChangeObserver.cpp:
(WebCore::ContentChangeObserver::didInstallDOMTimer): Do not install the timer if we are already in "hover" state.
(WebCore::ContentChangeObserver::didRemoveDOMTimer):
(WebCore::ContentChangeObserver::startObservingDOMTimerExecute):
(WebCore::ContentChangeObserver::stopObservingDOMTimerExecute):
(WebCore::ContentChangeObserver::startObservingStyleRecalc): No need to start observing the style recalc if we are already in "hover" state.
(WebCore::ContentChangeObserver::stopObservingStyleRecalc):
(WebCore::ContentChangeObserver::clearTimersAndReportContentChange):
(WebCore::ContentChangeObserver::didContentVisibilityChange):
(WebCore::ContentChangeObserver::startObservingContentChanges):
(WebCore::ContentChangeObserver::observedContentChange const):
(WebCore::ContentChangeObserver::removeObservedDOMTimer):
(WebCore::ContentChangeObserver::hasDeterminedState const):
(WebCore::ContentChangeObserver::observedContentChange): Deleted.
(WebCore::ContentChangeObserver::resetObservedContentChange): Deleted.
(WebCore::ContentChangeObserver::setObservedContentChange): Deleted.
(WebCore::ContentChangeObserver::addObservedDOMTimer): Deleted.
* page/ios/ContentChangeObserver.h:
(WebCore::ContentChangeObserver::addObservedDOMTimer):
(WebCore::ContentChangeObserver::clearObservedDOMTimers):
(WebCore::ContentChangeObserver::hasVisibleChangeState const):
(WebCore::ContentChangeObserver::hasObservedDOMTimer const):
(WebCore::ContentChangeObserver::setHasNoChangeState):
(WebCore::ContentChangeObserver::setHasIndeterminateState):
(WebCore::ContentChangeObserver::setHasVisibleChangeState):
(WebCore::ContentChangeObserver::countOfObservedDOMTimers const): Deleted.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCorepageiosContentChangeObservercpp">trunk/Source/WebCore/page/ios/ContentChangeObserver.cpp</a></li>
<li><a href="#trunkSourceWebCorepageiosContentChangeObserverh">trunk/Source/WebCore/page/ios/ContentChangeObserver.h</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (242318 => 242319)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog   2019-03-02 22:40:43 UTC (rev 242318)
+++ trunk/Source/WebCore/ChangeLog      2019-03-02 22:57:18 UTC (rev 242319)
</span><span class="lines">@@ -1,3 +1,40 @@
</span><ins>+2019-03-02  Zalan Bujtas  <zalan@apple.com>
+
+        [ContentChangeObserver] Move away from WKContentChange values
+        https://bugs.webkit.org/show_bug.cgi?id=195240
+        <rdar://problem/48532358>
+
+        Reviewed by Simon Fraser.
+
+        This is in preparation for moving towards a state machine-like implementation.
+
+        * page/ios/ContentChangeObserver.cpp:
+        (WebCore::ContentChangeObserver::didInstallDOMTimer): Do not install the timer if we are already in "hover" state.
+        (WebCore::ContentChangeObserver::didRemoveDOMTimer):
+        (WebCore::ContentChangeObserver::startObservingDOMTimerExecute):
+        (WebCore::ContentChangeObserver::stopObservingDOMTimerExecute):
+        (WebCore::ContentChangeObserver::startObservingStyleRecalc): No need to start observing the style recalc if we are already in "hover" state.
+        (WebCore::ContentChangeObserver::stopObservingStyleRecalc):
+        (WebCore::ContentChangeObserver::clearTimersAndReportContentChange):
+        (WebCore::ContentChangeObserver::didContentVisibilityChange):
+        (WebCore::ContentChangeObserver::startObservingContentChanges):
+        (WebCore::ContentChangeObserver::observedContentChange const):
+        (WebCore::ContentChangeObserver::removeObservedDOMTimer):
+        (WebCore::ContentChangeObserver::hasDeterminedState const):
+        (WebCore::ContentChangeObserver::observedContentChange): Deleted.
+        (WebCore::ContentChangeObserver::resetObservedContentChange): Deleted.
+        (WebCore::ContentChangeObserver::setObservedContentChange): Deleted.
+        (WebCore::ContentChangeObserver::addObservedDOMTimer): Deleted.
+        * page/ios/ContentChangeObserver.h:
+        (WebCore::ContentChangeObserver::addObservedDOMTimer):
+        (WebCore::ContentChangeObserver::clearObservedDOMTimers):
+        (WebCore::ContentChangeObserver::hasVisibleChangeState const):
+        (WebCore::ContentChangeObserver::hasObservedDOMTimer const):
+        (WebCore::ContentChangeObserver::setHasNoChangeState):
+        (WebCore::ContentChangeObserver::setHasIndeterminateState):
+        (WebCore::ContentChangeObserver::setHasVisibleChangeState):
+        (WebCore::ContentChangeObserver::countOfObservedDOMTimers const): Deleted.
+
</ins><span class="cx"> 2019-03-02  Wenson Hsieh  <wenson_hsieh@apple.com>
</span><span class="cx"> 
</span><span class="cx">         [iOS] Programmatic paste access should be granted when copying and pasting within the same origin
</span></span></pre></div>
<a id="trunkSourceWebCorepageiosContentChangeObservercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/page/ios/ContentChangeObserver.cpp (242318 => 242319)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/page/ios/ContentChangeObserver.cpp  2019-03-02 22:40:43 UTC (rev 242318)
+++ trunk/Source/WebCore/page/ios/ContentChangeObserver.cpp     2019-03-02 22:57:18 UTC (rev 242319)
</span><span class="lines">@@ -61,9 +61,12 @@
</span><span class="cx">         return;
</span><span class="cx">     if (!isObservingDOMTimerScheduling())
</span><span class="cx">         return;
</span><del>-    setObservedContentChange(WKContentIndeterminateChange);
</del><ins>+    if (hasVisibleChangeState())
+        return;
+    LOG_WITH_STREAM(ContentObservation, stream << "didInstallDOMTimer: register this timer: (" << &timer << ") and observe when it fires.");
+
+    setHasIndeterminateState();
</ins><span class="cx">     addObservedDOMTimer(timer);
</span><del>-    LOG_WITH_STREAM(ContentObservation, stream << "didInstallDOMTimer: register this timer: (" << &timer << ") and observe when it fires.");
</del><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void ContentChangeObserver::didRemoveDOMTimer(const DOMTimer& timer)
</span><span class="lines">@@ -70,11 +73,12 @@
</span><span class="cx"> {
</span><span class="cx">     if (!containsObservedDOMTimer(timer))
</span><span class="cx">         return;
</span><ins>+    LOG_WITH_STREAM(ContentObservation, stream << "removeDOMTimer: remove registered timer (" << &timer << ")");
+
</ins><span class="cx">     removeObservedDOMTimer(timer);
</span><del>-    LOG_WITH_STREAM(ContentObservation, stream << "removeDOMTimer: remove registered timer (" << &timer << ")");
-    if (countOfObservedDOMTimers())
-        return;
-    m_page.chrome().client().observedContentChange(m_page.mainFrame());
</del><ins>+    // FIXME: Just because this is the last timer, it does not mean we are in a determined state.
+    if (!hasObservedDOMTimer())
+        m_page.chrome().client().observedContentChange(m_page.mainFrame());
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void ContentChangeObserver::startObservingDOMTimerExecute(const DOMTimer& timer)
</span><span class="lines">@@ -82,6 +86,7 @@
</span><span class="cx">     if (!containsObservedDOMTimer(timer))
</span><span class="cx">         return;
</span><span class="cx">     LOG_WITH_STREAM(ContentObservation, stream << "startObservingDOMTimerExecute: start observing (" << &timer << ") timer callback.");
</span><ins>+
</ins><span class="cx">     m_isObservingContentChanges = true;
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -93,16 +98,13 @@
</span><span class="cx"> 
</span><span class="cx">     removeObservedDOMTimer(timer);
</span><span class="cx">     stopObservingContentChanges();
</span><del>-    auto observedContentChange = this->observedContentChange();
-    auto hasPendingStyleRecalc = WebCore::hasPendingStyleRecalc(m_page);
</del><span class="cx">     // Check if the timer callback triggered either a sync or async style update.
</span><del>-    auto hasDeterminedState = observedContentChange == WKContentVisibilityChange || (!countOfObservedDOMTimers() && observedContentChange == WKContentNoChange && !hasPendingStyleRecalc);  
-    if (hasDeterminedState) {
</del><ins>+    if (hasDeterminateState()) {
</ins><span class="cx">         LOG_WITH_STREAM(ContentObservation, stream << "stopObservingDOMTimerExecute: (" << &timer << ") in determined state.");
</span><span class="cx">         m_page.chrome().client().observedContentChange(m_page.mainFrame());
</span><span class="cx">         return;
</span><span class="cx">     }
</span><del>-    if (hasPendingStyleRecalc) {
</del><ins>+    if (WebCore::hasPendingStyleRecalc(m_page)) {
</ins><span class="cx">         // An async style recalc has been scheduled. Let's observe it.
</span><span class="cx">         LOG_WITH_STREAM(ContentObservation, stream << "stopObservingDOMTimerExecute: (" << &timer << ") wait until next style recalc fires.");
</span><span class="cx">         setShouldObserveStyleRecalc(true);
</span><span class="lines">@@ -113,7 +115,10 @@
</span><span class="cx"> {
</span><span class="cx">     if (!shouldObserveStyleRecalc())
</span><span class="cx">         return;
</span><ins>+    if (hasVisibleChangeState())
+        return;
</ins><span class="cx">     LOG(ContentObservation, "startObservingStyleRecalc: start observing style recalc.");
</span><ins>+
</ins><span class="cx">     m_isObservingContentChanges = true;
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -122,21 +127,22 @@
</span><span class="cx">     if (!shouldObserveStyleRecalc())
</span><span class="cx">         return;
</span><span class="cx">     LOG(ContentObservation, "stopObservingStyleRecalc: stop observing style recalc");
</span><ins>+
</ins><span class="cx">     setShouldObserveStyleRecalc(false);
</span><del>-    auto hasDeterminedState = observedContentChange() == WKContentVisibilityChange || !countOfObservedDOMTimers();
-    if (!hasDeterminedState) {
-        LOG(ContentObservation, "stopObservingStyleRecalc: can't decided it yet.");
</del><ins>+    if (hasDeterminateState()) {
+        LOG(ContentObservation, "stopObservingStyleRecalc: has determinate state, report content change.");
+        m_page.chrome().client().observedContentChange(m_page.mainFrame());
</ins><span class="cx">         return;
</span><span class="cx">     }
</span><del>-    LOG(ContentObservation, "stopObservingStyleRecalc: notify the pending synthetic click handler.");
-    m_page.chrome().client().observedContentChange(m_page.mainFrame());
</del><ins>+    LOG(ContentObservation, "stopObservingStyleRecalc: can't decide it yet.");
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void ContentChangeObserver::clearTimersAndReportContentChange()
</span><span class="cx"> {
</span><del>-    if (!countOfObservedDOMTimers())
</del><ins>+    if (!hasObservedDOMTimer())
</ins><span class="cx">         return;
</span><span class="cx">     LOG(ContentObservation, "clearTimersAndReportContentChange: remove registered timers and report content change.");
</span><ins>+
</ins><span class="cx">     clearObservedDOMTimers();
</span><span class="cx">     m_page.chrome().client().observedContentChange(m_page.mainFrame());
</span><span class="cx"> }
</span><span class="lines">@@ -153,7 +159,7 @@
</span><span class="cx"> 
</span><span class="cx"> void ContentChangeObserver::didContentVisibilityChange()
</span><span class="cx"> {
</span><del>-    setObservedContentChange(WKContentVisibilityChange);
</del><ins>+    setHasVisibleChangeState();
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void ContentChangeObserver::startObservingContentChanges()
</span><span class="lines">@@ -160,7 +166,7 @@
</span><span class="cx"> {
</span><span class="cx">     ASSERT(!hasPendingStyleRecalc(m_page));
</span><span class="cx">     startObservingDOMTimerScheduling();
</span><del>-    resetObservedContentChange();
</del><ins>+    setHasNoChangeState();
</ins><span class="cx">     clearObservedDOMTimers();
</span><span class="cx">     m_isObservingContentChanges = true;
</span><span class="cx"> }
</span><span class="lines">@@ -171,39 +177,26 @@
</span><span class="cx">     m_isObservingContentChanges = false;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-WKContentChange ContentChangeObserver::observedContentChange()
</del><ins>+WKContentChange ContentChangeObserver::observedContentChange() const
</ins><span class="cx"> {
</span><span class="cx">     return WKObservedContentChange();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void ContentChangeObserver::resetObservedContentChange()
</del><ins>+void ContentChangeObserver::removeObservedDOMTimer(const DOMTimer& timer)
</ins><span class="cx"> {
</span><del>-    WKSetObservedContentChange(WKContentNoChange);
</del><ins>+    m_DOMTimerList.remove(&timer);
+    // Force reset the content change flag when the last observed content modifier is removed. We should not be in an indeterminate state anymore.
+    if (!hasObservedDOMTimer() && observedContentChange() == WKContentIndeterminateChange)
+        setHasNoChangeState();
</ins><span class="cx"> }
</span><span class="cx"> 
</span><del>-void ContentChangeObserver::setObservedContentChange(WKContentChange change)
</del><ins>+bool ContentChangeObserver::hasDeterminateState() const
</ins><span class="cx"> {
</span><del>-    if (observedContentChange() == WKContentVisibilityChange)
-        return;
-    WKSetObservedContentChange(change);
</del><ins>+    if (hasVisibleChangeState())
+        return true;
+    return observedContentChange() == WKContentNoChange && !hasObservedDOMTimer() && !hasPendingStyleRecalc(m_page);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><del>-void ContentChangeObserver::addObservedDOMTimer(const DOMTimer& timer)
-{
-    ASSERT(isObservingDOMTimerScheduling());
-    if (observedContentChange() == WKContentVisibilityChange)
-        return;
-    m_DOMTimerList.add(&timer);
-}
-
-void ContentChangeObserver::removeObservedDOMTimer(const DOMTimer& timer)
-{
-    m_DOMTimerList.remove(&timer);
-    // Force reset the content change flag when the last observed content modifier is removed. We should not be in an indeterminate state anymore.
-    if (!countOfObservedDOMTimers() && observedContentChange() == WKContentIndeterminateChange)
-        resetObservedContentChange();
-}
-
</del><span class="cx"> static Visibility elementImplicitVisibility(const Element& element)
</span><span class="cx"> {
</span><span class="cx">     auto* renderer = element.renderer();
</span></span></pre></div>
<a id="trunkSourceWebCorepageiosContentChangeObserverh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/page/ios/ContentChangeObserver.h (242318 => 242319)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/page/ios/ContentChangeObserver.h    2019-03-02 22:40:43 UTC (rev 242318)
+++ trunk/Source/WebCore/page/ios/ContentChangeObserver.h       2019-03-02 22:57:18 UTC (rev 242319)
</span><span class="lines">@@ -40,7 +40,7 @@
</span><span class="cx"> 
</span><span class="cx">     WEBCORE_EXPORT void startObservingContentChanges();
</span><span class="cx">     WEBCORE_EXPORT void stopObservingContentChanges();
</span><del>-    WEBCORE_EXPORT WKContentChange observedContentChange();
</del><ins>+    WEBCORE_EXPORT WKContentChange observedContentChange() const;
</ins><span class="cx"> 
</span><span class="cx">     void didInstallDOMTimer(const DOMTimer&, Seconds timeout, bool singleShot);
</span><span class="cx">     void didRemoveDOMTimer(const DOMTimer&);
</span><span class="lines">@@ -89,7 +89,7 @@
</span><span class="cx">     void startObservingStyleRecalc();
</span><span class="cx">     void stopObservingStyleRecalc();
</span><span class="cx"> 
</span><del>-    void addObservedDOMTimer(const DOMTimer&);
</del><ins>+    void addObservedDOMTimer(const DOMTimer& timer) { m_DOMTimerList.add(&timer); }
</ins><span class="cx">     bool isObservingDOMTimerScheduling() const { return m_isObservingDOMTimerScheduling; }
</span><span class="cx">     void removeObservedDOMTimer(const DOMTimer&);
</span><span class="cx">     bool containsObservedDOMTimer(const DOMTimer& timer) const { return m_DOMTimerList.contains(&timer); }
</span><span class="lines">@@ -97,15 +97,19 @@
</span><span class="cx">     void setShouldObserveStyleRecalc(bool shouldObserve) { m_shouldObserveStyleRecalc = shouldObserve; }
</span><span class="cx">     bool shouldObserveStyleRecalc() const { return m_shouldObserveStyleRecalc; }
</span><span class="cx"> 
</span><del>-    void setObservedContentChange(WKContentChange);
-    void resetObservedContentChange();
</del><span class="cx">     bool isObservingContentChanges() const { return m_isObservingContentChanges; }
</span><span class="cx"> 
</span><del>-    unsigned countOfObservedDOMTimers() const { return m_DOMTimerList.size(); }
</del><span class="cx">     void clearObservedDOMTimers() { m_DOMTimerList.clear(); }
</span><del>-
</del><span class="cx">     void clearTimersAndReportContentChange();
</span><span class="cx"> 
</span><ins>+    void setHasIndeterminateState();
+    void setHasVisibleChangeState();
+    void setHasNoChangeState();
+
+    bool hasVisibleChangeState() const { return observedContentChange() == WKContentVisibilityChange; }
+    bool hasObservedDOMTimer() const { return !m_DOMTimerList.isEmpty(); }
+    bool hasDeterminateState() const;
+
</ins><span class="cx">     Page& m_page;
</span><span class="cx">     HashSet<const DOMTimer*> m_DOMTimerList;
</span><span class="cx">     bool m_shouldObserveStyleRecalc { false };
</span><span class="lines">@@ -113,5 +117,21 @@
</span><span class="cx">     bool m_isObservingContentChanges { false };
</span><span class="cx"> };
</span><span class="cx"> 
</span><ins>+inline void ContentChangeObserver::setHasNoChangeState()
+{
+    WKSetObservedContentChange(WKContentNoChange);
</ins><span class="cx"> }
</span><ins>+
+inline void ContentChangeObserver::setHasIndeterminateState()
+{
+    ASSERT(!hasVisibleChangeState());
+    WKSetObservedContentChange(WKContentIndeterminateChange);
+}
+
+inline void ContentChangeObserver::setHasVisibleChangeState()
+{
+    WKSetObservedContentChange(WKContentVisibilityChange);
+}
+
+}
</ins><span class="cx"> #endif
</span></span></pre>
</div>
</div>

</body>
</html>