-
darin@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=120261 Reviewed by Andreas Kling. * dom/Document.cpp: Removed dispatchVisibilityStateChangeEvent. * dom/Document.h: Ditto. * page/Frame.cpp: Ditto. * page/Frame.h: Ditto. * page/Page.cpp: (WebCore::Page::setVisibilityState): Put all the logic for dispatching the visibility state change event. Nothing here requires any special information about the internals of Frame or Document. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154572 268f45cc-cd09-0410-ab3c-d52691b4dbfc
f6fdedba