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

Unified Diff: third_party/WebKit/Source/core/css/MediaValuesCached.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/core/css/MediaValuesCached.h
diff --git a/third_party/WebKit/Source/core/css/MediaValuesCached.h b/third_party/WebKit/Source/core/css/MediaValuesCached.h
index 8fddc5291847a3b620121c78c35729bc53de5a97..e351d4e7decb70673ef7d793dfa6141ce992cdaf 100644
--- a/third_party/WebKit/Source/core/css/MediaValuesCached.h
+++ b/third_party/WebKit/Source/core/css/MediaValuesCached.h
@@ -7,6 +7,7 @@
#include "core/CoreExport.h"
#include "core/css/MediaValues.h"
+#include "wtf/CrossThreadCopier.h"
namespace blink {
@@ -110,12 +111,16 @@ protected:
MediaValuesCachedData m_data;
};
+} // namespace blink
+
+namespace WTF {
+
template <>
-struct CrossThreadCopier<MediaValuesCached::MediaValuesCachedData> {
- typedef MediaValuesCached::MediaValuesCachedData Type;
- static Type copy(const MediaValuesCached::MediaValuesCachedData& data) { return data.deepCopy(); }
+struct CrossThreadCopier<blink::MediaValuesCached::MediaValuesCachedData> {
+ typedef blink::MediaValuesCached::MediaValuesCachedData Type;
+ static Type copy(const blink::MediaValuesCached::MediaValuesCachedData& data) { return data.deepCopy(); }
};
-} // namespace blink
+} // namespace WTF
#endif // MediaValuesCached_h

Powered by Google App Engine
This is Rietveld 408576698