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

Unified Diff: sandbox/win/tests/common/controller.h

Issue 2646043002: Reland "Fix sandbox::PolicyBase leak" (Closed)
Patch Set: Created 3 years, 11 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: sandbox/win/tests/common/controller.h
diff --git a/sandbox/win/tests/common/controller.h b/sandbox/win/tests/common/controller.h
index 319666b822d2ca5b9082e170e6494c4f60fcb320..1f9cc6d2ce50af04c015b0367fd3041e2f9f8655 100644
--- a/sandbox/win/tests/common/controller.h
+++ b/sandbox/win/tests/common/controller.h
@@ -143,7 +143,7 @@ class TestRunner {
int InternalRunTest(const wchar_t* command);
BrokerServices* broker_;
- TargetPolicy* policy_;
+ scoped_refptr<TargetPolicy> policy_;
DWORD timeout_;
SboxTestsState state_;
bool is_init_;

Powered by Google App Engine
This is Rietveld 408576698