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

Unified Diff: third_party/WebKit/Source/core/dom/DOMArrayBufferView.h

Issue 2277603005: Implement tex{Sub}Image{2|3}D with ArrayBufferView sub source. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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/core/dom/DOMArrayBufferView.h
diff --git a/third_party/WebKit/Source/core/dom/DOMArrayBufferView.h b/third_party/WebKit/Source/core/dom/DOMArrayBufferView.h
index 8f38d2ad9ae435e8bfbeb662bf0b58a41b3f783e..6fbe12be7b01160db407c89aab4501187b99af2c 100644
--- a/third_party/WebKit/Source/core/dom/DOMArrayBufferView.h
+++ b/third_party/WebKit/Source/core/dom/DOMArrayBufferView.h
@@ -64,6 +64,7 @@ public:
void* baseAddress() const { return view()->baseAddress(); }
unsigned byteOffset() const { return view()->byteOffset(); }
unsigned byteLength() const { return view()->byteLength(); }
+ unsigned typeSize() const { return view()->typeSize(); }
void setNeuterable(bool flag) { return view()->setNeuterable(flag); }
bool isShared() const { return view()->isShared(); }

Powered by Google App Engine
This is Rietveld 408576698