Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1348)

Unified Diff: content/child/indexed_db/indexed_db_dispatcher_unittest.cc

Issue 2101943004: content: Change auto to not deduce raw pointers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase/update Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/child/child_thread_impl.cc ('k') | content/child/shared_memory_data_consumer_handle.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/indexed_db/indexed_db_dispatcher_unittest.cc
diff --git a/content/child/indexed_db/indexed_db_dispatcher_unittest.cc b/content/child/indexed_db/indexed_db_dispatcher_unittest.cc
index cb0b40e8fdab3a632a184daa0e41f6894b3e9c64..029689f388eb7b134735e19390b0546b11017829 100644
--- a/content/child/indexed_db/indexed_db_dispatcher_unittest.cc
+++ b/content/child/indexed_db/indexed_db_dispatcher_unittest.cc
@@ -158,7 +158,7 @@ TEST_F(IndexedDBDispatcherTest, CursorTransactionId) {
std::unique_ptr<WebIDBCursor> cursor;
EXPECT_EQ(0UL, dispatcher.cursor_transaction_ids_.size());
- auto callbacks = new StrictMock<MockWebIDBCallbacks>();
+ auto* callbacks = new StrictMock<MockWebIDBCallbacks>();
// Reference first param (cursor) to keep it alive.
// TODO(cmumford): Cleanup (and below) once std::addressof() is allowed.
ON_CALL(*callbacks, onSuccess(testing::A<WebIDBCursor*>(), _, _, _))
@@ -204,7 +204,7 @@ TEST_F(IndexedDBDispatcherTest, CursorTransactionId) {
{
EXPECT_EQ(0UL, dispatcher.cursor_transaction_ids_.size());
- auto callbacks = new StrictMock<MockWebIDBCallbacks>();
+ auto* callbacks = new StrictMock<MockWebIDBCallbacks>();
EXPECT_CALL(*callbacks, onSuccess(testing::A<const blink::WebIDBValue&>()))
.Times(1);
« no previous file with comments | « content/child/child_thread_impl.cc ('k') | content/child/shared_memory_data_consumer_handle.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698