diff options
author | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-30 04:29:20 +0000 |
---|---|---|
committer | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-30 04:29:20 +0000 |
commit | 39fe32a42c9eab376aeefd1ae845085d8828c3ec (patch) | |
tree | a183411c44c9c958fd2f4ce05138c316158b94a1 /chrome/browser/gears_integration.cc | |
parent | 5924fb63dc581087092336c3449e80a24d848492 (diff) | |
download | chromium_src-39fe32a42c9eab376aeefd1ae845085d8828c3ec.zip chromium_src-39fe32a42c9eab376aeefd1ae845085d8828c3ec.tar.gz chromium_src-39fe32a42c9eab376aeefd1ae845085d8828c3ec.tar.bz2 |
Reverting 27389.
Review URL: http://codereview.chromium.org/246027
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27594 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gears_integration.cc')
-rw-r--r-- | chrome/browser/gears_integration.cc | 26 |
1 files changed, 10 insertions, 16 deletions
diff --git a/chrome/browser/gears_integration.cc b/chrome/browser/gears_integration.cc index 6805175..d7cf898 100644 --- a/chrome/browser/gears_integration.cc +++ b/chrome/browser/gears_integration.cc @@ -225,14 +225,11 @@ class CreateShortcutCommand : public CPCommandInterface { // Allows InvokeLater without adding refcounting. The object is only deleted // when its last InvokeLater is run anyway. -template<> -void RunnableMethodTraits<CreateShortcutCommand>::RetainCallee( - CreateShortcutCommand* remover) { -} -template<> -void RunnableMethodTraits<CreateShortcutCommand>::ReleaseCallee( - CreateShortcutCommand* remover) { -} +template <> +struct RunnableMethodTraits<CreateShortcutCommand> { + void RetainCallee(CreateShortcutCommand*) {} + void ReleaseCallee(CreateShortcutCommand*) {} +}; void GearsCreateShortcut( const webkit_glue::WebApplicationInfo& app_info, @@ -299,14 +296,11 @@ class QueryShortcutsCommand : public CPCommandInterface { // Allows InvokeLater without adding refcounting. The object is only deleted // when its last InvokeLater is run anyway. -template<> -void RunnableMethodTraits<QueryShortcutsCommand>::RetainCallee( - QueryShortcutsCommand* remover) { -} -template<> -void RunnableMethodTraits<QueryShortcutsCommand>::ReleaseCallee( - QueryShortcutsCommand* remover) { -} +template <> +struct RunnableMethodTraits<QueryShortcutsCommand> { + void RetainCallee(QueryShortcutsCommand*) {} + void ReleaseCallee(QueryShortcutsCommand*) {} +}; void GearsQueryShortcuts(GearsQueryShortcutsCallback* callback) { CPHandleCommand(GEARSPLUGINCOMMAND_GET_SHORTCUT_LIST, |