Bug 934860 - Followup to fix build on a CLOSED TREE

This commit is contained in:
Matt Woodrow 2013-11-17 17:24:53 +13:00
Родитель e5d0e79c1e
Коммит 8480b24f62
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -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;
}