Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(12)

Unified Diff: Source/modules/filesystem/HTMLInputElementFileSystem.cpp

Issue 188503002: Oilpan: add transition types to FileSystem APIs. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/modules/filesystem/HTMLInputElementFileSystem.cpp
diff --git a/Source/modules/filesystem/HTMLInputElementFileSystem.cpp b/Source/modules/filesystem/HTMLInputElementFileSystem.cpp
index 70ec48159308d8194967668b9451f2180773a1fa..375f5c1703a9205722262c8d8cba604a97a5a7f3 100644
--- a/Source/modules/filesystem/HTMLInputElementFileSystem.cpp
+++ b/Source/modules/filesystem/HTMLInputElementFileSystem.cpp
@@ -33,6 +33,7 @@
#include "core/fileapi/FileList.h"
#include "core/html/HTMLInputElement.h"
+#include "heap/Handle.h"
#include "modules/filesystem/DOMFilePath.h"
#include "modules/filesystem/DOMFileSystem.h"
#include "modules/filesystem/DirectoryEntry.h"
@@ -43,15 +44,15 @@
namespace WebCore {
// static
-EntryVector HTMLInputElementFileSystem::webkitEntries(ExecutionContext* executionContext, HTMLInputElement& input)
+EntryHeapVector HTMLInputElementFileSystem::webkitEntries(ExecutionContext* executionContext, HTMLInputElement& input)
{
- EntryVector entries;
+ EntryHeapVector entries;
FileList* files = input.files();
if (!files)
return entries;
- RefPtr<DOMFileSystem> filesystem = DOMFileSystem::createIsolatedFileSystem(executionContext, input.droppedFileSystemId());
+ RefPtrWillBeRawPtr<DOMFileSystem> filesystem = DOMFileSystem::createIsolatedFileSystem(executionContext, input.droppedFileSystemId());
if (!filesystem) {
// Drag-drop isolated filesystem is not available.
return entries;
« no previous file with comments | « Source/modules/filesystem/HTMLInputElementFileSystem.h ('k') | Source/modules/filesystem/InspectorFileSystemAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698