Chromium Code Reviews| Index: ash/host/ash_window_tree_host_unified.cc |
| diff --git a/ash/host/ash_window_tree_host_unified.cc b/ash/host/ash_window_tree_host_unified.cc |
| index 0fcb4b3ef2e7dd818075f9854e8e85cd5ea27298..2d75703a4f4586b5968f6986062667ae66fc46ef 100644 |
| --- a/ash/host/ash_window_tree_host_unified.cc |
| +++ b/ash/host/ash_window_tree_host_unified.cc |
| @@ -28,8 +28,6 @@ class UnifiedEventTargeter : public aura::WindowTargeter { |
| ui::LocatedEvent* located_event = static_cast<ui::LocatedEvent*>(event); |
| located_event->ConvertLocationToTarget( |
| static_cast<aura::Window*>(nullptr), dst_root_); |
| - located_event->UpdateForRootTransform( |
| - dst_root_->GetHost()->GetRootTransform()); |
|
oshima
2015/07/29 20:20:52
Event transform is handled in WindowEventDispatche
|
| } |
| ignore_result( |
| dst_root_->GetHost()->event_processor()->OnEventFromSource(event)); |
| @@ -122,8 +120,6 @@ gfx::Rect AshWindowTreeHostUnified::GetBounds() const { |
| } |
| void AshWindowTreeHostUnified::SetBounds(const gfx::Rect& bounds) { |
| - if (bounds_.size() == bounds.size()) |
| - return; |
| bounds_.set_size(bounds.size()); |
| OnHostResized(bounds_.size()); |
| } |