[Webkit-unassigned] [Bug 54181] Implement Page Visibility API.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 5 13:42:52 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=54181





--- Comment #27 from Brett Wilson (Google) <brettw at chromium.org>  2011-05-05 13:42:51 PST ---
(From update of attachment 92449)
View in context: https://bugs.webkit.org/attachment.cgi?id=92449&action=review

> Source/WebKit/chromium/src/WebViewImpl.cpp:2573
> +    switch (visibilityState) {

It seems like this 10-line block could be written as:
  ASSERT(visibilityState == WebPageVisibilityStateVisible || visibilityState == WebPageVisibilityStateHidden);
  m_page->setVisibilityState(visibilityState, isInitialState);

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list