[Webkit-unassigned] [Bug 28131] [Haiku] Adding font-specific files to WebCore.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 11 08:34:39 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=28131





--- Comment #8 from Maxime Simon <simon.maxime at gmail.com>  2009-08-11 08:34:38 PDT ---
(In reply to comment #4)
> Shouldn't char* out be char[4]& out?

I tried with char[4]& but it didn't compile. I got this output "error: 'out'
was not declared in this scope."

> Why is the const_cast needed?
>  79     GlyphBufferGlyph* glyphs =
> const_cast<GlyphBufferGlyph*>(glyphBuffer.glyphs(from));

This const_cast is needed because the glyphBuffer argument of the function is
const, and the glyphs we are creating will be modified.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list