| Index: ui/views/controls/webview/webview.cc
|
| diff --git a/ui/views/controls/webview/webview.cc b/ui/views/controls/webview/webview.cc
|
| index 21de72612313f43c5556053536e66379ade07c14..051dbaf0953396fe1a4749629889acde67d91a86 100644
|
| --- a/ui/views/controls/webview/webview.cc
|
| +++ b/ui/views/controls/webview/webview.cc
|
| @@ -298,23 +298,11 @@ void WebView::AttachWebContents() {
|
| FocusManager* const focus_manager = GetFocusManager();
|
| if (focus_manager && focus_manager->GetFocusedView() == this)
|
| OnFocus();
|
| -
|
| -#if defined(OS_WIN)
|
| - if (!is_embedding_fullscreen_widget_) {
|
| - web_contents()->SetParentNativeViewAccessible(
|
| - parent()->GetNativeViewAccessible());
|
| - }
|
| -#endif
|
| }
|
|
|
| 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) {
|
|
|