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

Unified Diff: chrome/browser/views/blocked_popup_container_view_views.cc

Issue 340077: Gets find bar animation/clipping to work on views/gtk. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 1 month 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: chrome/browser/views/blocked_popup_container_view_views.cc
===================================================================
--- chrome/browser/views/blocked_popup_container_view_views.cc (revision 30814)
+++ chrome/browser/views/blocked_popup_container_view_views.cc (working copy)
@@ -570,5 +570,5 @@
rect.set(0, 0, SkIntToScalar(size.width()), SkIntToScalar(size.height()));
gfx::Path path;
path.addRoundRect(rect, kRoundedCornerRad, SkPath::kCW_Direction);
- widget->SetShape(path);
+ widget->SetShape(path.CreateNativeRegion());
}

Powered by Google App Engine
This is Rietveld 408576698