| Index: content/renderer/render_view_browsertest.cc
|
| diff --git a/content/renderer/render_view_browsertest.cc b/content/renderer/render_view_browsertest.cc
|
| index ba49266605de5233a33079313cb131afb9178af6..dcf209bdae58e6aa89f687cc3c37666716f8a1de 100644
|
| --- a/content/renderer/render_view_browsertest.cc
|
| +++ b/content/renderer/render_view_browsertest.cc
|
| @@ -1436,6 +1436,9 @@ TEST_F(RenderViewImplTest, OnSetTextDirection) {
|
| " node.getAttribute('dir') + ',' +"
|
| " style.getPropertyValue('direction');");
|
|
|
| + // Required to see any updates in dumpFrameTreeAsText.
|
| + view()->GetWebView()->updateAllLifecyclePhases();
|
| +
|
| // Copy the document content to std::wstring and compare with the
|
| // expected result.
|
| const int kMaxOutputCharacters = 16;
|
| @@ -1576,6 +1579,9 @@ TEST_F(RenderViewImplTest, OnHandleKeyboardEvent) {
|
| kModifierData[j].expected_result,
|
| key_code, kModifierData[j].expected_result);
|
|
|
| + // Required to see any updates in dumpFrameTreeAsText.
|
| + view()->GetWebView()->updateAllLifecyclePhases();
|
| +
|
| // Retrieve the text in the test page and compare it with the expected
|
| // text created from a virtual-key code, a character code, and the
|
| // modifier-key status.
|
|
|