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

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

Issue 2821443002: Revert of Move ScriptState::GetExecutionContext (Part 5) (Closed)
Patch Set: Revert Created 3 years, 8 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 3ff1aa8247ab2bc08319bd16636af1dbb396998b..25c59c3c59d0b858ce365e0243a0cc58b9b9a55a 100644
--- a/third_party/WebKit/Source/modules/filesystem/HTMLInputElementFileSystem.cpp
+++ b/third_party/WebKit/Source/modules/filesystem/HTMLInputElementFileSystem.cpp
@@ -31,7 +31,6 @@
#include "modules/filesystem/HTMLInputElementFileSystem.h"
#include "bindings/core/v8/ScriptState.h"
-#include "core/dom/ExecutionContext.h"
#include "core/fileapi/FileList.h"
#include "core/html/HTMLInputElement.h"
#include "modules/filesystem/DOMFilePath.h"
@@ -55,7 +54,7 @@ EntryHeapVector HTMLInputElementFileSystem::webkitEntries(
return entries;
DOMFileSystem* filesystem = DOMFileSystem::CreateIsolatedFileSystem(
- ExecutionContext::From(script_state), input.DroppedFileSystemId());
+ script_state->GetExecutionContext(), input.DroppedFileSystemId());
if (!filesystem) {
// Drag-drop isolated filesystem is not available.
return entries;
« no previous file with comments | « third_party/WebKit/Source/modules/filesystem/Entry.cpp ('k') | third_party/WebKit/Source/modules/indexeddb/IDBFactory.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698