Corrected outdated comment.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38155 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus 2010-08-16 19:34:15 +00:00
parent b6865b963b
commit 119e788a15

View File

@ -301,9 +301,8 @@ GlyphLayoutEngine::LayoutGlyphs(GlyphConsumer& consumer,
// The caller passed a FontCacheReference, but this is the first
// iteration -> switch the ownership from the stack allocated
// FontCacheReference to the one passed by the caller. The fallback
// FontCacheReference is not affected by this. Eventually, the fallback
// glyphs shall be cached in the original FontCacheEntry, so that it is
// not even used in this situation.
// FontCacheReference is not affected by this, since it is never used
// during a second iteration.
_cacheReference->SetTo(entry, cacheReference.WriteLocked());
cacheReference.SetTo(NULL, false);
}