summaryrefslogtreecommitdiffstats
path: root/views/widget/root_view_gtk.cc
diff options
context:
space:
mode:
Diffstat (limited to 'views/widget/root_view_gtk.cc')
-rwxr-xr-x[-rw-r--r--]views/widget/root_view_gtk.cc4
1 files changed, 2 insertions, 2 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);