summaryrefslogtreecommitdiffstats
path: root/ppapi/tests/test_buffer.cc
diff options
context:
space:
mode:
authornfullagar@google.com <nfullagar@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-02 00:09:07 +0000
committernfullagar@google.com <nfullagar@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-02 00:09:07 +0000
commit867b76d63d12736535ab4519ba706d08fbd3ad77 (patch)
treec254f26d3a37cbf1a3bf95f5d81e85b296914f80 /ppapi/tests/test_buffer.cc
parentacfd49c7e6f6ffbcb4b74aa35cc7d7926cd47771 (diff)
downloadchromium_src-867b76d63d12736535ab4519ba706d08fbd3ad77.zip
chromium_src-867b76d63d12736535ab4519ba706d08fbd3ad77.tar.gz
chromium_src-867b76d63d12736535ab4519ba706d08fbd3ad77.tar.bz2
Change trusted shared memory interface to match audio.
- shm handle uint64_t -> int - more unification of shm size from int32_t -> uint32_t - GetNativeMemoryHandle() -> GetSharedMemory() BUG=none TEST=src/ppapi/examples/ Review URL: http://codereview.chromium.org/5410001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67910 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/tests/test_buffer.cc')
-rw-r--r--ppapi/tests/test_buffer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ppapi/tests/test_buffer.cc b/ppapi/tests/test_buffer.cc
index c920271..bcef727 100644
--- a/ppapi/tests/test_buffer.cc
+++ b/ppapi/tests/test_buffer.cc
@@ -43,7 +43,7 @@ std::string TestBuffer::TestInitToZero() {
// Now check that everything is 0.
unsigned char* bytes = static_cast<unsigned char *>(buffer.data());
- for (int index = 0; index < buffer.size(); index++) {
+ for (uint32_t index = 0; index < buffer.size(); index++) {
if (bytes[index] != 0)
return "Buffer isn't entirely zero";
}