summaryrefslogtreecommitdiffstats
path: root/gin/array_buffer.cc
diff options
context:
space:
mode:
authorjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-12 21:32:34 +0000
committerjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-12 21:32:34 +0000
commit48c21631008649ad2575b16fe33b336858dcdde9 (patch)
treef6fd9761eb0001c806962937583ea15eafd7ed7b /gin/array_buffer.cc
parentedc3af84cd907175e0dd24bfc377d20c06fd7d0e (diff)
downloadchromium_src-48c21631008649ad2575b16fe33b336858dcdde9.zip
chromium_src-48c21631008649ad2575b16fe33b336858dcdde9.tar.gz
chromium_src-48c21631008649ad2575b16fe33b336858dcdde9.tar.bz2
[gin] Turn gin into a component
This will allow for using gin from content and blink at the same time in a component build BUG=321631 R=abarth@chromium.org,aa@chromium.org Review URL: https://codereview.chromium.org/101583004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@240425 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gin/array_buffer.cc')
-rw-r--r--gin/array_buffer.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/gin/array_buffer.cc b/gin/array_buffer.cc
index e8e234e..ee9f2a5 100644
--- a/gin/array_buffer.cc
+++ b/gin/array_buffer.cc
@@ -127,6 +127,13 @@ ArrayBuffer::ArrayBuffer(v8::Isolate* isolate,
ArrayBuffer::~ArrayBuffer() {
}
+ArrayBuffer& ArrayBuffer::operator=(const ArrayBuffer& other) {
+ private_ = other.private_;
+ bytes_ = other.bytes_;
+ num_bytes_ = other.num_bytes_;
+ return *this;
+}
+
// Converter<ArrayBuffer> -----------------------------------------------------
bool Converter<ArrayBuffer>::FromV8(v8::Isolate* isolate,