projects
/
platform
/
framework
/
web
/
crosswalk-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
079796d
)
Add converter for LPARAM
author
Cheng Zhao
<zcbenz@gmail.com>
Wed, 28 Oct 2015 11:43:05 +0000
(19:43 +0800)
committer
Cheng Zhao
<zcbenz@gmail.com>
Wed, 28 Oct 2015 11:43:05 +0000
(19:43 +0800)
atom/browser/api/atom_api_window.cc
patch
|
blob
|
history
diff --git
a/atom/browser/api/atom_api_window.cc
b/atom/browser/api/atom_api_window.cc
index 45b57f5307bed5b882b4f2c47511962bd4bfb2ea..5d0a501629f87d5de8762f331d3fd05b763a7a85 100644
(file)
--- a/
atom/browser/api/atom_api_window.cc
+++ b/
atom/browser/api/atom_api_window.cc
@@
-42,6
+42,14
@@
struct Converter<atom::TaskbarHost::ThumbarButton> {
}
};
+template<>
+struct Converter<LPARAM> {
+ static v8::Local<v8::Value> ToV8(v8::Isolate* isolate,
+ LPARAM val) {
+ return ConvertToV8(isolate, static_cast<int64_t>(val));
+ }
+};
+
} // namespace mate
#endif