diff options
Diffstat (limited to 'views/widget')
-rwxr-xr-x[-rw-r--r--] | views/widget/root_view_gtk.cc | 4 | ||||
-rwxr-xr-x[-rw-r--r--] | views/widget/root_view_win.cc | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/views/widget/root_view_gtk.cc b/views/widget/root_view_gtk.cc index 8f0c495..1225efe 100644..100755 --- a/views/widget/root_view_gtk.cc +++ b/views/widget/root_view_gtk.cc @@ -6,7 +6,7 @@ #include <gtk/gtk.h> -#include "app/gfx/canvas.h" +#include "app/gfx/canvas_paint.h" #include "base/logging.h" #include "views/widget/widget_gtk.h" @@ -15,7 +15,7 @@ namespace views { void RootView::OnPaint(GdkEventExpose* event) { gfx::CanvasPaint canvas(event); - if (!canvas.isEmpty()) { + if (!canvas.is_empty()) { canvas.set_composite_alpha( static_cast<WidgetGtk*>(GetWidget())->is_transparent()); SchedulePaint(gfx::Rect(canvas.rectangle()), false); diff --git a/views/widget/root_view_win.cc b/views/widget/root_view_win.cc index f5b315cb..eddbb6e 100644..100755 --- a/views/widget/root_view_win.cc +++ b/views/widget/root_view_win.cc @@ -5,7 +5,7 @@ #include "views/widget/root_view.h" #include "app/drag_drop_types.h" -#include "app/gfx/canvas.h" +#include "app/gfx/canvas_paint.h" #include "base/base_drag_source.h" #include "base/logging.h" #include "views/widget/root_view_drop_target.h" |