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

Unified Diff: third_party/WebKit/Source/core/fileapi/Blob.cpp

Issue 2811863002: Move ScriptState::GetExecutionContext (Part 4) (Closed)
Patch Set: 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/fileapi/Blob.cpp
diff --git a/third_party/WebKit/Source/core/fileapi/Blob.cpp b/third_party/WebKit/Source/core/fileapi/Blob.cpp
index be88e5c3e24067e26dfb1062b3421ac85fda4696..051b8ae8e35ec6f2b4ccfb9765d6b88e5fd09a66 100644
--- a/third_party/WebKit/Source/core/fileapi/Blob.cpp
+++ b/third_party/WebKit/Source/core/fileapi/Blob.cpp
@@ -201,7 +201,7 @@ void Blob::close(ScriptState* script_state, ExceptionState& exception_state) {
// Dereferencing a Blob that has been closed should result in
// a network error. Revoke URLs registered against it through
// its UUID.
- DOMURL::RevokeObjectUUID(script_state->GetExecutionContext(), Uuid());
+ DOMURL::RevokeObjectUUID(ExecutionContext::From(script_state), Uuid());
// A Blob enters a 'readability state' of closed, where it will report its
// size as zero. Blob and FileReader operations now throws on

Powered by Google App Engine
This is Rietveld 408576698