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

Unified Diff: chrome/browser/printing/print_view_manager_common.cc

Issue 2194643003: chrome/browser/printing: Change auto to not deduce raw pointers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/printing/print_view_manager_common.cc
diff --git a/chrome/browser/printing/print_view_manager_common.cc b/chrome/browser/printing/print_view_manager_common.cc
index 1d1a2c36cfc359e89943348c27b73e13688f8185..097220415f1ea81bec36122b1a23d4437c74e5eb 100644
--- a/chrome/browser/printing/print_view_manager_common.cc
+++ b/chrome/browser/printing/print_view_manager_common.cc
@@ -22,7 +22,7 @@ namespace {
// full page MimeHandlerViewGuest plugin. Otherwise, returns false.
bool StoreFullPagePlugin(content::WebContents** result,
content::WebContents* guest_contents) {
- auto guest_view =
+ auto* guest_view =
extensions::MimeHandlerViewGuest::FromWebContents(guest_contents);
if (guest_view && guest_view->is_full_page_plugin()) {
*result = guest_contents;
@@ -59,7 +59,7 @@ void StartPrint(content::WebContents* contents,
using PrintViewManagerImpl = PrintViewManagerBasic;
#endif // defined(ENABLE_PRINT_PREVIEW)
- auto print_view_manager =
+ auto* print_view_manager =
PrintViewManagerImpl::FromWebContents(GetWebContentsToUse(contents));
if (!print_view_manager)
return;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698