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

Unified Diff: third_party/WebKit/Source/wtf/Functional.h

Issue 2050123002: Remove OwnPtr from Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: First attempt to land. Created 4 years, 6 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
« no previous file with comments | « third_party/WebKit/Source/wtf/Forward.h ('k') | third_party/WebKit/Source/wtf/HashFunctions.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/wtf/Functional.h
diff --git a/third_party/WebKit/Source/wtf/Functional.h b/third_party/WebKit/Source/wtf/Functional.h
index 694963ae2bbf6c31b8e9394669225d86d7af404f..dd3b7a28f3336a138427df76eaeed26b046ba96d 100644
--- a/third_party/WebKit/Source/wtf/Functional.h
+++ b/third_party/WebKit/Source/wtf/Functional.h
@@ -29,7 +29,6 @@
#include "base/tuple.h"
#include "wtf/Allocator.h"
#include "wtf/Assertions.h"
-#include "wtf/PassOwnPtr.h"
#include "wtf/PassRefPtr.h"
#include "wtf/PtrUtil.h"
#include "wtf/RefPtr.h"
@@ -168,12 +167,6 @@ public:
}
template <typename... IncomingParameters>
- R operator()(const PassOwnPtr<C>& c, IncomingParameters&&... parameters)
- {
- return (c.get()->*m_function)(std::forward<IncomingParameters>(parameters)...);
- }
-
- template <typename... IncomingParameters>
R operator()(const std::unique_ptr<C>& c, IncomingParameters&&... parameters)
{
return (c.get()->*m_function)(std::forward<IncomingParameters>(parameters)...);
« no previous file with comments | « third_party/WebKit/Source/wtf/Forward.h ('k') | third_party/WebKit/Source/wtf/HashFunctions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698