| Index: sky/viewer/document_view.cc
|
| diff --git a/sky/viewer/document_view.cc b/sky/viewer/document_view.cc
|
| index 8125379b263e6f91c9dfd0d514939b9fe1fd8e0e..e71020991ae5c17ae1da99bde3ac5dea662950c1 100644
|
| --- a/sky/viewer/document_view.cc
|
| +++ b/sky/viewer/document_view.cc
|
| @@ -127,7 +127,9 @@ void DocumentView::OnEmbed(
|
| // assuming that we're focused.
|
| web_view_->setFocus(true);
|
| // Needed on android, as the window does not get the focus otherwise.
|
| +#if defined(OS_ANDROID)
|
| root_->SetFocus();
|
| +#endif
|
| root_->AddObserver(this);
|
| }
|
|
|
|
|