mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-25 18:07:31 +09:00
Issue #1877 - Resolve RELEASE_OR_BETA conditionals.
This commit is contained in:
parent
93c90e371b
commit
d4eac725fd
30 changed files with 75 additions and 144 deletions
|
|
@ -50,20 +50,9 @@ gfxFont::GetShapedWord(DrawTarget *aDrawTarget,
|
|||
|
||||
if (sw) {
|
||||
sw->ResetAge();
|
||||
#ifndef RELEASE_OR_BETA
|
||||
if (aTextPerf) {
|
||||
aTextPerf->current.wordCacheHit++;
|
||||
}
|
||||
#endif
|
||||
return sw;
|
||||
}
|
||||
|
||||
#ifndef RELEASE_OR_BETA
|
||||
if (aTextPerf) {
|
||||
aTextPerf->current.wordCacheMiss++;
|
||||
}
|
||||
#endif
|
||||
|
||||
sw = gfxShapedWord::Create(aText, aLength, aRunScript, aAppUnitsPerDevUnit,
|
||||
aFlags);
|
||||
entry->mShapedWord.reset(sw);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue