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

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

Issue 2610903002: Replace [CallWith=ExecutionContext] with [CallWith=ScriptState] (Closed)
Patch Set: Created 3 years, 11 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: third_party/WebKit/Source/modules/filesystem/HTMLInputElementFileSystem.cpp
diff --git a/third_party/WebKit/Source/modules/filesystem/HTMLInputElementFileSystem.cpp b/third_party/WebKit/Source/modules/filesystem/HTMLInputElementFileSystem.cpp
index b9d8cab2e235d7a0870dd010a33016aacec91677..ca6255b5c065b86a78f56d1dfe176c955a1eb50e 100644
--- a/third_party/WebKit/Source/modules/filesystem/HTMLInputElementFileSystem.cpp
+++ b/third_party/WebKit/Source/modules/filesystem/HTMLInputElementFileSystem.cpp
@@ -30,6 +30,7 @@
#include "modules/filesystem/HTMLInputElementFileSystem.h"
+#include "bindings/core/v8/ScriptState.h"
#include "core/fileapi/FileList.h"
#include "core/html/HTMLInputElement.h"
#include "modules/filesystem/DOMFilePath.h"
@@ -44,7 +45,7 @@ namespace blink {
// static
EntryHeapVector HTMLInputElementFileSystem::webkitEntries(
- ExecutionContext* executionContext,
+ ScriptState* scriptState,
HTMLInputElement& input) {
EntryHeapVector entries;
FileList* files = input.files();
@@ -53,7 +54,7 @@ EntryHeapVector HTMLInputElementFileSystem::webkitEntries(
return entries;
DOMFileSystem* filesystem = DOMFileSystem::createIsolatedFileSystem(
- executionContext, input.droppedFileSystemId());
+ scriptState->getExecutionContext(), input.droppedFileSystemId());
if (!filesystem) {
// Drag-drop isolated filesystem is not available.
return entries;

Powered by Google App Engine
This is Rietveld 408576698