Bug 1468582: Remove using namespace statements from layout headers. r=mats

MozReview-Commit-ID: WF23cUiHFH
This commit is contained in:
Emilio Cobos Álvarez 2018-06-13 12:13:07 -07:00
Родитель f9040bbbb9
Коммит 0c6c2df7a2
4 изменённых файлов: 7 добавлений и 14 удалений

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

@ -26,11 +26,6 @@
#include "nsIReflowCallback.h"
#include "mozilla/Unused.h"
using namespace mozilla;
using namespace mozilla::dom;
using namespace mozilla::gfx;
using namespace mozilla::image;
class nsSVGImageFrame;
class nsSVGImageListener final : public imgINotificationObserver
@ -50,7 +45,7 @@ private:
};
class nsSVGImageFrame final
: public SVGGeometryFrame
: public mozilla::SVGGeometryFrame
, public nsIReflowCallback
{
friend nsIFrame*
@ -110,9 +105,9 @@ public:
void SetForceSyncDecoding(bool aForce) { mForceSyncDecoding = aForce; }
private:
gfx::Matrix GetRasterImageTransform(int32_t aNativeWidth,
int32_t aNativeHeight);
gfx::Matrix GetVectorImageTransform();
mozilla::gfx::Matrix GetRasterImageTransform(int32_t aNativeWidth,
int32_t aNativeHeight);
mozilla::gfx::Matrix GetVectorImageTransform();
bool TransformContextForPainting(gfxContext* aGfxContext,
const gfxMatrix& aTransform);

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

@ -34,8 +34,6 @@ class StackingContextHelper;
}
} // namespace mozilla
using namespace mozilla;
struct BCPropertyData;
static inline bool

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

@ -15,6 +15,8 @@
#include "nsBoxLayout.h"
#include "nsIContent.h"
using namespace mozilla;
nsListItemFrame::nsListItemFrame(ComputedStyle* aStyle,
bool aIsRoot,
nsBoxLayout* aLayoutManager)

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

@ -7,10 +7,8 @@
#include "mozilla/Attributes.h"
#include "nsGridRowLeafFrame.h"
using namespace mozilla;
nsIFrame* NS_NewListItemFrame(nsIPresShell* aPresShell,
ComputedStyle* aStyle);
mozilla::ComputedStyle* aStyle);
class nsListItemFrame final : public nsGridRowLeafFrame
{