Commit 746d0ea7 by Geoff Lang

Disallow copying of the MemoryBuffer class.

BUG=angle:836 Change-Id: Ie3f674ef6c321770209a37b1af06ea21d788f476 Reviewed-on: https://chromium-review.googlesource.com/231232Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Tested-by: 's avatarGeoff Lang <geofflang@chromium.org>
parent aad0cd7f
......@@ -7,6 +7,8 @@
#ifndef LIBGLESV2_RENDERER_D3D_MEMORYBUFFER_H_
#define LIBGLESV2_RENDERER_D3D_MEMORYBUFFER_H_
#include "common/angleutils.h"
#include <cstddef>
#include <cstdint>
......@@ -27,6 +29,8 @@ class MemoryBuffer
uint8_t *data();
private:
DISALLOW_COPY_AND_ASSIGN(MemoryBuffer);
size_t mSize;
uint8_t *mData;
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment