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

Unified Diff: third_party/WebKit/Source/platform/wtf/typed_arrays/ArrayBufferView.h

Issue 2815793002: [SharedArrayBuffer] Add "AllowShared" extended attribute, used for WebGL (Closed)
Patch Set: merge HEAD Created 3 years, 8 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
Index: third_party/WebKit/Source/platform/wtf/typed_arrays/ArrayBufferView.h
diff --git a/third_party/WebKit/Source/platform/wtf/typed_arrays/ArrayBufferView.h b/third_party/WebKit/Source/platform/wtf/typed_arrays/ArrayBufferView.h
index 25a447c775af37525e0c494ebc820a8cce1f864e..c7970aa3e13d5fa9f80a7559dc4e09ed0f5f7c3b 100644
--- a/third_party/WebKit/Source/platform/wtf/typed_arrays/ArrayBufferView.h
+++ b/third_party/WebKit/Source/platform/wtf/typed_arrays/ArrayBufferView.h
@@ -58,6 +58,7 @@ class WTF_EXPORT ArrayBufferView : public RefCounted<ArrayBufferView> {
DCHECK(!IsShared());
return base_address_;
}
+ void* BaseAddressMaybeShared() const { return base_address_; }
unsigned ByteOffset() const { return byte_offset_; }

Powered by Google App Engine
This is Rietveld 408576698