Index: mojo/services/native_viewport/native_viewport_x11.cc |
diff --git a/mojo/services/native_viewport/native_viewport_x11.cc b/mojo/services/native_viewport/native_viewport_x11.cc |
index 766f4d2948a82e7da7853011a8fcf88d1b05be9c..d47e16afe191664f21fd689634cfb5524a68eaf8 100644 |
--- a/mojo/services/native_viewport/native_viewport_x11.cc |
+++ b/mojo/services/native_viewport/native_viewport_x11.cc |
@@ -7,7 +7,6 @@ |
#include <X11/Xlib.h> |
#include <X11/Xutil.h> |
-#include "base/command_line.h" |
#include "base/message_loop/message_loop.h" |
#include "ui/events/event.h" |
#include "ui/events/event_utils.h" |
@@ -134,7 +133,6 @@ |
case ButtonPress: |
case ButtonRelease: |
case MotionNotify: |
- case ConfigureNotify: |
return true; |
case ClientMessage: |
return event->xclient.message_type == atom_wm_protocols_; |
@@ -161,9 +159,6 @@ |
ui::MouseEvent mouse_event(event); |
delegate_->OnEvent(&mouse_event); |
} |
- } else if (event->type == ConfigureNotify) { |
- bounds_ = gfx::Rect(event->xconfigure.width, event->xconfigure.height); |
- delegate_->OnBoundsChanged(bounds_); |
} |
return ui::POST_DISPATCH_NONE; |
} |