| Index: base/gfx/gtk_util.cc
|
| ===================================================================
|
| --- base/gfx/gtk_util.cc (revision 12503)
|
| +++ base/gfx/gtk_util.cc (working copy)
|
| @@ -12,8 +12,11 @@
|
|
|
| namespace gfx {
|
|
|
| +const GdkColor kGdkWhite = GDK_COLOR_RGB(0xff, 0xff, 0xff);
|
| +const GdkColor kGdkBlack = GDK_COLOR_RGB(0x00, 0x00, 0x00);
|
| +
|
| void SubtractRectanglesFromRegion(GdkRegion* region,
|
| - const std::vector<gfx::Rect>& cutouts) {
|
| + const std::vector<Rect>& cutouts) {
|
| for (size_t i = 0; i < cutouts.size(); ++i) {
|
| GdkRectangle rect = cutouts[i].ToGdkRectangle();
|
| GdkRegion* rect_region = gdk_region_rectangle(&rect);
|
|
|