Fix building on non-Windows

This commit is contained in:
Cheng Zhao 2016-07-27 19:55:05 +09:00
parent ac8a490d56
commit 242ce4f818

View file

@ -14,11 +14,9 @@
#if defined(OS_WIN) #if defined(OS_WIN)
#include "base/win/scoped_com_initializer.h" #include "base/win/scoped_com_initializer.h"
#include "base/win/shortcut.h" #include "base/win/shortcut.h"
#endif
namespace mate { namespace mate {
template<> template<>
struct Converter<base::win::ShortcutOperation> { struct Converter<base::win::ShortcutOperation> {
static bool FromV8(v8::Isolate* isolate, v8::Handle<v8::Value> val, static bool FromV8(v8::Isolate* isolate, v8::Handle<v8::Value> val,
@ -38,8 +36,8 @@ struct Converter<base::win::ShortcutOperation> {
} }
}; };
} // namespace mate } // namespace mate
#endif
namespace { namespace {