mirror of
https://github.com/electron/electron.git
synced 2026-05-02 03:00:22 -04:00
chore: [gn] fix WTL include paths and namespace include (#13433)
As of libchromiumcontent#576, the WTL namespace isn't included by default in the GN build.
This commit is contained in:
@@ -6,7 +6,10 @@
|
||||
|
||||
#include <windows.h> // windows.h must be included first
|
||||
|
||||
#include <atlbase.h>
|
||||
#include <atlbase.h> // atlbase.h must be included before atlapp.h
|
||||
|
||||
#include <atlapp.h>
|
||||
#include <atldlgs.h>
|
||||
#include <commdlg.h>
|
||||
#include <shlobj.h>
|
||||
|
||||
@@ -20,8 +23,9 @@
|
||||
#include "base/threading/thread.h"
|
||||
#include "base/threading/thread_task_runner_handle.h"
|
||||
#include "base/win/registry.h"
|
||||
#include "third_party/wtl/include/atlapp.h"
|
||||
#include "third_party/wtl/include/atldlgs.h"
|
||||
|
||||
using WTL::CShellFileOpenDialog;
|
||||
using WTL::CShellFileSaveDialog;
|
||||
|
||||
namespace file_dialog {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user