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

This commit is contained in:
Matt Joras 2012-10-25 16:12:59 -04:00
parent 750905ca96
commit 2549497ae7
7 changed files with 10 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

@ -11,6 +11,8 @@
#include "mozilla/layers/PLayers.h"
#include "ShadowLayers.h"
using namespace mozilla::gl;
namespace mozilla {
namespace layers {

View File

@ -22,6 +22,7 @@
using namespace android;
using namespace base;
using namespace mozilla::layers;
using namespace mozilla::gl;
namespace IPC {

View File

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

View File

@ -24,6 +24,7 @@
#include "nsXULAppAPI.h"
using namespace mozilla::ipc;
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);