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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/omnibox/LocationBarLayout.java

Issue 1329903003: Make sure that mixed content does not result in green HTTPS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/src/org/chromium/chrome/browser/omnibox/LocationBarLayout.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/omnibox/LocationBarLayout.java b/chrome/android/java/src/org/chromium/chrome/browser/omnibox/LocationBarLayout.java
index 0dedf61f08916cb473f190508af0566ec28696db..9c3db62470d7ba41a969469dcfc3f80f9bd31c6a 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/omnibox/LocationBarLayout.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/omnibox/LocationBarLayout.java
@@ -1208,10 +1208,10 @@ public class LocationBarLayout extends FrameLayout implements OnClickListener,
updateSecurityButton(false);
} else {
updateSecurityButton(true);
- // Since we emphasize the schema of the URL based on the security type, we need to
- // refresh the emphasis.
- mUrlBar.deEmphasizeUrl();
}
+ // Since we emphasize the schema of the URL based on the security type, we need to
+ // refresh the emphasis.
+ mUrlBar.deEmphasizeUrl();
emphasizeUrl();
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698