Index: mojo/system/dispatcher_unittest.cc |
diff --git a/mojo/system/dispatcher_unittest.cc b/mojo/system/dispatcher_unittest.cc |
index cd2b25551761ac8701bbd0d46a878b259ef534d5..45ef9f61bf0c3584e5fa7209117c6506b65cc7a8 100644 |
--- a/mojo/system/dispatcher_unittest.cc |
+++ b/mojo/system/dispatcher_unittest.cc |
@@ -195,7 +195,8 @@ class ThreadSafetyStressThread : public base::SimpleThread { |
case DUPLICATE_BUFFER_HANDLE: { |
scoped_refptr<Dispatcher> unused; |
EXPECT_EQ(MOJO_RESULT_INVALID_ARGUMENT, |
- dispatcher_->DuplicateBufferHandle(NULL, &unused)); |
+ dispatcher_->DuplicateBufferHandle(NullUserPointer(), |
+ &unused)); |
break; |
} |
case MAP_BUFFER: { |