Index: chrome/browser/policy/policy_browsertest.cc |
diff --git a/chrome/browser/policy/policy_browsertest.cc b/chrome/browser/policy/policy_browsertest.cc |
index 05b84638e67c842db856e62a8487cfb770576804..4bd7a387391e545c07c954fc4fc6f82fe50d372a 100644 |
--- a/chrome/browser/policy/policy_browsertest.cc |
+++ b/chrome/browser/policy/policy_browsertest.cc |
@@ -1206,7 +1206,7 @@ |
IN_PROC_BROWSER_TEST_F(PolicyTest, Disable3DAPIs) { |
// This test assumes Gpu access. |
- if (!content::GpuDataManager::GetInstance()->HardwareAccelerationEnabled()) |
+ if (!content::GpuDataManager::GetInstance()->GpuAccessAllowed(NULL)) |
return; |
ui_test_utils::NavigateToURL(browser(), GURL(url::kAboutBlankURL)); |
@@ -4137,7 +4137,7 @@ |
HardwareAccelerationDisabled) { |
// Verifies that hardware acceleration can be disabled with policy. |
EXPECT_FALSE( |
- content::GpuDataManager::GetInstance()->HardwareAccelerationEnabled()); |
+ content::GpuDataManager::GetInstance()->GpuAccessAllowed(nullptr)); |
} |
#endif // !defined(OS_CHROMEOS) && !defined(OS_ANDROID) |