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

Unified Diff: components/tracing/test/proto_zero_generation_unittest.cc

Issue 2691393002: Fix auto raw pointer deduction on linux (Closed)
Patch Set: rebase Created 3 years, 10 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 | « components/toolbar/toolbar_model_impl.cc ('k') | components/update_client/update_response.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/tracing/test/proto_zero_generation_unittest.cc
diff --git a/components/tracing/test/proto_zero_generation_unittest.cc b/components/tracing/test/proto_zero_generation_unittest.cc
index f34b71b56dea2b1ad2128a7e974c01d85ad06f2e..75c4b210f62940f917c0f720eac8e20456ce50bb 100644
--- a/components/tracing/test/proto_zero_generation_unittest.cc
+++ b/components/tracing/test/proto_zero_generation_unittest.cc
@@ -67,7 +67,7 @@ class ProtoZeroConformanceTest : public ::testing::Test {
};
TEST_F(ProtoZeroConformanceTest, SimpleFieldsNoNesting) {
- auto msg = CreateMessage<pbtest::EveryField>();
+ auto* msg = CreateMessage<pbtest::EveryField>();
msg->set_field_int32(-1);
msg->set_field_int64(-333123456789ll);
@@ -126,7 +126,7 @@ TEST_F(ProtoZeroConformanceTest, SimpleFieldsNoNesting) {
}
TEST_F(ProtoZeroConformanceTest, NestedMessages) {
- auto msg_a = CreateMessage<pbtest::NestedA>();
+ auto* msg_a = CreateMessage<pbtest::NestedA>();
pbtest::NestedA::NestedB* msg_b = msg_a->add_repeated_a();
pbtest::NestedA::NestedB::NestedC* msg_c = msg_b->set_value_b();
« no previous file with comments | « components/toolbar/toolbar_model_impl.cc ('k') | components/update_client/update_response.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698