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

Unified Diff: third_party/WebKit/Source/modules/exported/WebDOMFileSystem.cpp

Issue 2874713002: Move many standalone files from web/ to (core|modules)/exported/. (Closed)
Patch Set: Rebase Created 3 years, 7 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/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);

Powered by Google App Engine
This is Rietveld 408576698