mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Mac: Fix compile errors.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1109 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@@ -25,7 +25,6 @@
|
||||
#include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h"
|
||||
#include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h"
|
||||
#include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h"
|
||||
#include "ui/gfx/mac/nsimage_cache.h"
|
||||
#include "webkit/glue/webdropdata.h"
|
||||
|
||||
using base::SysNSStringToUTF8;
|
||||
@@ -307,7 +306,7 @@ void PromiseWriterHelper(const WebDropData& drop_data,
|
||||
base::FilePath fileName = downloadFileName_.empty() ?
|
||||
GetFileNameFromDragData(*dropData_) : downloadFileName_;
|
||||
base::FilePath filePath(SysNSStringToUTF8(path));
|
||||
base::filePath = filePath.Append(fileName);
|
||||
filePath = filePath.Append(fileName);
|
||||
|
||||
// CreateFileStreamForDrop() will call file_util::PathExists(),
|
||||
// which is blocking. Since this operation is already blocking the
|
||||
|
Reference in New Issue
Block a user