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

Unified Diff: chrome/browser/ui/views/find_bar_host.cc

Issue 547673003: Don't use SetShape() to round the Findbar views widget corners. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 | « chrome/browser/ui/views/dropdown_bar_host.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/find_bar_host.cc
diff --git a/chrome/browser/ui/views/find_bar_host.cc b/chrome/browser/ui/views/find_bar_host.cc
index 636e58726c2fb1736977c6a279beea45a46c80e7..cdec6d827671889443ce4be7aeeb8c39893b1c0d 100644
--- a/chrome/browser/ui/views/find_bar_host.cc
+++ b/chrome/browser/ui/views/find_bar_host.cc
@@ -311,11 +311,6 @@ void FindBarHost::SetDialogPosition(const gfx::Rect& new_pos, bool no_redraw) {
if (new_pos.IsEmpty())
return;
- // Make sure the window edges are clipped to just the visible region. We need
- // to do this before changing position, so that when we animate the closure
- // of it it doesn't look like the window crumbles into the toolbar.
- UpdateWindowEdges(new_pos);
-
SetWidgetPositionNative(new_pos, no_redraw);
// Tell the immersive mode controller about the find bar's new bounds. The
« no previous file with comments | « chrome/browser/ui/views/dropdown_bar_host.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698