Title: [94411] trunk/Source/WebKit2
Revision
94411
Author
kbal...@webkit.org
Date
2011-09-02 05:35:46 -0700 (Fri, 02 Sep 2011)

Log Message

[Qt][WK2] Cannot gathering glyph page statistics
https://bugs.webkit.org/show_bug.cgi?id=67475

Rubber stamped by Csaba Osztrogonác.

Fix Qt WK2 build without having QRAWFONT.

* WebProcess/WebProcess.cpp:
(WebKit::WebProcess::getWebCoreStatistics):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (94410 => 94411)


--- trunk/Source/WebKit2/ChangeLog	2011-09-02 11:49:36 UTC (rev 94410)
+++ trunk/Source/WebKit2/ChangeLog	2011-09-02 12:35:46 UTC (rev 94411)
@@ -1,3 +1,15 @@
+2011-09-02  Balazs Kelemen  <kbal...@webkit.org>
+
+        [Qt][WK2] Cannot gathering glyph page statistics
+        https://bugs.webkit.org/show_bug.cgi?id=67475
+
+        Rubber stamped by Csaba Osztrogonác.
+
+        Fix Qt WK2 build without having QRAWFONT.
+
+        * WebProcess/WebProcess.cpp:
+        (WebKit::WebProcess::getWebCoreStatistics):
+
 2011-09-02  Mark Rowe  <mr...@apple.com>
 
         <http://webkit.org/b/67467> WebProcessProxy::secItemCopyMatching / WebProcessProxy::secItemAdd

Modified: trunk/Source/WebKit2/WebProcess/WebProcess.cpp (94410 => 94411)


--- trunk/Source/WebKit2/WebProcess/WebProcess.cpp	2011-09-02 11:49:36 UTC (rev 94410)
+++ trunk/Source/WebKit2/WebProcess/WebProcess.cpp	2011-09-02 12:35:46 UTC (rev 94411)
@@ -924,7 +924,9 @@
     data.statisticsNumbers.set("CachedFontDataInactiveCount", fontCache()->inactiveFontDataCount());
     
     // Gather glyph page statistics.
+#if !(PLATFORM(QT) && !HAVE(QRAWFONT)) // Qt doesn't use the glyph page tree currently. See: bug 63467.
     data.statisticsNumbers.set("GlyphPageCount", GlyphPageTreeNode::treeGlyphPageCount());
+#endif
     
     // Get WebCore memory cache statistics
     getWebCoreMemoryCacheStatistics(data.webCoreCacheStatistics);
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to