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

Unified Diff: components/dom_distiller/content/renderer/distiller_js_render_frame_observer.h

Issue 1879613003: Convert //components/dom_distiller 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: components/dom_distiller/content/renderer/distiller_js_render_frame_observer.h
diff --git a/components/dom_distiller/content/renderer/distiller_js_render_frame_observer.h b/components/dom_distiller/content/renderer/distiller_js_render_frame_observer.h
index 6589e3950370abf07ac82d9d83b43f03649e7979..cc2e450eeda37f8b41ed937978f62e6662f9d245 100644
--- a/components/dom_distiller/content/renderer/distiller_js_render_frame_observer.h
+++ b/components/dom_distiller/content/renderer/distiller_js_render_frame_observer.h
@@ -51,7 +51,7 @@ class DistillerJsRenderFrameObserver : public content::RenderFrameObserver {
//mojo::StrongBinding<DistillerPageNotifierService> binding_;
// Handle to "distiller" JavaScript object functionality.
- scoped_ptr<DistillerNativeJavaScript> native_javascript_handle_;
+ std::unique_ptr<DistillerNativeJavaScript> native_javascript_handle_;
base::WeakPtrFactory<DistillerJsRenderFrameObserver> weak_factory_;
};

Powered by Google App Engine
This is Rietveld 408576698