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:
Jeremy Apthorp 2018-06-26 22:57:40 +02:00 committed by GitHub
parent 2d9a491771
commit 4b60efcaf8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 {