Commit 323be439 authored by xun.sun@intel.com's avatar xun.sun@intel.com

Make DOMArrayBuffer()::byteLength() return unsigned int to match the type of its backing data.

R=yukishiino@chromium.org
TBR=haraken@chromium.org
TESTS=build on Linux
BUG=

Review URL: https://codereview.chromium.org/717873005

git-svn-id: svn://svn.chromium.org/blink/trunk@185188 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 646b9c8d
......@@ -38,7 +38,7 @@ public:
const void* data() const { return buffer()->data(); }
void* data() { return buffer()->data(); }
unsigned long byteLength() const { return buffer()->byteLength(); }
unsigned byteLength() const { return buffer()->byteLength(); }
PassRefPtr<DOMArrayBuffer> slice(int begin, int end) const
{
return create(buffer()->slice(begin, end));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment