зеркало из https://github.com/mozilla/pjs.git
Bug 756430 - Missing return statement in DrawTargetD2D::FillGlyphsManual r=bas
--HG-- rename : toolkit/content/tests/widgets/test_menubar_gtk.xul => toolkit/content/tests/widgets/test_menubar.xul rename : toolkit/content/tests/widgets/window_menubar_gtk.xul => toolkit/content/tests/widgets/window_menubar.xul extra : rebase_source : 1f231cb0a881091853319a9e311405182a4e07f1
This commit is contained in:
Родитель
a7684f9eb6
Коммит
6cd16254e2
|
@ -1661,7 +1661,6 @@ DrawTargetD2D::PushClipsToRT(ID2D1RenderTarget *aRT)
|
|||
{
|
||||
for (std::vector<PushedClip>::iterator iter = mPushedClips.begin();
|
||||
iter != mPushedClips.end(); iter++) {
|
||||
D2D1_LAYER_OPTIONS options = D2D1_LAYER_OPTIONS_NONE;
|
||||
if (iter->mLayer) {
|
||||
D2D1_LAYER_OPTIONS options = D2D1_LAYER_OPTIONS_NONE;
|
||||
|
||||
|
@ -1894,6 +1893,7 @@ DrawTargetD2D::FillGlyphsManual(ScaledFontDWrite *aFont,
|
|||
mDevice->OMSetRenderTargets(1, &rtViews, NULL);
|
||||
|
||||
mDevice->Draw(4, 0);
|
||||
return true;
|
||||
}
|
||||
|
||||
TemporaryRef<ID2D1Brush>
|
||||
|
|
Загрузка…
Ссылка в новой задаче