Index: Source/WebKit/chromium/src/WebViewImpl.cpp |
=================================================================== |
--- Source/WebKit/chromium/src/WebViewImpl.cpp (revision 88229) |
+++ Source/WebKit/chromium/src/WebViewImpl.cpp (working copy) |
@@ -2588,7 +2588,9 @@ |
if (!page()) |
return; |
- ASSERT(visibilityState == WebPageVisibilityStateVisible || visibilityState == WebPageVisibilityStateHidden); |
+ ASSERT(visibilityState == WebPageVisibilityStateVisible |
+ || visibilityState == WebPageVisibilityStateHidden |
+ || visibilityState == WebPageVisibilityStatePrerender); |
m_page->setVisibilityState(static_cast<PageVisibilityState>(static_cast<int>(visibilityState)), isInitialState); |
#endif |
} |