Title: [110561] trunk/Source/WebCore
Revision
110561
Author
gav...@chromium.org
Date
2012-03-13 07:57:53 -0700 (Tue, 13 Mar 2012)

Log Message

Fix an enumeration name in ReasonsFrameCannotBeInPageCache.
https://bugs.webkit.org/show_bug.cgi?id=80849

Reviewed by Brady Eidson.

It seems that somebody goofed, and named one of the
ReasonsFrameCannotBeInPageCache antonymically.

* history/PageCache.cpp:
(WebCore::logCanCacheFrameDecision):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (110560 => 110561)


--- trunk/Source/WebCore/ChangeLog	2012-03-13 14:38:27 UTC (rev 110560)
+++ trunk/Source/WebCore/ChangeLog	2012-03-13 14:57:53 UTC (rev 110561)
@@ -1,3 +1,16 @@
+2012-03-13  Gavin Peters  <gav...@chromium.org>
+
+        Fix an enumeration name in ReasonsFrameCannotBeInPageCache.
+        https://bugs.webkit.org/show_bug.cgi?id=80849
+
+        Reviewed by Brady Eidson.
+
+        It seems that somebody goofed, and named one of the
+        ReasonsFrameCannotBeInPageCache antonymically.
+
+        * history/PageCache.cpp:
+        (WebCore::logCanCacheFrameDecision):
+
 2012-03-12  Kinuko Yasuda  <kin...@chromium.org>
 
         File upload control should use File.name() rather than File.path() to show chosen filenames

Modified: trunk/Source/WebCore/history/PageCache.cpp (110560 => 110561)


--- trunk/Source/WebCore/history/PageCache.cpp	2012-03-13 14:38:27 UTC (rev 110560)
+++ trunk/Source/WebCore/history/PageCache.cpp	2012-03-13 14:57:53 UTC (rev 110561)
@@ -76,7 +76,7 @@
     QuickRedirectComing,
     IsLoadingInAPISense,
     IsStopping,
-    CanSuspendActiveDOMObjects,
+    CannotSuspendActiveDOMObjects,
     DocumentLoaderUsesApplicationCache,
     ClientDeniesCaching,
     NumberOfReasonsFramesCannotBeInPageCache,
@@ -159,7 +159,7 @@
         }
         if (!frame->document()->canSuspendActiveDOMObjects()) {
             PCLOG("   -The document cannot suspect its active DOM Objects");
-            rejectReasons |= 1 << CanSuspendActiveDOMObjects;
+            rejectReasons |= 1 << CannotSuspendActiveDOMObjects;
         }
         if (!frame->loader()->documentLoader()->applicationCacheHost()->canCacheInPageCache()) {
             PCLOG("   -The DocumentLoader uses an application cache");
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to