diff options
Diffstat (limited to 'chrome/browser')
-rw-r--r-- | chrome/browser/drag_utils.cc | 2 | ||||
-rw-r--r-- | chrome/browser/printing/printing_layout_uitest.cc | 2 | ||||
-rw-r--r-- | chrome/browser/render_widget_host.cc | 3 | ||||
-rw-r--r-- | chrome/browser/render_widget_host_hwnd.cc | 2 |
4 files changed, 5 insertions, 4 deletions
diff --git a/chrome/browser/drag_utils.cc b/chrome/browser/drag_utils.cc index 5499c26..f0be9be 100644 --- a/chrome/browser/drag_utils.cc +++ b/chrome/browser/drag_utils.cc @@ -9,7 +9,7 @@ #include <shobjidl.h> #include "base/file_util.h" -#include "base/gfx/bitmap_header.h" +#include "base/gfx/gdi_util.h" #include "base/gfx/point.h" #include "base/string_util.h" #include "chrome/app/theme/theme_resources.h" diff --git a/chrome/browser/printing/printing_layout_uitest.cc b/chrome/browser/printing/printing_layout_uitest.cc index 359237b..7299860 100644 --- a/chrome/browser/printing/printing_layout_uitest.cc +++ b/chrome/browser/printing/printing_layout_uitest.cc @@ -4,7 +4,7 @@ #include "base/command_line.h" #include "base/file_util.h" -#include "base/gfx/bitmap_header.h" +#include "base/gfx/gdi_util.h" #include "base/gfx/platform_device_win.h" #include "base/gfx/png_decoder.h" #include "base/gfx/png_encoder.h" diff --git a/chrome/browser/render_widget_host.cc b/chrome/browser/render_widget_host.cc index 449b194..2966b6c 100644 --- a/chrome/browser/render_widget_host.cc +++ b/chrome/browser/render_widget_host.cc @@ -4,7 +4,7 @@ #include "chrome/browser/render_widget_host.h" -#include "base/gfx/bitmap_header.h" +#include "base/gfx/gdi_util.h" #include "base/message_loop.h" #include "chrome/app/chrome_dll_resource.h" #include "chrome/browser/render_process_host.h" @@ -451,6 +451,7 @@ void RenderWidgetHost::MovePluginWindows( move.clip_rect.y(), move.clip_rect.right(), move.clip_rect.bottom()); + gfx::SubtractRectanglesFromRegion(hrgn, move.cutout_rects); // Note: System will own the hrgn after we call SetWindowRgn, // so we don't need to call DeleteObject(hrgn) diff --git a/chrome/browser/render_widget_host_hwnd.cc b/chrome/browser/render_widget_host_hwnd.cc index 3ed7b6d..bc49e62 100644 --- a/chrome/browser/render_widget_host_hwnd.cc +++ b/chrome/browser/render_widget_host_hwnd.cc @@ -5,7 +5,7 @@ #include "chrome/browser/render_widget_host_hwnd.h" #include "base/command_line.h" -#include "base/gfx/bitmap_header.h" +#include "base/gfx/gdi_util.h" #include "base/gfx/rect.h" #include "base/histogram.h" #include "base/win_util.h" |