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

Unified Diff: sandbox/win/src/broker_services.h

Issue 2456573002: Revert "Fix sandbox::PolicyBase leak" (Closed)
Patch Set: Created 4 years, 2 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
« no previous file with comments | « sandbox/win/sandbox_poc/main_ui_window.cc ('k') | sandbox/win/src/broker_services.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sandbox/win/src/broker_services.h
diff --git a/sandbox/win/src/broker_services.h b/sandbox/win/src/broker_services.h
index 00718c388d9d8262a4ff042f8333655cf7856514..555f52bb47f89efe46e7ed041f598ab7db1de964 100644
--- a/sandbox/win/src/broker_services.h
+++ b/sandbox/win/src/broker_services.h
@@ -45,10 +45,10 @@ class BrokerServicesBase final : public BrokerServices,
// BrokerServices interface.
ResultCode Init() override;
- scoped_refptr<TargetPolicy> CreatePolicy() override;
+ TargetPolicy* CreatePolicy() override;
ResultCode SpawnTarget(const wchar_t* exe_path,
const wchar_t* command_line,
- scoped_refptr<TargetPolicy> policy,
+ TargetPolicy* policy,
ResultCode* last_warning,
DWORD* last_error,
PROCESS_INFORMATION* target) override;
« no previous file with comments | « sandbox/win/sandbox_poc/main_ui_window.cc ('k') | sandbox/win/src/broker_services.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698