Bug 1321495 part 2: Add needed "using namespace" declarations to several .cpp files in layout/style, to preemptively fix unified-build bustage. r=TYLin

MozReview-Commit-ID: 5p6DhiZ5YFg

--HG--
extra : rebase_source : 17a90dbe63af0b4e3a7c29881336fc31fbaf726d
This commit is contained in:
Daniel Holbert 2016-12-01 10:37:44 -08:00
Родитель 3a33aee4d9
Коммит 14dede68ec
5 изменённых файлов: 8 добавлений и 0 удалений

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

@ -12,6 +12,8 @@
#include "mozAutoDocUpdate.h"
using namespace mozilla::dom;
namespace mozilla {
ServoStyleSheet::ServoStyleSheet(css::SheetParsingMode aParsingMode,

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

@ -14,6 +14,8 @@
#include "mozilla/Likely.h"
#include <algorithm>
using namespace mozilla;
/* Character class tables and related helper functions. */
static const uint8_t IS_HEX_DIGIT = 0x01;

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

@ -28,6 +28,7 @@
#include "nsContentUtils.h"
using namespace mozilla;
using namespace mozilla::css;
static bool
IsLocalRefURL(nsStringBuffer* aString)

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

@ -9,6 +9,8 @@
#include "mozilla/HashFunctions.h"
#include "mozilla/PodOperations.h"
using namespace mozilla;
nsStyleCoord::nsStyleCoord(nsStyleUnit aUnit)
: mUnit(aUnit)
{

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

@ -40,6 +40,7 @@
#include <algorithm>
using namespace mozilla;
using namespace mozilla::dom;
static_assert((((1 << nsStyleStructID_Length) - 1) &
~(NS_STYLE_INHERIT_MASK)) == 0,