| Index: core/fxcrt/cfx_retain_ptr_unittest.cpp
|
| diff --git a/core/fxcrt/cfx_retain_ptr_unittest.cpp b/core/fxcrt/cfx_retain_ptr_unittest.cpp
|
| index 4e74e52768fa1e19237261b3c4193600bafe2441..9da0d5ccf8ccf6bbb6bf8ccbda4e8c207004562a 100644
|
| --- a/core/fxcrt/cfx_retain_ptr_unittest.cpp
|
| +++ b/core/fxcrt/cfx_retain_ptr_unittest.cpp
|
| @@ -208,8 +208,8 @@ TEST(fxcrt, RetainPtrBool) {
|
| PseudoRetainable obj1;
|
| CFX_RetainPtr<PseudoRetainable> null_ptr;
|
| CFX_RetainPtr<PseudoRetainable> obj1_ptr(&obj1);
|
| - bool null_bool = null_ptr;
|
| - bool obj1_bool = obj1_ptr;
|
| + bool null_bool = !!null_ptr;
|
| + bool obj1_bool = !!obj1_ptr;
|
| EXPECT_FALSE(null_bool);
|
| EXPECT_TRUE(obj1_bool);
|
| }
|
|
|