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

Unified Diff: content/child/shared_memory_data_consumer_handle_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
Index: content/child/shared_memory_data_consumer_handle_unittest.cc
diff --git a/content/child/shared_memory_data_consumer_handle_unittest.cc b/content/child/shared_memory_data_consumer_handle_unittest.cc
index 29ea0f2d6dd941f0793bc3aba6674af6fa366ab9..9456f6c440dcdba4489772a861e18a39a92b8579 100644
--- a/content/child/shared_memory_data_consumer_handle_unittest.cc
+++ b/content/child/shared_memory_data_consumer_handle_unittest.cc
@@ -816,7 +816,7 @@ TEST_P(SharedMemoryDataConsumerHandleTest, FailWhileTwoPhaseReadIsInProgress) {
writer_->AddData(NewFixedData("Once "));
result = reader->beginRead(&pointer, kNone, &size);
- auto buffer = static_cast<const char*>(pointer);
+ auto* buffer = static_cast<const char*>(pointer);
ASSERT_EQ(kOk, result);
ASSERT_NE(nullptr, pointer);
« no previous file with comments | « content/child/shared_memory_data_consumer_handle.cc ('k') | content/renderer/android/synchronous_compositor_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698