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

Side by Side Diff: ppapi/tests/arch_dependent_sizes_64.h

Issue 205263005: Re-enable disabled size asserts in ppapi_tests test_struct_sizes.cc. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. 3 * found in the LICENSE file.
4 * 4 *
5 * This file has compile assertions for the sizes of types that are dependent 5 * This file has compile assertions for the sizes of types that are dependent
6 * on the architecture for which they are compiled (i.e., 32-bit vs 64-bit). 6 * on the architecture for which they are compiled (i.e., 32-bit vs 64-bit).
7 */ 7 */
8 8
9 #ifndef PPAPI_TESTS_ARCH_DEPENDENT_SIZES_64_H_ 9 #ifndef PPAPI_TESTS_ARCH_DEPENDENT_SIZES_64_H_
10 #define PPAPI_TESTS_ARCH_DEPENDENT_SIZES_64_H_ 10 #define PPAPI_TESTS_ARCH_DEPENDENT_SIZES_64_H_
11 11
12 #include "ppapi/tests/test_struct_sizes.c" 12 #include "ppapi/tests/test_struct_sizes.c"
13 13
14 // TODO(jschuh): Resolve ILP64 to LLP64 issue. crbug.com/177779
15 #if !defined(_WIN64)
16 PP_COMPILE_ASSERT_SIZE_IN_BYTES(GLintptr, 8); 14 PP_COMPILE_ASSERT_SIZE_IN_BYTES(GLintptr, 8);
17 PP_COMPILE_ASSERT_SIZE_IN_BYTES(GLsizeiptr, 8); 15 PP_COMPILE_ASSERT_SIZE_IN_BYTES(GLsizeiptr, 8);
18 #endif
19 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_CompletionCallback_Func, 8); 16 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_CompletionCallback_Func, 8);
20 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_URLLoaderTrusted_StatusCallback, 8); 17 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_URLLoaderTrusted_StatusCallback, 8);
21 PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES(PP_CompletionCallback, 24); 18 PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES(PP_CompletionCallback, 24);
22 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PPB_VideoDecoder_Dev, 64); 19 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PPB_VideoDecoder_Dev, 64);
23 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PPP_VideoDecoder_Dev, 32); 20 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PPP_VideoDecoder_Dev, 32);
24 21
25 #endif /* PPAPI_TESTS_ARCH_DEPENDENT_SIZES_64_H_ */ 22 #endif /* PPAPI_TESTS_ARCH_DEPENDENT_SIZES_64_H_ */
OLDNEW
« 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