| Index: third_party/WebKit/Source/modules/filesystem/FileSystemCallbacks.cpp
|
| diff --git a/third_party/WebKit/Source/modules/filesystem/FileSystemCallbacks.cpp b/third_party/WebKit/Source/modules/filesystem/FileSystemCallbacks.cpp
|
| index b88517d57b02c90ab6f93b61a61eb835ad138b49..6ad946a7b173e9de25a0533680ed891def5d671b 100644
|
| --- a/third_party/WebKit/Source/modules/filesystem/FileSystemCallbacks.cpp
|
| +++ b/third_party/WebKit/Source/modules/filesystem/FileSystemCallbacks.cpp
|
| @@ -72,7 +72,7 @@ FileSystemCallbacksBase::~FileSystemCallbacksBase()
|
| void FileSystemCallbacksBase::didFail(int code)
|
| {
|
| if (m_errorCallback)
|
| - handleEventOrScheduleCallback(m_errorCallback.release(), FileError::create(static_cast<FileError::ErrorCode>(code)));
|
| + handleEventOrScheduleCallback(m_errorCallback.release(), static_cast<FileError::ErrorCode>(code));
|
| }
|
|
|
| bool FileSystemCallbacksBase::shouldScheduleCallback() const
|
| @@ -81,7 +81,7 @@ bool FileSystemCallbacksBase::shouldScheduleCallback() const
|
| }
|
|
|
| template <typename CB, typename CBArg>
|
| -void FileSystemCallbacksBase::handleEventOrScheduleCallback(CB* callback, CBArg* arg)
|
| +void FileSystemCallbacksBase::handleEventOrScheduleCallback(CB* callback, CBArg arg)
|
| {
|
| ASSERT(callback);
|
| if (shouldScheduleCallback())
|
| @@ -201,7 +201,7 @@ void ResolveURICallbacks::didResolveURL(const String& name, const KURL& rootURL,
|
|
|
| String absolutePath;
|
| if (!DOMFileSystemBase::pathToAbsolutePath(type, root, filePath, absolutePath)) {
|
| - handleEventOrScheduleCallback(m_errorCallback.release(), FileError::create(FileError::INVALID_MODIFICATION_ERR));
|
| + handleEventOrScheduleCallback(m_errorCallback.release(), FileError::INVALID_MODIFICATION_ERR);
|
| return;
|
| }
|
|
|
|
|