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
d59e3548af
commit
ce980ce123
@ -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 {
|
||||
|
@ -14,6 +14,8 @@
|
||||
#include "mozilla/X11Util.h"
|
||||
#include "cairo-xlib.h"
|
||||
|
||||
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