Index: chrome/test/perf/frame_rate/frame_rate_tests.cc |
diff --git a/chrome/test/perf/frame_rate/frame_rate_tests.cc b/chrome/test/perf/frame_rate/frame_rate_tests.cc |
index 4dfdc96b71601deac3ab0e23ca6265cd48a207f8..56a5baccec40b2843c03e6557106aa4fe4e2a992 100644 |
--- a/chrome/test/perf/frame_rate/frame_rate_tests.cc |
+++ b/chrome/test/perf/frame_rate/frame_rate_tests.cc |
@@ -190,7 +190,7 @@ class FrameRateTest |
// race condition caused by an html redirect. If that is the case, verify |
// that flag kHasRedirect is enabled for the current test. |
ASSERT_TRUE(WaitUntilJavaScriptCondition( |
- tab, L"", L"window.domAutomationController.send(__initialized);", |
+ tab.get(), L"", L"window.domAutomationController.send(__initialized);", |
TestTimeouts::large_test_timeout())); |
if (HasFlag(kForceGpuComposited)) { |
@@ -203,7 +203,7 @@ class FrameRateTest |
// Block until the tests completes. |
ASSERT_TRUE(WaitUntilJavaScriptCondition( |
- tab, L"", L"window.domAutomationController.send(!__running_all);", |
+ tab.get(), L"", L"window.domAutomationController.send(!__running_all);", |
TestTimeouts::large_test_timeout())); |
// TODO(jbates): remove this check when ref builds are updated. |