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

Unified Diff: Source/wtf/Uint32Array.h

Issue 207783002: Omit "int" when using "unsigned" modifier (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 9 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/TypeTraits.cpp ('k') | Source/wtf/text/AtomicString.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/Uint32Array.h
diff --git a/Source/wtf/Uint32Array.h b/Source/wtf/Uint32Array.h
index b8e8de35b9875300ed76674f151dd0bf7809b40e..1402e9025d5c21fb588061fce2366b093540b7b6 100644
--- a/Source/wtf/Uint32Array.h
+++ b/Source/wtf/Uint32Array.h
@@ -36,7 +36,7 @@ class ArrayBuffer;
class Uint32Array FINAL : public IntegralTypedArrayBase<unsigned> {
public:
static inline PassRefPtr<Uint32Array> create(unsigned length);
- static inline PassRefPtr<Uint32Array> create(const unsigned int* array, unsigned length);
+ static inline PassRefPtr<Uint32Array> create(const unsigned* array, unsigned length);
static inline PassRefPtr<Uint32Array> create(PassRefPtr<ArrayBuffer>, unsigned byteOffset, unsigned length);
// Should only be used when it is known the entire array will be filled. Do
@@ -59,31 +59,31 @@ private:
unsigned byteOffset,
unsigned length);
// Make constructor visible to superclass.
- friend class TypedArrayBase<unsigned int>;
+ friend class TypedArrayBase<unsigned>;
};
PassRefPtr<Uint32Array> Uint32Array::create(unsigned length)
{
- return TypedArrayBase<unsigned int>::create<Uint32Array>(length);
+ return TypedArrayBase<unsigned>::create<Uint32Array>(length);
}
PassRefPtr<Uint32Array> Uint32Array::create(const unsigned int* array, unsigned length)
{
- return TypedArrayBase<unsigned int>::create<Uint32Array>(array, length);
+ return TypedArrayBase<unsigned>::create<Uint32Array>(array, length);
}
PassRefPtr<Uint32Array> Uint32Array::create(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length)
{
- return TypedArrayBase<unsigned int>::create<Uint32Array>(buffer, byteOffset, length);
+ return TypedArrayBase<unsigned>::create<Uint32Array>(buffer, byteOffset, length);
}
PassRefPtr<Uint32Array> Uint32Array::createUninitialized(unsigned length)
{
- return TypedArrayBase<unsigned int>::createUninitialized<Uint32Array>(length);
+ return TypedArrayBase<unsigned>::createUninitialized<Uint32Array>(length);
}
Uint32Array::Uint32Array(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length)
- : IntegralTypedArrayBase<unsigned int>(buffer, byteOffset, length)
+ : IntegralTypedArrayBase<unsigned>(buffer, byteOffset, length)
{
}
« no previous file with comments | « Source/wtf/TypeTraits.cpp ('k') | Source/wtf/text/AtomicString.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698