Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(279)

Unified Diff: gin/array_buffer.h

Issue 289003007: Fix gin's array buffer class for component build (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | gin/array_buffer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gin/array_buffer.h
diff --git a/gin/array_buffer.h b/gin/array_buffer.h
index 7886fa9be05067c77c55d49e3c01eef4b5f201b0..858cbf1088ab83b25d51c75aff9868e244292761 100644
--- a/gin/array_buffer.h
+++ b/gin/array_buffer.h
@@ -26,7 +26,6 @@ class ArrayBufferAllocator : public v8::ArrayBuffer::Allocator {
class GIN_EXPORT ArrayBuffer {
public:
ArrayBuffer();
- explicit ArrayBuffer(v8::Isolate* isolate);
ArrayBuffer(v8::Isolate* isolate, v8::Handle<v8::ArrayBuffer> buffer);
~ArrayBuffer();
ArrayBuffer& operator=(const ArrayBuffer& other);
@@ -55,6 +54,7 @@ class GIN_EXPORT ArrayBufferView {
ArrayBufferView();
ArrayBufferView(v8::Isolate* isolate, v8::Handle<v8::ArrayBufferView> view);
~ArrayBufferView();
+ ArrayBufferView& operator=(const ArrayBufferView& other);
void* bytes() const {
return static_cast<uint8_t*>(array_buffer_.bytes()) + offset_;
« no previous file with comments | « no previous file | gin/array_buffer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698