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

Unified Diff: third_party/WebKit/Source/bindings/modules/v8/serialization/V8ScriptValueSerializerForModules.cpp

Issue 2297043002: Web expose FileSystemFileEntry, FileSystemDirectoryEntry and friends (Closed)
Patch Set: Rebased Created 4 years, 1 month 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/bindings/modules/v8/serialization/V8ScriptValueSerializerForModules.cpp
diff --git a/third_party/WebKit/Source/bindings/modules/v8/serialization/V8ScriptValueSerializerForModules.cpp b/third_party/WebKit/Source/bindings/modules/v8/serialization/V8ScriptValueSerializerForModules.cpp
index 3106170c90bcb2c655835b4970ff7f97cb18aa79..812f77b2f0acf96e7c795f9bbdbe2d0224282df3 100644
--- a/third_party/WebKit/Source/bindings/modules/v8/serialization/V8ScriptValueSerializerForModules.cpp
+++ b/third_party/WebKit/Source/bindings/modules/v8/serialization/V8ScriptValueSerializerForModules.cpp
@@ -6,7 +6,7 @@
#include "bindings/core/v8/ScriptWrappable.h"
#include "bindings/modules/v8/V8CryptoKey.h"
-#include "bindings/modules/v8/V8DOMFileSystem.h"
+#include "bindings/modules/v8/V8FileSystem.h"
#include "bindings/modules/v8/V8RTCCertificate.h"
#include "bindings/modules/v8/serialization/WebCryptoSubTags.h"
#include "platform/FileSystemType.h"
@@ -32,14 +32,14 @@ bool V8ScriptValueSerializerForModules::writeDOMObject(
return writeCryptoKey(wrappable->toImpl<CryptoKey>()->key(),
exceptionState);
}
- if (wrapperTypeInfo == &V8DOMFileSystem::wrapperTypeInfo) {
- DOMFileSystem* fs = wrappable->toImpl<DOMFileSystem>();
+ if (wrapperTypeInfo == &V8FileSystem::wrapperTypeInfo) {
+ FileSystem* fs = wrappable->toImpl<FileSystem>();
if (!fs->clonable()) {
exceptionState.throwDOMException(
DataCloneError, "A FileSystem object could not be cloned.");
return false;
}
- writeTag(DOMFileSystemTag);
+ writeTag(FileSystemTag);
// This locks in the values of the FileSystemType enumerators.
writeUint32(static_cast<uint32_t>(fs->type()));
writeUTF8String(fs->name());

Powered by Google App Engine
This is Rietveld 408576698