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

Unified Diff: testing/platform_test.h

Issue 2739783002: MacViews/a11y: Typedef gfx::NativeViewAccessible to id for all of Mac & iOS. (Closed)
Patch Set: Review comments. Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ui/gfx/native_widget_types.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: testing/platform_test.h
diff --git a/testing/platform_test.h b/testing/platform_test.h
index 24980fbe0c160a72712b080df243fdf442c77a15..f993864d6133023dabf4704171511a9fb4a0a973 100644
--- a/testing/platform_test.h
+++ b/testing/platform_test.h
@@ -8,9 +8,7 @@
#include <gtest/gtest.h>
#if defined(GTEST_OS_MAC)
-#ifndef __OBJC__
-typedef void* id;
-#endif
+#include <objc/objc.h>
// The purpose of this class us to provide a hook for platform-specific
// operations across unit tests. For example, on the Mac, it creates and
« no previous file with comments | « no previous file | ui/gfx/native_widget_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698