Chromium Code Reviews| Index: content/browser/web_contents/web_contents_impl.cc |
| diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc |
| index deee5480624927d91392edcc4f98dc3d9a510024..ac3ac74574a31672dcca9b1dd0a3e1a482947f88 100644 |
| --- a/content/browser/web_contents/web_contents_impl.cc |
| +++ b/content/browser/web_contents/web_contents_impl.cc |
| @@ -2383,8 +2383,8 @@ bool WebContentsImpl::IsVirtualKeyboardRequested() { |
| } |
| bool WebContentsImpl::IsOverridingUserAgent() { |
| - return GetController().GetVisibleEntry() && |
| - GetController().GetVisibleEntry()->GetIsOverridingUserAgent(); |
| + return GetController().GetActiveEntry() && |
|
nasko
2017/01/10 17:33:35
This is not an ok change, since GetActiveEntry is
aelias_OOO_until_Jul13
2017/01/10 21:31:15
OK then, I reuploaded patch set 1.
|
| + GetController().GetActiveEntry()->GetIsOverridingUserAgent(); |
| } |
| bool WebContentsImpl::IsJavaScriptDialogShowing() const { |