diff options
Diffstat (limited to 'chrome/browser/chromeos/ui/accessibility_focus_ring_controller.cc')
-rw-r--r-- | chrome/browser/chromeos/ui/accessibility_focus_ring_controller.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/chromeos/ui/accessibility_focus_ring_controller.cc b/chrome/browser/chromeos/ui/accessibility_focus_ring_controller.cc index 8aa57a5..9b9aa4e 100644 --- a/chrome/browser/chromeos/ui/accessibility_focus_ring_controller.cc +++ b/chrome/browser/chromeos/ui/accessibility_focus_ring_controller.cc @@ -62,7 +62,7 @@ void AccessibilityFocusRingController::Update() { layers_.resize(rings_.size()); for (size_t i = 0; i < rings_.size(); ++i) { if (!layers_[i]) - layers_[i].reset(new AccessibilityFocusRingLayer(this)); + layers_[i] = new AccessibilityFocusRingLayer(this); if (i > 0) { // Focus rings other than the first one don't animate. |