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

Unified Diff: third_party/WebKit/Source/wtf/typed_arrays/ArrayBufferView.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/wtf/typed_arrays/ArrayBufferView.h
diff --git a/third_party/WebKit/Source/wtf/typed_arrays/ArrayBufferView.h b/third_party/WebKit/Source/wtf/typed_arrays/ArrayBufferView.h
index 54c87b377e725398d3f02df071713f7ee3237c12..444e752c4d384e0705b14911b7092ee209d47b0b 100644
--- a/third_party/WebKit/Source/wtf/typed_arrays/ArrayBufferView.h
+++ b/third_party/WebKit/Source/wtf/typed_arrays/ArrayBufferView.h
@@ -68,6 +68,7 @@ public:
}
virtual unsigned byteLength() const = 0;
+ virtual unsigned typeSize() const = 0;
void setNeuterable(bool flag) { m_isNeuterable = flag; }
bool isNeuterable() const { return m_isNeuterable; }

Powered by Google App Engine
This is Rietveld 408576698