Title: [163498] trunk/Source/WebCore
- Revision
- 163498
- Author
- [email protected]
- Date
- 2014-02-05 17:14:42 -0800 (Wed, 05 Feb 2014)
Log Message
Fix the !ENABLE(PAGE_VISIBILITY_API) build
https://bugs.webkit.org/show_bug.cgi?id=127907
Reviewed by Brent Fulgham.
* page/Page.cpp:
(WebCore::Page::setIsVisible):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (163497 => 163498)
--- trunk/Source/WebCore/ChangeLog 2014-02-06 01:08:23 UTC (rev 163497)
+++ trunk/Source/WebCore/ChangeLog 2014-02-06 01:14:42 UTC (rev 163498)
@@ -1,3 +1,13 @@
+2014-02-05 Csaba Osztrogonác <[email protected]>
+
+ Fix the !ENABLE(PAGE_VISIBILITY_API) build
+ https://bugs.webkit.org/show_bug.cgi?id=127907
+
+ Reviewed by Brent Fulgham.
+
+ * page/Page.cpp:
+ (WebCore::Page::setIsVisible):
+
2014-02-05 Oliver Hunt <[email protected]>
Change custom getter signature to make the base reference an object pointer
Modified: trunk/Source/WebCore/page/Page.cpp (163497 => 163498)
--- trunk/Source/WebCore/page/Page.cpp 2014-02-06 01:08:23 UTC (rev 163497)
+++ trunk/Source/WebCore/page/Page.cpp 2014-02-06 01:14:42 UTC (rev 163498)
@@ -1171,8 +1171,10 @@
unthrottleTimers();
+#if ENABLE(PAGE_VISIBILITY_API)
if (m_settings->hiddenPageCSSAnimationSuspensionEnabled())
mainFrame().animation().resumeAnimations();
+#endif
resumeAnimatingImages();
}
@@ -1194,8 +1196,10 @@
if (m_pageThrottler->shouldThrottleTimers())
throttleTimers();
+#if ENABLE(PAGE_VISIBILITY_API)
if (m_settings->hiddenPageCSSAnimationSuspensionEnabled())
mainFrame().animation().suspendAnimations();
+#endif
for (Frame* frame = &mainFrame(); frame; frame = frame->tree().traverseNext()) {
if (FrameView* frameView = frame->view())
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes