]> khamidou — GitHub mirrors - electron.git/commitdiff
Fix building on Windows
authorCheng Zhao <zcbenz@gmail.com>
Thu, 3 Sep 2015 12:07:29 +0000 (20:07 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Thu, 3 Sep 2015 12:07:29 +0000 (20:07 +0800)
atom/browser/net/asar/url_request_asar_job.cc
atom/browser/ui/file_dialog_win.cc
chromium_src/chrome/browser/printing/pdf_to_emf_converter.cc
chromium_src/chrome/common/chrome_utility_messages.h
script/lib/config.py

index 88195a0d7c7955a1ef3d683e3d2c25848e04ecb8..9b9a3c69d27fa41e7ebc09c6aaa9edc2074ae09c 100644 (file)
@@ -172,7 +172,7 @@ bool URLRequestAsarJob::IsRedirectResponse(GURL* location,
 #if defined(OS_WIN)
   // Follow a Windows shortcut.
   // We just resolve .lnk file, ignore others.
-  if (!LowerCaseEqualsASCII(file_path_.Extension(), ".lnk"))
+  if (!base::LowerCaseEqualsASCII(file_path_.Extension(), ".lnk"))
     return false;
 
   base::FilePath new_path = file_path_;
index 7fa68d521135810fbe3b6f4e6939110532fd5f1a..b169471c6e99d52bf3887616d8da8a7bdf96c1a6 100644 (file)
@@ -252,7 +252,7 @@ bool ShowSaveDialog(atom::NativeWindow* parent_window,
 
     bool matched = false;
     for (size_t i = 0; i < filter.second.size(); ++i) {
-      if (EndsWith(file_name, filter.second[i], false)) {
+      if (base::EndsWith(file_name, filter.second[i], false)) {
         matched = true;
         break;;
       }
index 89bac3b68dca5defe4fa5154d3b0072b96a63919..9064cd961bd54aa1e597d0ce0b5cdcfd0505efa5 100644 (file)
@@ -296,8 +296,7 @@ void PdfToEmfUtilityProcessHostClient::Start(
   // generate when sent to a metafile DC.
   utility_process_host_ =
       content::UtilityProcessHost::Create(
-          this, base::MessageLoop::current()->message_loop_proxy())
-          ->AsWeakPtr();
+          this, base::MessageLoop::current()->task_runner())->AsWeakPtr();
   if (!utility_process_host_)
     return OnFailed();
   // Should reply with OnProcessStarted().
index 1de0756c0d58ca4ed43aecbbb410720c1f28ed13..f146e1823e81cbe672d05da1e67d9aace7546446 100644 (file)
@@ -27,7 +27,7 @@
 #if defined(OS_WIN)
 // A vector of filters, each being a Tuple containing a display string (i.e.
 // "Text Files") and a filter pattern (i.e. "*.txt").
-typedef std::vector<Tuple<base::string16, base::string16>>
+typedef std::vector<base::Tuple<base::string16, base::string16>>
     GetOpenFileNameFilter;
 #endif  // OS_WIN
 
index 3292823091ab1586fb6743e80cf8266a4e351aa7..3fed12000b48c51d46177ee20b968e54c9eb98e5 100644 (file)
@@ -8,7 +8,7 @@ import sys
 
 BASE_URL = os.getenv('LIBCHROMIUMCONTENT_MIRROR') or \
     'http://github-janky-artifacts.s3.amazonaws.com/libchromiumcontent'
-LIBCHROMIUMCONTENT_COMMIT = '367552dc926aff4577e4743333922e7e6075c8e0'
+LIBCHROMIUMCONTENT_COMMIT = 'f5489a774b719e9e979675c17b99ed45a05aacf7'
 
 PLATFORM = {
   'cygwin': 'win32',