| Index: ui/views/controls/webview/webview.cc
|
| diff --git a/ui/views/controls/webview/webview.cc b/ui/views/controls/webview/webview.cc
|
| index 44baa228dc32c69c48a85537ce4c832f9d49f37b..686eeb6ddd4a4d78541e966cca8f3ce20e861b81 100644
|
| --- a/ui/views/controls/webview/webview.cc
|
| +++ b/ui/views/controls/webview/webview.cc
|
| @@ -339,24 +339,12 @@ void WebView::AttachWebContents() {
|
| if (focus_manager && focus_manager->GetFocusedView() == this)
|
| OnFocus();
|
|
|
| -#if defined(OS_WIN)
|
| - if (!is_embedding_fullscreen_widget_) {
|
| - web_contents()->SetParentNativeViewAccessible(
|
| - parent()->GetNativeViewAccessible());
|
| - }
|
| -#endif
|
| -
|
| OnWebContentsAttached();
|
| }
|
|
|
| void WebView::DetachWebContents() {
|
| - if (web_contents()) {
|
| + if (web_contents())
|
| holder_->Detach();
|
| -#if defined(OS_WIN)
|
| - if (!is_embedding_fullscreen_widget_)
|
| - web_contents()->SetParentNativeViewAccessible(NULL);
|
| -#endif
|
| - }
|
| }
|
|
|
| void WebView::ReattachForFullscreenChange(bool enter_fullscreen) {
|
|
|