зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1429806 - Initialize new field in WR GlyphOptions introduced in WR PR 2288. r=kats
MozReview-Commit-ID: JRm6VKBeUuL --HG-- extra : rebase_source : 20ea49bec54e8a99304628348c1fd63b0d950129
This commit is contained in:
Родитель
337643b6eb
Коммит
4b892d44b0
|
@ -710,9 +710,11 @@ struct GlyphInstance {
|
|||
|
||||
struct GlyphOptions {
|
||||
FontRenderMode render_mode;
|
||||
FontInstanceFlags flags;
|
||||
|
||||
bool operator==(const GlyphOptions& aOther) const {
|
||||
return render_mode == aOther.render_mode;
|
||||
return render_mode == aOther.render_mode &&
|
||||
flags == aOther.flags;
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
@ -134,6 +134,7 @@ public:
|
|||
|
||||
wr::GlyphOptions glyphOptions;
|
||||
glyphOptions.render_mode = wr::ToFontRenderMode(aOptions.mAntialiasMode, GetPermitSubpixelAA());
|
||||
glyphOptions.flags = 0;
|
||||
|
||||
mManager->WrBridge()->PushGlyphs(mBuilder, glyphs, aFont,
|
||||
color, mSc, mBoundsRect, mClipRect,
|
||||
|
|
Загрузка…
Ссылка в новой задаче