| Index: chromeos/dbus/ibus/ibus_panel_service.cc
|
| diff --git a/chromeos/dbus/ibus/ibus_panel_service.cc b/chromeos/dbus/ibus/ibus_panel_service.cc
|
| index adc6fad7da52b4bbe9f8445d49827db4c6f1f94e..0a585b6807e1296027f470d6bdf9c0bcbe98dc29 100644
|
| --- a/chromeos/dbus/ibus/ibus_panel_service.cc
|
| +++ b/chromeos/dbus/ibus/ibus_panel_service.cc
|
| @@ -211,8 +211,7 @@ class IBusPanelServiceImpl : public IBusPanelService {
|
| return;
|
| }
|
| candidate_window_handler_->UpdateLookupTable(table, visible);
|
| - dbus::Response* response = dbus::Response::FromMethodCall(method_call);
|
| - response_sender.Run(response);
|
| + response_sender.Run(dbus::Response::FromMethodCall(method_call));
|
| }
|
|
|
| // Handles HideLookupTable method call from ibus-daemon.
|
| @@ -222,8 +221,7 @@ class IBusPanelServiceImpl : public IBusPanelService {
|
| return;
|
|
|
| candidate_window_handler_->HideLookupTable();
|
| - dbus::Response* response = dbus::Response::FromMethodCall(method_call);
|
| - response_sender.Run(response);
|
| + response_sender.Run(dbus::Response::FromMethodCall(method_call));
|
| }
|
|
|
| // Handles UpdateAuxiliaryText method call from ibus-daemon.
|
| @@ -247,8 +245,7 @@ class IBusPanelServiceImpl : public IBusPanelService {
|
| return;
|
| }
|
| candidate_window_handler_->UpdateAuxiliaryText(text, visible);
|
| - dbus::Response* response = dbus::Response::FromMethodCall(method_call);
|
| - response_sender.Run(response);
|
| + response_sender.Run(dbus::Response::FromMethodCall(method_call));
|
| }
|
|
|
| // Handles HideAuxiliaryText method call from ibus-daemon.
|
| @@ -258,8 +255,7 @@ class IBusPanelServiceImpl : public IBusPanelService {
|
| return;
|
|
|
| candidate_window_handler_->HideAuxiliaryText();
|
| - dbus::Response* response = dbus::Response::FromMethodCall(method_call);
|
| - response_sender.Run(response);
|
| + response_sender.Run(dbus::Response::FromMethodCall(method_call));
|
| }
|
|
|
| // Handles UpdatePreeditText method call from ibus-daemon.
|
| @@ -288,8 +284,7 @@ class IBusPanelServiceImpl : public IBusPanelService {
|
| return;
|
| }
|
| candidate_window_handler_->UpdatePreeditText(text, cursor_pos, visible);
|
| - dbus::Response* response = dbus::Response::FromMethodCall(method_call);
|
| - response_sender.Run(response);
|
| + response_sender.Run(dbus::Response::FromMethodCall(method_call));
|
| }
|
|
|
| // Handles HidePreeditText method call from ibus-daemon.
|
| @@ -299,8 +294,7 @@ class IBusPanelServiceImpl : public IBusPanelService {
|
| return;
|
|
|
| candidate_window_handler_->HidePreeditText();
|
| - dbus::Response* response = dbus::Response::FromMethodCall(method_call);
|
| - response_sender.Run(response);
|
| + response_sender.Run(dbus::Response::FromMethodCall(method_call));
|
| }
|
|
|
| // Handles RegisterProperties method call from ibus-daemon.
|
| @@ -319,8 +313,7 @@ class IBusPanelServiceImpl : public IBusPanelService {
|
| }
|
| property_handler_->RegisterProperties(properties);
|
|
|
| - dbus::Response* response = dbus::Response::FromMethodCall(method_call);
|
| - response_sender.Run(response);
|
| + response_sender.Run(dbus::Response::FromMethodCall(method_call));
|
| }
|
|
|
| // Handles UpdateProperty method call from ibus-daemon.
|
| @@ -338,8 +331,7 @@ class IBusPanelServiceImpl : public IBusPanelService {
|
| }
|
| property_handler_->UpdateProperty(property);
|
|
|
| - dbus::Response* response = dbus::Response::FromMethodCall(method_call);
|
| - response_sender.Run(response);
|
| + response_sender.Run(dbus::Response::FromMethodCall(method_call));
|
| }
|
|
|
| void SetCursorLocation(const ibus::Rect& cursor_location,
|
| @@ -356,8 +348,7 @@ class IBusPanelServiceImpl : public IBusPanelService {
|
| if (!property_handler_)
|
| return;
|
|
|
| - dbus::Response* response = dbus::Response::FromMethodCall(method_call);
|
| - response_sender.Run(response);
|
| + response_sender.Run(dbus::Response::FromMethodCall(method_call));
|
| }
|
|
|
| // Called when the method call is exported.
|
|
|