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

Unified Diff: mojo/edk/embedder/test_embedder.cc

Issue 1387963004: Create a broker interface for the new Mojo EDK so that the browser can create and duplicate messa... (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: presubmit whitespace error Created 5 years, 1 month 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: mojo/edk/embedder/test_embedder.cc
diff --git a/mojo/edk/embedder/test_embedder.cc b/mojo/edk/embedder/test_embedder.cc
index b33ea7be2c72c2e0d698aaffd2512731cd36daf9..9e82a4e76522cd3ebe435231f7207b35cdf0f0ec 100644
--- a/mojo/edk/embedder/test_embedder.cc
+++ b/mojo/edk/embedder/test_embedder.cc
@@ -12,6 +12,10 @@
#include "mojo/edk/system/core.h"
#include "mojo/edk/system/handle_table.h"
+#if defined(OS_WIN)
+#include "mojo/edk/system/token_serializer_win.h"
+#endif
+
namespace mojo {
namespace edk {
@@ -47,6 +51,12 @@ bool Shutdown() {
delete internal::g_platform_support;
internal::g_platform_support = nullptr;
+#if defined(OS_WIN)
+ CHECK(internal::g_token_serializer);
+ delete internal::g_token_serializer;
+ internal::g_token_serializer = nullptr;
+#endif
+
return rv;
}

Powered by Google App Engine
This is Rietveld 408576698