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

Unified Diff: ppapi/tests/test_broker.cc

Issue 684273002: Remove last non-third_party typeofs on Mac. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 | « ipc/ipc_message_macros.h ('k') | ui/message_center/cocoa/tray_controller.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/tests/test_broker.cc
diff --git a/ppapi/tests/test_broker.cc b/ppapi/tests/test_broker.cc
index db2fa3ffbb39e2e7d2bd6c33a2f483cf7e4f872e..54b4671f46728cc34986933f5bb46ef0bd12345e 100644
--- a/ppapi/tests/test_broker.cc
+++ b/ppapi/tests/test_broker.cc
@@ -60,7 +60,7 @@ PlatformFile IntToPlatformFile(int32_t handle) {
#if defined(OS_POSIX)
#define HANDLE_EINTR(x) ({ \
- typeof(x) eintr_wrapper_result; \
+ decltype(x) eintr_wrapper_result; \
do { \
eintr_wrapper_result = (x); \
} while (eintr_wrapper_result == -1 && errno == EINTR); \
@@ -68,7 +68,7 @@ PlatformFile IntToPlatformFile(int32_t handle) {
})
#define IGNORE_EINTR(x) ({ \
- typeof(x) eintr_wrapper_result; \
+ decltype(x) eintr_wrapper_result; \
do { \
eintr_wrapper_result = (x); \
if (eintr_wrapper_result == -1 && errno == EINTR) { \
« no previous file with comments | « ipc/ipc_message_macros.h ('k') | ui/message_center/cocoa/tray_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698