Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(363)

Unified Diff: content/browser/web_contents/web_contents_impl.cc

Issue 2619063003: Update viewport_meta setting on any navigation. (Closed)
Patch Set: Move to RendererDidNavigateToExistingPage Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/frame_host/navigation_controller_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 {
« no previous file with comments | « content/browser/frame_host/navigation_controller_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698