Index: update_attempter_unittest.cc |
diff --git a/update_attempter_unittest.cc b/update_attempter_unittest.cc |
index 53ffc89268207f1d8fb80313f2a7ad1d21c4ec5d..89adb03b29a102f82328a3c03dce9f3a3006cb03 100644 |
--- a/update_attempter_unittest.cc |
+++ b/update_attempter_unittest.cc |
@@ -17,6 +17,7 @@ using testing::_; |
using testing::DoAll; |
using testing::InSequence; |
using testing::Ne; |
+using testing::NiceMock; |
using testing::Property; |
using testing::Return; |
using testing::SetArgumentPointee; |
@@ -56,7 +57,7 @@ class UpdateAttempterTest : public ::testing::Test { |
UpdateAttempterUnderTest attempter_; |
ActionProcessorMock* processor_; |
- PrefsMock prefs_; |
+ NiceMock<PrefsMock> prefs_; |
}; |
TEST_F(UpdateAttempterTest, RunAsRootConstructWithUpdatedMarkerTest) { |