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

Unified Diff: Source/core/dom/DOMArrayBuffer.h

Issue 717873005: Make DOMArrayBuffer()::byteLength() return unsigned int to match the type of its backing data. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/DOMArrayBuffer.h
diff --git a/Source/core/dom/DOMArrayBuffer.h b/Source/core/dom/DOMArrayBuffer.h
index c303d071981a14821495f1771b0ef2cedafbc41c..4cf01a27d39e856d1d48f74d06b93516bef64d1b 100644
--- a/Source/core/dom/DOMArrayBuffer.h
+++ b/Source/core/dom/DOMArrayBuffer.h
@@ -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));
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698