зеркало из https://github.com/mozilla/gecko-dev.git
Bug 934860 - Followup to fix build on a CLOSED TREE
This commit is contained in:
Родитель
e5d0e79c1e
Коммит
8480b24f62
|
@ -25,6 +25,7 @@
|
|||
#include "GeckoProfiler.h"
|
||||
#include "mozilla/gfx/Tools.h"
|
||||
#include "mozilla/gfx/2D.h"
|
||||
#include "mozilla/Preferences.h"
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
|
@ -3319,7 +3320,7 @@ static bool ShouldDrawRectsSeparately(gfxContext* aContext, DrawRegionClip aClip
|
|||
static bool sPaintRectsSeparately;
|
||||
static bool sPaintRectsSeparatelyPrefCached = false;
|
||||
if (!sPaintRectsSeparatelyPrefCached) {
|
||||
Preferences::AddBoolVarCache(&sPaintRectsSeparately, "layout.paint_rects_separately", false);
|
||||
mozilla::Preferences::AddBoolVarCache(&sPaintRectsSeparately, "layout.paint_rects_separately", false);
|
||||
sPaintRectsSeparatelyPrefCached = true;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче