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

Unified Diff: Source/wtf/Float64Array.h

Issue 1180713004: Remove unused code from WTF TypedArrays (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
« no previous file with comments | « Source/wtf/Float32Array.h ('k') | Source/wtf/Int16Array.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/Float64Array.h
diff --git a/Source/wtf/Float64Array.h b/Source/wtf/Float64Array.h
index b6c1ce3f4feae50b62cc71fab8394d75f00f86c4..53d0473a18d6a532586dea2a210f97c62fdc2ef3 100644
--- a/Source/wtf/Float64Array.h
+++ b/Source/wtf/Float64Array.h
@@ -51,9 +51,6 @@ public:
TypedArrayBase<double>::data()[index] = static_cast<double>(value);
}
- inline PassRefPtr<Float64Array> subarray(int start) const;
- inline PassRefPtr<Float64Array> subarray(int start, int end) const;
-
virtual ViewType type() const override
{
return TypeFloat64;
@@ -82,26 +79,11 @@ PassRefPtr<Float64Array> Float64Array::create(PassRefPtr<ArrayBuffer> buffer, un
return TypedArrayBase<double>::create<Float64Array>(buffer, byteOffset, length);
}
-PassRefPtr<Float64Array> Float64Array::createUninitialized(unsigned length)
-{
- return TypedArrayBase<double>::createUninitialized<Float64Array>(length);
-}
-
Float64Array::Float64Array(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length)
: TypedArrayBase<double>(buffer, byteOffset, length)
{
}
-PassRefPtr<Float64Array> Float64Array::subarray(int start) const
-{
- return subarray(start, length());
-}
-
-PassRefPtr<Float64Array> Float64Array::subarray(int start, int end) const
-{
- return subarrayImpl<Float64Array>(start, end);
-}
-
} // namespace WTF
using WTF::Float64Array;
« no previous file with comments | « Source/wtf/Float32Array.h ('k') | Source/wtf/Int16Array.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698