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

Unified Diff: third_party/WebKit/Source/core/html/FormData.cpp

Issue 2811863002: Move ScriptState::GetExecutionContext (Part 4) (Closed)
Patch Set: Fix Document.cpp 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/core/html/FormData.cpp
diff --git a/third_party/WebKit/Source/core/html/FormData.cpp b/third_party/WebKit/Source/core/html/FormData.cpp
index ddd0b67593a07ab7dfd5ecac9e3fa9ffb90019da..e3eb0c833694d89de460542c18da5fa64c559175 100644
--- a/third_party/WebKit/Source/core/html/FormData.cpp
+++ b/third_party/WebKit/Source/core/html/FormData.cpp
@@ -31,6 +31,7 @@
#include "core/html/FormData.h"
#include "bindings/core/v8/ScriptState.h"
+#include "core/dom/ExecutionContext.h"
#include "core/fileapi/Blob.h"
#include "core/fileapi/File.h"
#include "core/frame/UseCounter.h"
@@ -106,7 +107,7 @@ void FormData::append(ScriptState* script_state,
Blob* blob,
const String& filename) {
if (!blob) {
- UseCounter::Count(script_state->GetExecutionContext(),
+ UseCounter::Count(ExecutionContext::From(script_state),
UseCounter::kFormDataAppendNull);
}
append(name, blob, filename);
« no previous file with comments | « third_party/WebKit/Source/core/frame/History.cpp ('k') | third_party/WebKit/Source/core/imagebitmap/ImageBitmapFactories.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698