зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
3a33aee4d9
Коммит
14dede68ec
|
@ -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,
|
||||
|
|
Загрузка…
Ссылка в новой задаче