WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
27671
Add functions to print the glyph page trees for debugging
https://bugs.webkit.org/show_bug.cgi?id=27671
Summary
Add functions to print the glyph page trees for debugging
mitz
Reported
2009-07-24 17:18:01 PDT
Patch forthcoming
Attachments
Add functions to print the glyph page trees for debugging
(13.07 KB, patch)
2009-07-24 17:23 PDT
,
mitz
darin
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
mitz
Comment 1
2009-07-24 17:23:50 PDT
Created
attachment 33478
[details]
Add functions to print the glyph page trees for debugging
Darin Adler
Comment 2
2009-07-24 18:08:08 PDT
Comment on
attachment 33478
[details]
Add functions to print the glyph page trees for debugging
> +#ifndef NDEBUG > +#include "PlatformString.h" > +#endif
I'm conflicted about how useful it is to have the #include be #ifndef'd. Maybe it's better to not do that. But also, declaring a function that returns a String requires only a forward declaration, not the definition, so the include isn't needed.
> +#ifndef NDEBUG > +#include "PlatformString.h" > +#endif > + > namespace WebCore { > > class FontPlatformData { > @@ -107,6 +111,10 @@ public: > #endif > }; > > +#ifndef NDEBUG > + String description() const { return String(); } > +#endif
In this case, and others like it, "PlatformString.h" is needed, but only because the implementation is in the header. Can we put the implementation in a .cpp file instead? r=me, but consider a version with less PlatformString.h
mitz
Comment 3
2009-07-24 20:51:07 PDT
Landed in <
http://trac.webkit.org/projects/webkit/changeset/46388
>.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug