Changeset 276685 in webkit
- Timestamp:
- Apr 27, 2021, 5:54:42 PM (5 years ago)
- Location:
- branches/safari-611-branch/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
fileapi/BlobURL.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/safari-611-branch/Source/WebCore/ChangeLog
r276668 r276685 1 2021-04-27 Alan Coon <alancoon@apple.com> 2 3 Added blobOwner declaration from trac.webkit.org/r276230. 4 1 5 2021-04-27 Russell Epstein <repstein@apple.com> 2 6 -
branches/safari-611-branch/Source/WebCore/fileapi/BlobURL.cpp
r276665 r276685 53 53 } 54 54 55 static const Document* blobOwner(const SecurityOrigin& blobOrigin) 56 { 57 if (!isMainThread()) 58 return nullptr; 59 60 for (const auto* document : Document::allDocuments()) { 61 if (&document->securityOrigin() == &blobOrigin) 62 return document; 63 } 64 return nullptr; 65 } 66 55 67 String BlobURL::getOrigin(const URL& url) 56 68 {
Note:
See TracChangeset
for help on using the changeset viewer.