Index: third_party/WebKit/Source/modules/exported/WebDOMFileSystem.cpp |
diff --git a/third_party/WebKit/Source/web/WebDOMFileSystem.cpp b/third_party/WebKit/Source/modules/exported/WebDOMFileSystem.cpp |
similarity index 99% |
rename from third_party/WebKit/Source/web/WebDOMFileSystem.cpp |
rename to third_party/WebKit/Source/modules/exported/WebDOMFileSystem.cpp |
index 0b13c005450c1668191772610462135a6194b0ff..a5b49fbe74bb72ab40829ddcee948ff831a00c0c 100644 |
--- a/third_party/WebKit/Source/web/WebDOMFileSystem.cpp |
+++ b/third_party/WebKit/Source/modules/exported/WebDOMFileSystem.cpp |
@@ -132,9 +132,10 @@ v8::Local<v8::Value> WebDOMFileSystem::CreateV8Entry( |
DCHECK(creation_context->CreationContext() == isolate->GetCurrentContext()); |
if (!private_.Get()) |
return v8::Local<v8::Value>(); |
- if (entry_type == kEntryTypeDirectory) |
+ if (entry_type == kEntryTypeDirectory) { |
return ToV8(DirectoryEntry::Create(private_.Get(), path), |
isolate->GetCurrentContext()->Global(), isolate); |
+ } |
DCHECK_EQ(entry_type, kEntryTypeFile); |
return ToV8(FileEntry::Create(private_.Get(), path), |
isolate->GetCurrentContext()->Global(), isolate); |