Index: third_party/WebKit/Source/bindings/core/v8/SourceLocation.h |
diff --git a/third_party/WebKit/Source/bindings/core/v8/SourceLocation.h b/third_party/WebKit/Source/bindings/core/v8/SourceLocation.h |
index 69b5af5b46ceb2e49ef49de2d3a03b6e7ff7f723..c64ed344dd8e6292a1eef6356dd6ef1654baf83b 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/SourceLocation.h |
+++ b/third_party/WebKit/Source/bindings/core/v8/SourceLocation.h |
@@ -6,8 +6,8 @@ |
#define SourceLocation_h |
#include "core/CoreExport.h" |
-#include "platform/CrossThreadCopier.h" |
#include "platform/v8_inspector/public/V8StackTrace.h" |
+#include "wtf/CrossThreadCopier.h" |
#include "wtf/Forward.h" |
#include "wtf/text/WTFString.h" |
#include <memory> |
@@ -68,10 +68,14 @@ private: |
int m_scriptId; |
}; |
+} // namespace blink |
+ |
+namespace WTF { |
+ |
template <> |
-struct CrossThreadCopier<std::unique_ptr<SourceLocation>> { |
- using Type = std::unique_ptr<SourceLocation>; |
- static Type copy(std::unique_ptr<SourceLocation> location) |
+struct CrossThreadCopier<std::unique_ptr<blink::SourceLocation>> { |
+ using Type = std::unique_ptr<blink::SourceLocation>; |
+ static Type copy(std::unique_ptr<blink::SourceLocation> location) |
{ |
return location ? location->isolatedCopy() : nullptr; |
} |