Bug 798033 - Removes "using namespace" directive from gfx headers - r=jmuizelaar
This commit is contained in:
@@ -11,7 +11,6 @@
|
|||||||
#include "PathSkia.h"
|
#include "PathSkia.h"
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
namespace mozilla {
|
namespace mozilla {
|
||||||
namespace gfx {
|
namespace gfx {
|
||||||
@@ -105,7 +104,7 @@ private:
|
|||||||
SkBitmap mBitmap;
|
SkBitmap mBitmap;
|
||||||
SkRefPtr<SkCanvas> mCanvas;
|
SkRefPtr<SkCanvas> mCanvas;
|
||||||
SkRefPtr<SkDevice> mDevice;
|
SkRefPtr<SkDevice> mDevice;
|
||||||
vector<SourceSurfaceSkia*> mSnapshots;
|
std::vector<SourceSurfaceSkia*> mSnapshots;
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,6 +14,7 @@
|
|||||||
#include "nsXULAppAPI.h"
|
#include "nsXULAppAPI.h"
|
||||||
|
|
||||||
using namespace mozilla::gfx;
|
using namespace mozilla::gfx;
|
||||||
|
using namespace mozilla::gl;
|
||||||
|
|
||||||
namespace mozilla {
|
namespace mozilla {
|
||||||
namespace layers {
|
namespace layers {
|
||||||
|
|||||||
@@ -14,6 +14,8 @@
|
|||||||
#include "mozilla/X11Util.h"
|
#include "mozilla/X11Util.h"
|
||||||
#include "cairo-xlib.h"
|
#include "cairo-xlib.h"
|
||||||
|
|
||||||
|
using namespace mozilla::gl;
|
||||||
|
|
||||||
namespace mozilla {
|
namespace mozilla {
|
||||||
namespace layers {
|
namespace layers {
|
||||||
|
|
||||||
|
|||||||
@@ -23,7 +23,6 @@ namespace gl {
|
|||||||
class GLContext;
|
class GLContext;
|
||||||
class TextureImage;
|
class TextureImage;
|
||||||
}
|
}
|
||||||
using namespace gl;
|
|
||||||
|
|
||||||
namespace layers {
|
namespace layers {
|
||||||
|
|
||||||
@@ -416,8 +415,8 @@ public:
|
|||||||
* underlying surface supports direct texturing, a non-null
|
* underlying surface supports direct texturing, a non-null
|
||||||
* TextureImage is returned. Otherwise null is returned.
|
* TextureImage is returned. Otherwise null is returned.
|
||||||
*/
|
*/
|
||||||
static already_AddRefed<TextureImage>
|
static already_AddRefed<gl::TextureImage>
|
||||||
OpenDescriptorForDirectTexturing(GLContext* aContext,
|
OpenDescriptorForDirectTexturing(gl::GLContext* aContext,
|
||||||
const SurfaceDescriptor& aDescriptor,
|
const SurfaceDescriptor& aDescriptor,
|
||||||
GLenum aWrapMode);
|
GLenum aWrapMode);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user