Title: [186068] trunk/Source/WebCore
- Revision
- 186068
- Author
- [email protected]
- Date
- 2015-06-29 03:09:59 -0700 (Mon, 29 Jun 2015)
Log Message
[EFL] Purge unused favicons from IconDatabase after 30 days.
https://bugs.webkit.org/show_bug.cgi?id=146334
Patch by Hyungwook Lee <[email protected]> on 2015-06-29
Reviewed by Gyuyoung Kim.
We need purge unused favicons from IconDatabase for database size control.
* loader/icon/IconDatabase.cpp:
(WebCore::IconDatabase::performURLImport):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (186067 => 186068)
--- trunk/Source/WebCore/ChangeLog 2015-06-29 06:51:28 UTC (rev 186067)
+++ trunk/Source/WebCore/ChangeLog 2015-06-29 10:09:59 UTC (rev 186068)
@@ -1,3 +1,15 @@
+2015-06-29 Hyungwook Lee <[email protected]>
+
+ [EFL] Purge unused favicons from IconDatabase after 30 days.
+ https://bugs.webkit.org/show_bug.cgi?id=146334
+
+ Reviewed by Gyuyoung Kim.
+
+ We need purge unused favicons from IconDatabase for database size control.
+
+ * loader/icon/IconDatabase.cpp:
+ (WebCore::IconDatabase::performURLImport):
+
2015-06-26 Matt Rajca <[email protected]>
Add support for 'Default' media session types
Modified: trunk/Source/WebCore/loader/icon/IconDatabase.cpp (186067 => 186068)
--- trunk/Source/WebCore/loader/icon/IconDatabase.cpp 2015-06-29 06:51:28 UTC (rev 186067)
+++ trunk/Source/WebCore/loader/icon/IconDatabase.cpp 2015-06-29 10:09:59 UTC (rev 186068)
@@ -70,7 +70,7 @@
static bool checkIntegrityOnOpen = false;
-#if PLATFORM(GTK)
+#if PLATFORM(GTK) || PLATFORM(EFL)
// We are not interested in icons that have been unused for more than
// 30 days, delete them even if they have not been explicitly released.
static const int notUsedIconExpirationTime = 60*60*24*30;
@@ -1191,7 +1191,7 @@
{
ASSERT_ICON_SYNC_THREAD();
-# if PLATFORM(GTK)
+# if PLATFORM(GTK) || PLATFORM(EFL)
// Do not import icons not used in the last 30 days. They will be automatically pruned later if nobody retains them.
// Note that IconInfo.stamp is only set when the icon data is retrieved from the server (and thus is not updated whether
// we use it or not). This code works anyway because the IconDatabase downloads icons again if they are older than 4 days,
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes