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

Unified Diff: components/sessions/content/content_platform_specific_tab_data.cc

Issue 2200993004: Make TabRestoreService::Entry noncopyable and fix up surrounding code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@tab-test-cleanup
Patch Set: Eliminate a use-after-free, Windows build fix Created 4 years, 4 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/sessions/content/content_platform_specific_tab_data.cc
diff --git a/components/sessions/content/content_platform_specific_tab_data.cc b/components/sessions/content/content_platform_specific_tab_data.cc
index 755f5cf56ad768244aead61065b6c94dd9ff4049..bca42b8dea8adbddf0c3739e860d34c5c95259be 100644
--- a/components/sessions/content/content_platform_specific_tab_data.cc
+++ b/components/sessions/content/content_platform_specific_tab_data.cc
@@ -21,11 +21,4 @@ ContentPlatformSpecificTabData::ContentPlatformSpecificTabData() {}
ContentPlatformSpecificTabData::~ContentPlatformSpecificTabData() {}
-std::unique_ptr<PlatformSpecificTabData>
-ContentPlatformSpecificTabData::Clone() {
- ContentPlatformSpecificTabData* clone = new ContentPlatformSpecificTabData();
- clone->session_storage_namespace_ = session_storage_namespace_;
- return base::WrapUnique(clone);
-}
-
} // namespace sessions

Powered by Google App Engine
This is Rietveld 408576698