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

Unified Diff: chrome/browser/task_manager/providers/web_contents/web_contents_tag.h

Issue 2845263002: Switch SupportsUserData uses to use unique_ptr. (Closed)
Patch Set: 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: chrome/browser/task_manager/providers/web_contents/web_contents_tag.h
diff --git a/chrome/browser/task_manager/providers/web_contents/web_contents_tag.h b/chrome/browser/task_manager/providers/web_contents/web_contents_tag.h
index 713c201df682fd0165efae82eb1fc3b44b8f7e3d..eff58d04d4a79fd78afca6af7b5ddf5149077895 100644
--- a/chrome/browser/task_manager/providers/web_contents/web_contents_tag.h
+++ b/chrome/browser/task_manager/providers/web_contents/web_contents_tag.h
@@ -25,6 +25,8 @@ class RendererTask;
// |task_manager::WebContentsTags|.
class WebContentsTag : public base::SupportsUserData::Data {
public:
+ ~WebContentsTag() override;
+
// Retrieves the instance of the WebContentsTag that was attached to the
// specified WebContents and returns it. If no instance was attached, returns
// nullptr.
@@ -45,7 +47,6 @@ class WebContentsTag : public base::SupportsUserData::Data {
friend class WebContentsTags;
explicit WebContentsTag(content::WebContents* contents);
- ~WebContentsTag() override;
private:
// The user data key.

Powered by Google App Engine
This is Rietveld 408576698