Bug 798033 - Removes "using namespace" directive from gfx headers - r=jmuizelaar

This commit is contained in:
Matt Joras 2012-10-15 13:02:21 -04:00
parent d59e3548af
commit ce980ce123
4 changed files with 6 additions and 5 deletions

View File

@ -11,7 +11,6 @@
#include "PathSkia.h"
#include <sstream>
#include <vector>
using namespace std;
namespace mozilla {
namespace gfx {
@ -105,7 +104,7 @@ private:
SkBitmap mBitmap;
SkRefPtr<SkCanvas> mCanvas;
SkRefPtr<SkDevice> mDevice;
vector<SourceSurfaceSkia*> mSnapshots;
std::vector<SourceSurfaceSkia*> mSnapshots;
};
}

View File

@ -14,6 +14,7 @@
#include "nsXULAppAPI.h"
using namespace mozilla::gfx;
using namespace mozilla::gl;
namespace mozilla {
namespace layers {

View File

@ -14,6 +14,8 @@
#include "mozilla/X11Util.h"
#include "cairo-xlib.h"
using namespace mozilla::gl;
namespace mozilla {
namespace layers {

View File

@ -23,7 +23,6 @@ namespace gl {
class GLContext;
class TextureImage;
}
using namespace gl;
namespace layers {
@ -416,8 +415,8 @@ public:
* underlying surface supports direct texturing, a non-null
* TextureImage is returned. Otherwise null is returned.
*/
static already_AddRefed<TextureImage>
OpenDescriptorForDirectTexturing(GLContext* aContext,
static already_AddRefed<gl::TextureImage>
OpenDescriptorForDirectTexturing(gl::GLContext* aContext,
const SurfaceDescriptor& aDescriptor,
GLenum aWrapMode);