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

Unified Diff: ios/chrome/browser/dom_distiller/distiller_viewer.cc

Issue 1861593005: Convert //ios from scoped_ptr to std::unique_ptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase? Created 4 years, 8 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: ios/chrome/browser/dom_distiller/distiller_viewer.cc
diff --git a/ios/chrome/browser/dom_distiller/distiller_viewer.cc b/ios/chrome/browser/dom_distiller/distiller_viewer.cc
index 68ae648377d0453fe9f3bd0a0a8e7ac4105d2f72..8820e44d96604aa9326960165533515b632a3d2e 100644
--- a/ios/chrome/browser/dom_distiller/distiller_viewer.cc
+++ b/ios/chrome/browser/dom_distiller/distiller_viewer.cc
@@ -32,7 +32,7 @@ DistillerViewer::DistillerViewer(ios::ChromeBrowserState* browser_state,
dom_distiller::DomDistillerServiceFactory::GetForBrowserState(
browser_state);
- scoped_ptr<ViewerHandle> viewer_handle = distillerService->ViewUrl(
+ std::unique_ptr<ViewerHandle> viewer_handle = distillerService->ViewUrl(
this, distillerService->CreateDefaultDistillerPage(gfx::Size()), url);
TakeViewerHandle(std::move(viewer_handle));
« no previous file with comments | « ios/chrome/browser/dom_distiller/distiller_viewer.h ('k') | ios/chrome/browser/dom_distiller/dom_distiller_service_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698