Index: third_party/WebKit/Source/core/testing/NullExecutionContext.h |
diff --git a/third_party/WebKit/Source/core/testing/NullExecutionContext.h b/third_party/WebKit/Source/core/testing/NullExecutionContext.h |
index 10a4500f9ff3bab56ef28d3adce45a70d80e753c..f9847e99198cdf0e143a2559cc5ad347d478bdc9 100644 |
--- a/third_party/WebKit/Source/core/testing/NullExecutionContext.h |
+++ b/third_party/WebKit/Source/core/testing/NullExecutionContext.h |
@@ -12,6 +12,7 @@ |
#include "core/inspector/ConsoleMessage.h" |
#include "platform/heap/Handle.h" |
#include "platform/weborigin/KURL.h" |
+#include <memory> |
namespace blink { |
@@ -37,7 +38,7 @@ public: |
DOMTimerCoordinator* timers() override { return nullptr; } |
void addConsoleMessage(ConsoleMessage*) override { } |
- void logExceptionToConsole(const String& errorMessage, PassOwnPtr<SourceLocation>) override { } |
+ void logExceptionToConsole(const String& errorMessage, std::unique_ptr<SourceLocation>) override { } |
void setIsSecureContext(bool); |
bool isSecureContext(String& errorMessage, const SecureContextCheck = StandardSecureContextCheck) const override; |