Index: Source/WebCore/page/PageVisibilityState.cpp |
=================================================================== |
--- Source/WebCore/page/PageVisibilityState.cpp (revision 88229) |
+++ Source/WebCore/page/PageVisibilityState.cpp (working copy) |
@@ -39,12 +39,15 @@ |
{ |
DEFINE_STATIC_LOCAL(const String, visible, ("visible")); |
DEFINE_STATIC_LOCAL(const String, hidden, ("hidden")); |
+ DEFINE_STATIC_LOCAL(const String, prerender, ("prerender")); |
switch (state) { |
case PageVisibilityStateVisible: |
return visible; |
case PageVisibilityStateHidden: |
return hidden; |
+ case PageVisibilityStatePrerender: |
+ return prerender; |
} |
ASSERT_NOT_REACHED(); |