| Index: chrome/installer/util/legacy_firewall_manager_win_unittest.cc
|
| diff --git a/chrome/installer/util/legacy_firewall_manager_win_unittest.cc b/chrome/installer/util/legacy_firewall_manager_win_unittest.cc
|
| index 26df3b889bb28d0f483df1fe4e3eca68a757c4e9..5fd46388c97021c7cea17589208936cb1bb1ae91 100644
|
| --- a/chrome/installer/util/legacy_firewall_manager_win_unittest.cc
|
| +++ b/chrome/installer/util/legacy_firewall_manager_win_unittest.cc
|
| @@ -5,7 +5,7 @@
|
| #include "chrome/installer/util/legacy_firewall_manager_win.h"
|
|
|
| #include "base/path_service.h"
|
| -#include "base/process/process_handle.h"
|
| +#include "base/process/process_info.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
|
|
| namespace installer {
|
| @@ -17,9 +17,7 @@ class LegacyFirewallManagerTest : public ::testing::Test {
|
| protected:
|
| // Sets up the test fixture.
|
| virtual void SetUp() override {
|
| - base::IntegrityLevel level = base::INTEGRITY_UNKNOWN;
|
| - if (GetProcessIntegrityLevel(base::GetCurrentProcessHandle(), &level) &&
|
| - level != base::HIGH_INTEGRITY) {
|
| + if (base::GetCurrentProcessIntegrityLevel() != base::HIGH_INTEGRITY) {
|
| LOG(WARNING) << "Not elevated. Skipping the test.";
|
| return;
|
| };
|
|
|