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

Unified Diff: ui/views/focus/focus_traversal_unittest.cc

Issue 2345183002: Views: Draw Textfield selected text in gray when top-level Widget loses focus.
Patch Set: Rebase. Created 4 years, 2 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
Index: ui/views/focus/focus_traversal_unittest.cc
diff --git a/ui/views/focus/focus_traversal_unittest.cc b/ui/views/focus/focus_traversal_unittest.cc
index 1bf6ebccd3aa234598892b4d3ca8a172515acc18..8f01dafa33a22fa2592efc7fa7bf9a5c030e0118 100644
--- a/ui/views/focus/focus_traversal_unittest.cc
+++ b/ui/views/focus/focus_traversal_unittest.cc
@@ -137,7 +137,7 @@ class BorderView : public NativeViewHost {
SetFocusBehavior(FocusBehavior::NEVER);
}
- ~BorderView() override {}
+ ~BorderView() override { widget_->CloseNow(); }
tapted 2016/10/27 00:53:42 an OWNER will probably ask why this was necessary.
Patti Lor 2016/10/30 23:26:04 Done.
virtual internal::RootView* GetContentsRootView() {
return static_cast<internal::RootView*>(widget_->GetRootView());

Powered by Google App Engine
This is Rietveld 408576698