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

Unified Diff: third_party/WebKit/Source/platform/CrossThreadFunctional.h

Issue 2125003002: Move CrossThreadCopier from platform/ to wtf/ Base URL: https://chromium.googlesource.com/chromium/src.git@TRV_RemoveTupleInBind
Patch Set: Rebase Created 4 years, 5 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: third_party/WebKit/Source/platform/CrossThreadFunctional.h
diff --git a/third_party/WebKit/Source/platform/CrossThreadFunctional.h b/third_party/WebKit/Source/platform/CrossThreadFunctional.h
index c54725f2e87f58931c92101eff7b9f62f4c932f0..4b2c5cf96f2e5c2a23e5916a44d64da05ac9261a 100644
--- a/third_party/WebKit/Source/platform/CrossThreadFunctional.h
+++ b/third_party/WebKit/Source/platform/CrossThreadFunctional.h
@@ -6,7 +6,7 @@
#define CrossThreadFunctional_h
#include "base/bind.h"
-#include "platform/CrossThreadCopier.h"
+#include "wtf/CrossThreadCopier.h"
sof 2016/07/06 14:13:34 Do you plan to move CrossThreadFunctional.h in a f
#include "wtf/Functional.h"
#include <type_traits>
@@ -35,7 +35,7 @@ std::unique_ptr<Function<base::MakeUnboundRunType<FunctionType, Ps...>, WTF::Cro
{
return WTF::bindInternal<WTF::CrossThreadAffinity>(
function,
- CrossThreadCopier<typename std::decay<Ps>::type>::copy(std::forward<Ps>(parameters))...);
+ WTF::CrossThreadCopier<typename std::decay<Ps>::type>::copy(std::forward<Ps>(parameters))...);
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698