зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1468582: Remove using namespace statements from layout headers. r=mats
MozReview-Commit-ID: WF23cUiHFH
This commit is contained in:
Родитель
f9040bbbb9
Коммит
0c6c2df7a2
|
@ -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
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче