Add some missing disallow macros.
DISALLOW_COPY_AND_ASSIGN was missing from CompilerImpl,
FramebufferImpl and DefaultAttachmentImpl.
BUG=angle:904
Change-Id: I2e57078cd5b40baf6962f19869c2f3b67ad6dc6e
Reviewed-on: https://chromium-review.googlesource.com/245514
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Tested-by: Jamie Madill <jmadill@chromium.org>
diff --git a/src/libANGLE/renderer/FramebufferImpl.h b/src/libANGLE/renderer/FramebufferImpl.h
index 8f21323..67682ed 100644
--- a/src/libANGLE/renderer/FramebufferImpl.h
+++ b/src/libANGLE/renderer/FramebufferImpl.h
@@ -9,9 +9,9 @@
#ifndef LIBANGLE_RENDERER_FRAMBUFFERIMPL_H_
#define LIBANGLE_RENDERER_FRAMBUFFERIMPL_H_
-#include "libANGLE/Error.h"
-
#include "angle_gl.h"
+#include "common/angleutils.h"
+#include "libANGLE/Error.h"
namespace gl
{
@@ -27,17 +27,22 @@
class DefaultAttachmentImpl
{
public:
+ DefaultAttachmentImpl() {}
virtual ~DefaultAttachmentImpl() {};
virtual GLsizei getWidth() const = 0;
virtual GLsizei getHeight() const = 0;
virtual GLenum getInternalFormat() const = 0;
virtual GLsizei getSamples() const = 0;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(DefaultAttachmentImpl);
};
class FramebufferImpl
{
public:
+ FramebufferImpl() {}
virtual ~FramebufferImpl() {};
virtual void setColorAttachment(size_t index, const gl::FramebufferAttachment *attachment) = 0;
@@ -65,6 +70,9 @@
GLbitfield mask, GLenum filter, const gl::Framebuffer *sourceFramebuffer) = 0;
virtual GLenum checkStatus() const = 0;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(FramebufferImpl);
};
}