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 7b36b2708c064e64a730d4c174171c71d1e0bf6f..d34388ef0b25f22db7049f9a3a5cf2912b0dba06 100644 |
--- a/chrome/test/perf/frame_rate/frame_rate_tests.cc |
+++ b/chrome/test/perf/frame_rate/frame_rate_tests.cc |
@@ -196,7 +196,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, |
+ tab.get(), |
std::wstring(), |
L"window.domAutomationController.send(__initialized);", |
TestTimeouts::large_test_timeout())); |
@@ -211,7 +211,7 @@ class FrameRateTest |
// Block until the tests completes. |
ASSERT_TRUE(WaitUntilJavaScriptCondition( |
- tab, |
+ tab.get(), |
std::wstring(), |
L"window.domAutomationController.send(!__running_all);", |
TestTimeouts::large_test_timeout())); |