| Index: chrome/browser/gears_integration.cc
|
| ===================================================================
|
| --- chrome/browser/gears_integration.cc (revision 27386)
|
| +++ chrome/browser/gears_integration.cc (working copy)
|
| @@ -225,11 +225,14 @@
|
|
|
| // Allows InvokeLater without adding refcounting. The object is only deleted
|
| // when its last InvokeLater is run anyway.
|
| -template <>
|
| -struct RunnableMethodTraits<CreateShortcutCommand> {
|
| - void RetainCallee(CreateShortcutCommand*) {}
|
| - void ReleaseCallee(CreateShortcutCommand*) {}
|
| -};
|
| +template<>
|
| +void RunnableMethodTraits<CreateShortcutCommand>::RetainCallee(
|
| + CreateShortcutCommand* remover) {
|
| +}
|
| +template<>
|
| +void RunnableMethodTraits<CreateShortcutCommand>::ReleaseCallee(
|
| + CreateShortcutCommand* remover) {
|
| +}
|
|
|
| void GearsCreateShortcut(
|
| const webkit_glue::WebApplicationInfo& app_info,
|
| @@ -296,11 +299,14 @@
|
|
|
| // Allows InvokeLater without adding refcounting. The object is only deleted
|
| // when its last InvokeLater is run anyway.
|
| -template <>
|
| -struct RunnableMethodTraits<QueryShortcutsCommand> {
|
| - void RetainCallee(QueryShortcutsCommand*) {}
|
| - void ReleaseCallee(QueryShortcutsCommand*) {}
|
| -};
|
| +template<>
|
| +void RunnableMethodTraits<QueryShortcutsCommand>::RetainCallee(
|
| + QueryShortcutsCommand* remover) {
|
| +}
|
| +template<>
|
| +void RunnableMethodTraits<QueryShortcutsCommand>::ReleaseCallee(
|
| + QueryShortcutsCommand* remover) {
|
| +}
|
|
|
| void GearsQueryShortcuts(GearsQueryShortcutsCallback* callback) {
|
| CPHandleCommand(GEARSPLUGINCOMMAND_GET_SHORTCUT_LIST,
|
|
|