Chromium Code Reviews| Index: chrome/browser/policy/policy_browsertest.cc |
| diff --git a/chrome/browser/policy/policy_browsertest.cc b/chrome/browser/policy/policy_browsertest.cc |
| index 1c77345bbea40745a727ff99c9c251e938af09a7..8679dfa55046421aa3b7de2636c3529e9ac85554 100644 |
| --- a/chrome/browser/policy/policy_browsertest.cc |
| +++ b/chrome/browser/policy/policy_browsertest.cc |
| @@ -4078,7 +4078,8 @@ IN_PROC_BROWSER_TEST_F(HardwareAccelerationModePolicyTest, |
| HardwareAccelerationDisabled) { |
| // Verifies that hardware acceleration can be disabled with policy. |
| EXPECT_FALSE( |
| - content::GpuDataManager::GetInstance()->GpuAccessAllowed(nullptr)); |
| + content::GpuDataManager::GetInstance()->GpuAccessAllowed(nullptr) && |
|
emaxx
2017/03/02 16:06:29
I'm not entirely following this. Is this changed b
sugoi1
2017/03/02 16:23:16
That's indeed the first line of GpuAccessAllowed()
sugoi
2017/03/06 18:31:42
After looking into this, I think this code is bett
emaxx
2017/03/06 20:10:51
I see, thanks for the explanation.
I'd still find
|
| + !content::GpuDataManager::GetInstance()->ShouldUseSwiftShader()); |
| } |
| #endif // !defined(OS_CHROMEOS) && !defined(OS_ANDROID) |