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

Unified Diff: third_party/WebKit/Source/core/testing/NullExecutionContext.h

Issue 2080623002: Revert "Remove OwnPtr from Blink." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
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 f9847e99198cdf0e143a2559cc5ad347d478bdc9..10a4500f9ff3bab56ef28d3adce45a70d80e753c 100644
--- a/third_party/WebKit/Source/core/testing/NullExecutionContext.h
+++ b/third_party/WebKit/Source/core/testing/NullExecutionContext.h
@@ -12,7 +12,6 @@
#include "core/inspector/ConsoleMessage.h"
#include "platform/heap/Handle.h"
#include "platform/weborigin/KURL.h"
-#include <memory>
namespace blink {
@@ -38,7 +37,7 @@ public:
DOMTimerCoordinator* timers() override { return nullptr; }
void addConsoleMessage(ConsoleMessage*) override { }
- void logExceptionToConsole(const String& errorMessage, std::unique_ptr<SourceLocation>) override { }
+ void logExceptionToConsole(const String& errorMessage, PassOwnPtr<SourceLocation>) override { }
void setIsSecureContext(bool);
bool isSecureContext(String& errorMessage, const SecureContextCheck = StandardSecureContextCheck) const override;
« no previous file with comments | « third_party/WebKit/Source/core/testing/Internals.cpp ('k') | third_party/WebKit/Source/core/testing/PrivateScriptTestTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698