Title: [107794] trunk/Source/WebCore
- Revision
- 107794
- Author
- [email protected]
- Date
- 2012-02-15 01:24:36 -0800 (Wed, 15 Feb 2012)
Log Message
[chromium] Don't use increased FontCache size on Android
https://bugs.webkit.org/show_bug.cgi?id=78656
Reviewed by Adam Barth.
The chromium port uses a larger font cache size because it increases
performance on the intl1 and intl2 page cyclers. However, on Android
devices where resources are more constrained, it isn't desireable to
allow the FontCache to grow so big.
No new tests because no testable difference in functionality.
* platform/graphics/FontCache.cpp:
(WebCore):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (107793 => 107794)
--- trunk/Source/WebCore/ChangeLog 2012-02-15 09:17:20 UTC (rev 107793)
+++ trunk/Source/WebCore/ChangeLog 2012-02-15 09:24:36 UTC (rev 107794)
@@ -1,3 +1,20 @@
+2012-02-15 Tony Gentilcore <[email protected]>
+
+ [chromium] Don't use increased FontCache size on Android
+ https://bugs.webkit.org/show_bug.cgi?id=78656
+
+ Reviewed by Adam Barth.
+
+ The chromium port uses a larger font cache size because it increases
+ performance on the intl1 and intl2 page cyclers. However, on Android
+ devices where resources are more constrained, it isn't desireable to
+ allow the FontCache to grow so big.
+
+ No new tests because no testable difference in functionality.
+
+ * platform/graphics/FontCache.cpp:
+ (WebCore):
+
2012-02-15 Roland Steiner <[email protected]>
<style scoped>: Allow <style scoped> as a direct child of a ShadowRoot
Modified: trunk/Source/WebCore/platform/graphics/FontCache.cpp (107793 => 107794)
--- trunk/Source/WebCore/platform/graphics/FontCache.cpp 2012-02-15 09:17:20 UTC (rev 107793)
+++ trunk/Source/WebCore/platform/graphics/FontCache.cpp 2012-02-15 09:24:36 UTC (rev 107794)
@@ -252,7 +252,7 @@
static FontDataCache* gFontDataCache = 0;
-#if PLATFORM(CHROMIUM)
+#if PLATFORM(CHROMIUM) && !OS(ANDROID)
const int cMaxInactiveFontData = 250;
const int cTargetInactiveFontData = 200;
#else
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes