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

Unified Diff: content/test/web_contents_observer_sanity_checker.h

Issue 2853663002: Switch SupportsUserData uses to use unique_ptr. (Closed)
Patch Set: reparent Created 3 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: content/test/web_contents_observer_sanity_checker.h
diff --git a/content/test/web_contents_observer_sanity_checker.h b/content/test/web_contents_observer_sanity_checker.h
index 86fc9e9ec04a250ea9f928785827b7fa825fca46..f8f6a2ba6a86844d2e93e8ff60b53e6994309464 100644
--- a/content/test/web_contents_observer_sanity_checker.h
+++ b/content/test/web_contents_observer_sanity_checker.h
@@ -30,6 +30,8 @@ namespace content {
class WebContentsObserverSanityChecker : public WebContentsObserver,
public base::SupportsUserData::Data {
public:
+ ~WebContentsObserverSanityChecker() override;
+
// Enables these checks on |web_contents|. Usually ContentBrowserSanityChecker
// should call this for you.
static void Enable(WebContents* web_contents);
@@ -76,7 +78,6 @@ class WebContentsObserverSanityChecker : public WebContentsObserver,
private:
explicit WebContentsObserverSanityChecker(WebContents* web_contents);
- ~WebContentsObserverSanityChecker() override;
std::string Format(RenderFrameHost* render_frame_host);
void AssertRenderFrameExists(RenderFrameHost* render_frame_host);

Powered by Google App Engine
This is Rietveld 408576698