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

Unified Diff: extensions/browser/api/serial/serial_apitest.cc

Issue 2108623005: extensions: Change auto to not deduce raw pointers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 | « no previous file | extensions/browser/api/web_request/web_request_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/api/serial/serial_apitest.cc
diff --git a/extensions/browser/api/serial/serial_apitest.cc b/extensions/browser/api/serial/serial_apitest.cc
index 14fbabbd832071a7374667f181fcb56950a6c2e6..d0e9b58830cf25f172e54f5083fb7d2b67849250 100644
--- a/extensions/browser/api/serial/serial_apitest.cc
+++ b/extensions/browser/api/serial/serial_apitest.cc
@@ -135,10 +135,9 @@ ExtensionFunction* FakeSerialConnectFunctionFactory() {
void CreateTestSerialServiceOnFileThread(
mojo::InterfaceRequest<device::serial::SerialService> request) {
auto io_handler_factory = base::Bind(&FakeEchoSerialIoHandler::Create);
- auto connection_factory = new device::SerialConnectionFactory(
- io_handler_factory,
- content::BrowserThread::GetMessageLoopProxyForThread(
- content::BrowserThread::IO));
+ auto* connection_factory = new device::SerialConnectionFactory(
+ io_handler_factory, content::BrowserThread::GetMessageLoopProxyForThread(
+ content::BrowserThread::IO));
std::unique_ptr<device::SerialDeviceEnumerator> device_enumerator(
new FakeSerialDeviceEnumerator);
new device::SerialServiceImpl(
« no previous file with comments | « no previous file | extensions/browser/api/web_request/web_request_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698