[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677
rjw
rjw at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 05:48:40 UTC 2009
The following commit has been merged in the debian/unstable branch:
commit 3ca4c41250f6f56ee9029411c557ee106133380a
Author: rjw <rjw at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Wed Oct 3 20:29:58 2001 +0000
Added some comments about 'struct KWQFontData'. We may remove this data
struct in the future if not needed to save malloc/free.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@260 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebCore/kwq/KWQFont.h b/WebCore/kwq/KWQFont.h
index 4162c15..65edd67 100644
--- a/WebCore/kwq/KWQFont.h
+++ b/WebCore/kwq/KWQFont.h
@@ -98,6 +98,9 @@ public:
void _setTrait (NSFontTraitMask mask);
#endif
+ // KWQFontData is most likely unnecessary. But we MAY need to get a bit more
+ // complicated with the font caching/font metrics. At some point we should
+ // decide to do away with the struct and just have direct references to members.
struct KWQFontData {
#if (defined(__APPLE__) && defined(__OBJC__) && defined(__cplusplus))
NSFont *font;
diff --git a/WebCore/kwq/qt/qfont.h b/WebCore/kwq/qt/qfont.h
index 4162c15..65edd67 100644
--- a/WebCore/kwq/qt/qfont.h
+++ b/WebCore/kwq/qt/qfont.h
@@ -98,6 +98,9 @@ public:
void _setTrait (NSFontTraitMask mask);
#endif
+ // KWQFontData is most likely unnecessary. But we MAY need to get a bit more
+ // complicated with the font caching/font metrics. At some point we should
+ // decide to do away with the struct and just have direct references to members.
struct KWQFontData {
#if (defined(__APPLE__) && defined(__OBJC__) && defined(__cplusplus))
NSFont *font;
diff --git a/WebCore/src/kwq/qt/qfont.h b/WebCore/src/kwq/qt/qfont.h
index 4162c15..65edd67 100644
--- a/WebCore/src/kwq/qt/qfont.h
+++ b/WebCore/src/kwq/qt/qfont.h
@@ -98,6 +98,9 @@ public:
void _setTrait (NSFontTraitMask mask);
#endif
+ // KWQFontData is most likely unnecessary. But we MAY need to get a bit more
+ // complicated with the font caching/font metrics. At some point we should
+ // decide to do away with the struct and just have direct references to members.
struct KWQFontData {
#if (defined(__APPLE__) && defined(__OBJC__) && defined(__cplusplus))
NSFont *font;
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list