aboutsummaryrefslogtreecommitdiff
path: root/src/access_api_handler_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/access_api_handler_unittest.cc')
-rw-r--r--src/access_api_handler_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/access_api_handler_unittest.cc b/src/access_api_handler_unittest.cc
index b58facd..f53a6d1 100644
--- a/src/access_api_handler_unittest.cc
+++ b/src/access_api_handler_unittest.cc
@@ -78,7 +78,7 @@ class AccessApiHandlerTest : public ::testing::Test {
const base::DictionaryValue* state = nullptr;
EXPECT_TRUE(
component->GetDictionary("state._accessRevocationList", &state));
- return std::unique_ptr<base::DictionaryValue>{state->DeepCopy()};
+ return state->CreateDeepCopy();
}
StrictMock<provider::test::FakeTaskRunner> task_runner_;