Commit 2fe1ae1f authored by Kevin McNee's avatar Kevin McNee Committed by Commit Bot

LevelDBProto: Remove unnecessary reinterpret_cast

The expression already has the specified type.

Bug: None
Change-Id: I49ac50699182978380f964959957ea1001046b8b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2435920
Commit-Queue: ssid <ssid@chromium.org>
Auto-Submit: Kevin McNee <mcnee@chromium.org>
Reviewed-by: default avatarssid <ssid@chromium.org>
Cr-Commit-Position: refs/heads/master@{#811392}
parent 16e50eb0
...@@ -551,9 +551,7 @@ TEST_F(UniqueProtoDatabaseTest, TestDBRemoveKeys) { ...@@ -551,9 +551,7 @@ TEST_F(UniqueProtoDatabaseTest, TestDBRemoveKeys) {
std::move(signal).Run(); std::move(signal).Run();
}, },
run_update_entries.QuitClosure()); run_update_entries.QuitClosure());
ProtoDatabaseImpl<TestProto>* wrapper = db_->RemoveKeysForTesting(
reinterpret_cast<ProtoDatabaseImpl<TestProto>*>(db_.get());
wrapper->RemoveKeysForTesting(
base::BindRepeating([](const std::string& str) { return true; }), base::BindRepeating([](const std::string& str) { return true; }),
kTestPrefix, std::move(expect_update_success)); kTestPrefix, std::move(expect_update_success));
run_update_entries.Run(); run_update_entries.Run();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment