Index: chrome/browser/chrome_plugin_host.cc |
=================================================================== |
--- chrome/browser/chrome_plugin_host.cc (revision 27591) |
+++ chrome/browser/chrome_plugin_host.cc (working copy) |
@@ -367,14 +367,11 @@ |
// Allows InvokeLater without adding refcounting. The object is only deleted |
// when its last InvokeLater is run anyway. |
-template<> |
-void RunnableMethodTraits<ModelessHtmlDialogDelegate>::RetainCallee( |
- ModelessHtmlDialogDelegate* remover) { |
-} |
-template<> |
-void RunnableMethodTraits<ModelessHtmlDialogDelegate>::ReleaseCallee( |
- ModelessHtmlDialogDelegate* remover) { |
-} |
+template <> |
+struct RunnableMethodTraits<ModelessHtmlDialogDelegate> { |
+ void RetainCallee(ModelessHtmlDialogDelegate*) {} |
+ void ReleaseCallee(ModelessHtmlDialogDelegate*) {} |
+}; |
namespace { |