Title: [107090] trunk
Revision
107090
Author
commit-qu...@webkit.org
Date
2012-02-08 08:02:31 -0800 (Wed, 08 Feb 2012)

Log Message

[Qt][WK2] Compute and set cache capacities using the current CacheModel
https://bugs.webkit.org/show_bug.cgi?id=73918

Patch by Michael Brüning <michael.brun...@nokia.com> on 2012-02-08
Reviewed by Kenneth Rohde Christiansen.

Source/WebKit2:

* UIProcess/WebContext.cpp:
(WebKit::WebContext::WebContext): Set default cacheModel for Qt platform to
CacheModelPrimaryWebBrowser.

LayoutTests:

* platform/qt-wk2/Skipped: Unskip tests skipped for regression from r106920.

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (107089 => 107090)


--- trunk/LayoutTests/ChangeLog	2012-02-08 15:51:53 UTC (rev 107089)
+++ trunk/LayoutTests/ChangeLog	2012-02-08 16:02:31 UTC (rev 107090)
@@ -1,3 +1,12 @@
+2012-02-08  Michael Brüning  <michael.brun...@nokia.com>
+
+        [Qt][WK2] Compute and set cache capacities using the current CacheModel
+        https://bugs.webkit.org/show_bug.cgi?id=73918
+
+        Reviewed by Kenneth Rohde Christiansen.
+
+        * platform/qt-wk2/Skipped: Unskip tests skipped for regression from r106920.
+
 2012-02-08  Pavel Podivilov  <podivi...@chromium.org>
 
         Unreviewed, add chromium expectations for fast/forms/select-overflow-scroll* tests.

Modified: trunk/LayoutTests/platform/qt-wk2/Skipped (107089 => 107090)


--- trunk/LayoutTests/platform/qt-wk2/Skipped	2012-02-08 15:51:53 UTC (rev 107089)
+++ trunk/LayoutTests/platform/qt-wk2/Skipped	2012-02-08 16:02:31 UTC (rev 107090)
@@ -422,16 +422,3 @@
 fast/history/form-submit-in-frame-via-onclick.html
 fast/history/form-submit-in-frame.html
 http/tests/loading/state-object-security-exception.html
-
-# REGRESSION(r106920) - https://bugs.webkit.org/show_bug.cgi?id=73918
-canvas/philip/tests/2d.pattern.modify.image1.html
-fast/events/pagehide-timeout.html
-fast/events/pageshow-pagehide-on-back-cached-with-frames.html
-fast/events/pageshow-pagehide-on-back-cached.html
-fast/harness/page-cache-crash-on-data-urls.html
-fast/harness/use-page-cache.html
-http/tests/cache/post-redirect-get.php
-http/tests/security/xhr-cors-redirect.html
-http/tests/xmlhttprequest/access-control-and-redirects.html
-http/tests/xmlhttprequest/xmlhttprequest-unsafe-redirect.html
-svg/animations/animate-color-fill-from-by.html

Modified: trunk/Source/WebKit2/ChangeLog (107089 => 107090)


--- trunk/Source/WebKit2/ChangeLog	2012-02-08 15:51:53 UTC (rev 107089)
+++ trunk/Source/WebKit2/ChangeLog	2012-02-08 16:02:31 UTC (rev 107090)
@@ -1,3 +1,14 @@
+2012-02-08  Michael Brüning  <michael.brun...@nokia.com>
+
+        [Qt][WK2] Compute and set cache capacities using the current CacheModel
+        https://bugs.webkit.org/show_bug.cgi?id=73918
+
+        Reviewed by Kenneth Rohde Christiansen.
+
+        * UIProcess/WebContext.cpp:
+        (WebKit::WebContext::WebContext): Set default cacheModel for Qt platform to
+        CacheModelPrimaryWebBrowser.
+
 2012-02-08  Carlos Garcia Campos  <cgar...@igalia.com>
 
         [GTK] Fix WebKitWebView::decide-policy API documentation

Modified: trunk/Source/WebKit2/UIProcess/WebContext.cpp (107089 => 107090)


--- trunk/Source/WebKit2/UIProcess/WebContext.cpp	2012-02-08 15:51:53 UTC (rev 107089)
+++ trunk/Source/WebKit2/UIProcess/WebContext.cpp	2012-02-08 16:02:31 UTC (rev 107090)
@@ -122,7 +122,11 @@
     , m_visitedLinkProvider(this)
     , m_alwaysUsesComplexTextCodePath(false)
     , m_shouldUseFontSmoothing(true)
+#if PLATFORM(QT)
+    , m_cacheModel(CacheModelPrimaryWebBrowser)
+#else
     , m_cacheModel(CacheModelDocumentViewer)
+#endif
     , m_memorySamplerEnabled(false)
     , m_memorySamplerInterval(1400.0)
     , m_applicationCacheManagerProxy(WebApplicationCacheManagerProxy::create(this))
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to