commit | 1a190384a53efaef2bea3a2ee0033b69cf629c6d | [log] [tgz] |
---|---|---|
author | Takuto Ikuta <tikuta@chromium.org> | Wed Dec 05 14:13:47 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Dec 05 14:13:47 2018 |
tree | 0c0df8f2c5dfab80287ba7f492c01d7f4e7e116e | |
parent | 1e388b0752dd47ca0f5c7168127d9824af9b6d0b [diff] |
[bindings] add GetWrapperTypeInfo() to v8 bindings class Currently, v8 binding class has wrapper_type_info static member variable. And v8_window.cc and v8_window_partial.cc refer many of them. These 2 C++ files include many header files for wrapper_type_info and it causes long compile time. * 23.2s for v8_window_partial.cc * 22.0s for v8_window.cc In this CL, I introduced global variable for wrapper_type_info with constexpr static member function to get wrapper_type_info in each binding interface. I will use forward declaration of global wrapper_type_info variable in other CL to remove many of header includes. This is preparation for that. Bug: 912017 Change-Id: I8598e2b42c22de503b1524f2b81457f7ed19cc4f Reviewed-on: https://chromium-review.googlesource.com/c/1360495 Reviewed-by: Yuki Shiino <yukishiino@chromium.org> Reviewed-by: Kentaro Hara <haraken@chromium.org> Reviewed-by: Hitoshi Yoshida <peria@chromium.org> Commit-Queue: Takuto Ikuta <tikuta@chromium.org> Cr-Commit-Position: refs/heads/master@{#613959}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .