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

Unified Diff: Source/wtf/TypedArrayBase.h

Issue 1180023002: Inline the only callers of TypedArrayBase::{setRange,zeroRange} (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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
« Source/modules/webaudio/AudioBuffer.cpp ('K') | « Source/wtf/ArrayBufferView.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/TypedArrayBase.h
diff --git a/Source/wtf/TypedArrayBase.h b/Source/wtf/TypedArrayBase.h
index 4cc1c646d8436eb31a375e7a027e32b89f923354..e0a2c46395d11ac5a4ca8dcb78644dbb57670749 100644
--- a/Source/wtf/TypedArrayBase.h
+++ b/Source/wtf/TypedArrayBase.h
@@ -44,16 +44,6 @@ public:
return setImpl(array, offset * sizeof(T));
}
- bool setRange(const T* data, size_t dataLength, unsigned offset)
- {
- return setRangeImpl(reinterpret_cast<const char*>(data), dataLength * sizeof(T), offset * sizeof(T));
- }
-
- bool zeroRange(unsigned offset, size_t length)
- {
- return zeroRangeImpl(offset * sizeof(T), length * sizeof(T));
- }
-
// Overridden from ArrayBufferView. This must be public because of
// rules about inheritance of members in template classes, and
// because it is accessed via pointers to subclasses.
« Source/modules/webaudio/AudioBuffer.cpp ('K') | « Source/wtf/ArrayBufferView.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698