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

Unified Diff: base/mac/scoped_objc_class_swizzler_unittest.mm

Issue 2923593003: Get base_unittests building with the macOS 10.13.0 SDK (Closed)
Patch Set: Created 3 years, 6 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/mac/scoped_objc_class_swizzler_unittest.mm
diff --git a/base/mac/scoped_objc_class_swizzler_unittest.mm b/base/mac/scoped_objc_class_swizzler_unittest.mm
index eacd10518218edfbcafa3370cf9f3a547cdefa82..79820a3ffa5fb8e79a6d9aacf3ca76bb8c31740d 100644
--- a/base/mac/scoped_objc_class_swizzler_unittest.mm
+++ b/base/mac/scoped_objc_class_swizzler_unittest.mm
@@ -115,7 +115,8 @@ TEST(ObjCClassSwizzlerTest, SwizzleClassMethods) {
IMP original = swizzler.GetOriginalImplementation();
id expected_result = reinterpret_cast<id>(10);
- EXPECT_EQ(expected_result, original(nil, @selector(function)));
+ EXPECT_EQ(expected_result,
+ original([ObjCClassSwizzlerTestOne class], @selector(function)));
}
EXPECT_EQ(10, [ObjCClassSwizzlerTestOne function]);
« 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