Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / ui / aura / window_targeter.cc
index d5c9393..7303e22 100644 (file)
@@ -49,8 +49,9 @@ ui::EventTarget* WindowTargeter::FindTargetForEvent(ui::EventTarget* root,
       located_event->UpdateForRootTransform(
           new_root->GetHost()->GetRootTransform());
     }
-    ui::EventDispatchDetails details ALLOW_UNUSED =
-        new_root->GetHost()->event_processor()->OnEventFromSource(event);
+    ignore_result(
+        new_root->GetHost()->event_processor()->OnEventFromSource(event));
+
     target = NULL;
   }
   return target;
@@ -103,10 +104,6 @@ ui::EventTarget* WindowTargeter::FindTargetForLocatedEvent(
 Window* WindowTargeter::FindTargetForKeyEvent(Window* window,
                                               const ui::KeyEvent& key) {
   Window* root_window = window->GetRootWindow();
-  if (key.key_code() == ui::VKEY_UNKNOWN &&
-      (key.flags() & ui::EF_IME_FABRICATED_KEY) == 0 &&
-      key.GetCharacter() == 0)
-    return NULL;
   client::FocusClient* focus_client = client::GetFocusClient(root_window);
   Window* focused_window = focus_client->GetFocusedWindow();
   if (!focused_window)