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

Unified Diff: ui/views/controls/focus_ring.cc

Issue 2612463002: Views: Remove DCHECK failing for ScrollViews, which can't be focused. (Closed)
Patch Set: Created 3 years, 12 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: ui/views/controls/focus_ring.cc
diff --git a/ui/views/controls/focus_ring.cc b/ui/views/controls/focus_ring.cc
index 29adfa0e2207a619b1310df98c028961dec85b54..c8985bf255dd65277b7950e73c0d4289c9998c1e 100644
--- a/ui/views/controls/focus_ring.cc
+++ b/ui/views/controls/focus_ring.cc
@@ -36,7 +36,6 @@ const char FocusRing::kViewClassName[] = "FocusRing";
// static
views::View* FocusRing::Install(views::View* parent,
ui::NativeTheme::ColorId override_color_id) {
- DCHECK(parent->HasFocus());
FocusRing* ring = GetFocusRing(parent);
if (!ring) {
ring = new FocusRing();
« 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