Merge pull request #8607 from electron/fix-win32-link

Fix missing of symbols when linking win32 build
This commit is contained in:
Kevin Sawicki 2017-02-06 16:41:22 -08:00 committed by GitHub
commit e6fe2a93f2

View file

@ -24,6 +24,8 @@ void ReferenceSymbols() {
// for some reason, adding them to ForceSymbolReferences does not work,
// probably because of VC++ bugs.
v8::TracingCpuProfiler::Create(nullptr);
reinterpret_cast<v8_inspector::V8InspectorSession*>(nullptr)->
canDispatchMethod(v8_inspector::StringView());
reinterpret_cast<v8_inspector::V8InspectorClient*>(nullptr)->unmuteMetrics(0);
}