mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 798033 - Removes "using namespace" directive from gfx headers - r=jmuizelaar
This commit is contained in:
parent
750905ca96
commit
2549497ae7
@ -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;
|
||||
};
|
||||
|
||||
}
|
||||
|
@ -14,6 +14,7 @@
|
||||
#include "nsXULAppAPI.h"
|
||||
|
||||
using namespace mozilla::gfx;
|
||||
using namespace mozilla::gl;
|
||||
|
||||
namespace mozilla {
|
||||
namespace layers {
|
||||
|
@ -11,6 +11,8 @@
|
||||
#include "mozilla/layers/PLayers.h"
|
||||
#include "ShadowLayers.h"
|
||||
|
||||
using namespace mozilla::gl;
|
||||
|
||||
namespace mozilla {
|
||||
namespace layers {
|
||||
|
||||
|
@ -22,6 +22,7 @@
|
||||
using namespace android;
|
||||
using namespace base;
|
||||
using namespace mozilla::layers;
|
||||
using namespace mozilla::gl;
|
||||
|
||||
namespace IPC {
|
||||
|
||||
|
@ -14,6 +14,8 @@
|
||||
#include "mozilla/X11Util.h"
|
||||
#include "cairo-xlib.h"
|
||||
|
||||
using namespace mozilla::gl;
|
||||
|
||||
namespace mozilla {
|
||||
namespace layers {
|
||||
|
||||
|
@ -24,6 +24,7 @@
|
||||
#include "nsXULAppAPI.h"
|
||||
|
||||
using namespace mozilla::ipc;
|
||||
using namespace mozilla::gl;
|
||||
|
||||
namespace mozilla {
|
||||
namespace layers {
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user