| Index: content/browser/accessibility/touch_accessibility_aura_browsertest.cc
|
| diff --git a/content/browser/accessibility/touch_accessibility_aura_browsertest.cc b/content/browser/accessibility/touch_accessibility_aura_browsertest.cc
|
| index 77ae888a7c26d84267e48d8df67d205495011e0a..7eb67c3ba043884d4fd9a1167ef5fc5b98de2a4b 100644
|
| --- a/content/browser/accessibility/touch_accessibility_aura_browsertest.cc
|
| +++ b/content/browser/accessibility/touch_accessibility_aura_browsertest.cc
|
| @@ -171,11 +171,7 @@ IN_PROC_BROWSER_TEST_F(TouchAccessibilityBrowserTest,
|
| // If OOPIFs are enabled, wait until compositor frames are all properly
|
| // displayed, otherwise the touch event will not get sent to the correct
|
| // renderer process.
|
| - if (main_frame->GetView() != child_frame->GetView()) {
|
| - SurfaceHitTestReadyNotifier notifier(
|
| - static_cast<RenderWidgetHostViewChildFrame*>(child_frame->GetView()));
|
| - notifier.WaitForSurfaceReady();
|
| - }
|
| + WaitForChildFrameSurfaceReady(child_frame);
|
|
|
| // Send a touch exploration event to the button in the first iframe.
|
| // A touch exploration event is just a mouse move event with
|
|
|