 76c5f5cc8a
			
		
	
	
	
	
	76c5f5cc8aIn the GN build, libchromiumcontent is no longer a distinct library, but merely a container for a set of scripts and patches. Maintaining those patches in a separate repository is tedious and error-prone, so merge them into the main repo. Once this is merged and GN is the default way to build Electron, the libchromiumcontent repository can be archived.
		
			
				
	
	
		
			26 lines
		
	
	
	
		
			1.1 KiB
			
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
	
		
			1.1 KiB
			
		
	
	
	
		
			Diff
		
	
	
	
	
	
| diff --git a/third_party/blink/renderer/core/fileapi/file.h b/third_party/blink/renderer/core/fileapi/file.h
 | |
| index 0bfe29512050..81439f7ab8f7 100644
 | |
| --- a/third_party/blink/renderer/core/fileapi/file.h
 | |
| +++ b/third_party/blink/renderer/core/fileapi/file.h
 | |
| @@ -170,6 +170,9 @@ class CORE_EXPORT File final : public Blob {
 | |
|    }
 | |
|    const String& name() const { return name_; }
 | |
|  
 | |
| +  // Getter for the path IDL attribute.
 | |
| +  const String& path() const { return GetPath(); }
 | |
| +
 | |
|    // Getter for the lastModified IDL attribute,
 | |
|    // http://dev.w3.org/2006/webapi/FileAPI/#file-attrs
 | |
|    long long lastModified() const;
 | |
| diff --git a/third_party/blink/renderer/core/fileapi/file.idl b/third_party/blink/renderer/core/fileapi/file.idl
 | |
| index df954bc8f818..4683b2853bb4 100644
 | |
| --- a/third_party/blink/renderer/core/fileapi/file.idl
 | |
| +++ b/third_party/blink/renderer/core/fileapi/file.idl
 | |
| @@ -32,6 +32,7 @@
 | |
|      Exposed=(Window,Worker)
 | |
|  ] interface File : Blob {
 | |
|      readonly attribute DOMString name;
 | |
| +    readonly attribute DOMString path;
 | |
|      readonly attribute long long lastModified;
 | |
|  
 | |
|      // Non-standard APIs
 |