Mac: Fix compile errors.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1109 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt 2013-02-26 00:28:38 +00:00
parent 116b6de654
commit 0ae0f6cd85
1 changed files with 1 additions and 2 deletions

View File

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