[Qt] [WK2] Fix the debug build after r106920
authorabecsi@webkit.org <abecsi@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 7 Feb 2012 15:33:58 +0000 (15:33 +0000)
committerabecsi@webkit.org <abecsi@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 7 Feb 2012 15:33:58 +0000 (15:33 +0000)
* WebProcess/qt/WebProcessQt.cpp:
(WebKit::WebProcess::platformSetCacheModel):
Remove unnecessary assert.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106939 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit2/ChangeLog
Source/WebKit2/WebProcess/qt/WebProcessQt.cpp

index 3d1038c..7492073 100644 (file)
@@ -1,3 +1,11 @@
+2012-02-07  Andras Becsi  <andras.becsi@nokia.com>
+
+        [Qt] [WK2] Fix the debug build after r106920
+
+        * WebProcess/qt/WebProcessQt.cpp:
+        (WebKit::WebProcess::platformSetCacheModel):
+        Remove unnecessary assert.
+
 2012-02-03  Andras Becsi  <andras.becsi@nokia.com>
 
         [Qt][WK2] Add the componentComplete method to WebView
index bdac9f5..0e69c1d 100644 (file)
@@ -96,7 +96,6 @@ void WebProcess::platformSetCacheModel(CacheModel cacheModel)
     QNetworkDiskCache* diskCache = qobject_cast<QNetworkDiskCache*>(m_networkAccessManager->cache());
     ASSERT(diskCache);
 
-    ASSERT(WebCore::platformInfo());
     uint64_t physicalMemorySizeInMegabytes = physicalMemorySizeInBytes() / 1024 / 1024;
 
     // The Mac port of WebKit2 uses a fudge factor of 1000 here to account for misalignment, however,