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

Unified Diff: views/window/window_gtk.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: views/window/window_gtk.cc
===================================================================
--- views/window/window_gtk.cc (revision 30814)
+++ views/window/window_gtk.cc (working copy)
@@ -326,7 +326,7 @@
non_client_view_->GetWindowMask(gfx::Size(allocation->width,
allocation->height),
&window_mask);
- GdkRegion* mask_region = window_mask.CreateGdkRegion();
+ GdkRegion* mask_region = window_mask.CreateNativeRegion();
gdk_window_shape_combine_region(GetNativeView()->window, mask_region, 0, 0);
if (mask_region)
gdk_region_destroy(mask_region);

Powered by Google App Engine
This is Rietveld 408576698