Index: third_party/WebKit/Source/modules/filesystem/DOMFilePath.cpp |
diff --git a/third_party/WebKit/Source/modules/filesystem/DOMFilePath.cpp b/third_party/WebKit/Source/modules/filesystem/DOMFilePath.cpp |
index 6cfa612c312c9abb2d024c6b5f1f053bc62ec916..5c7ce69dff69b4849d4520be94131f85ded4bc15 100644 |
--- a/third_party/WebKit/Source/modules/filesystem/DOMFilePath.cpp |
+++ b/third_party/WebKit/Source/modules/filesystem/DOMFilePath.cpp |
@@ -66,8 +66,8 @@ String DOMFilePath::GetDirectory(const String& path) { |
} |
bool DOMFilePath::IsParentOf(const String& parent, const String& may_be_child) { |
- ASSERT(DOMFilePath::IsAbsolute(parent)); |
- ASSERT(DOMFilePath::IsAbsolute(may_be_child)); |
+ DCHECK(DOMFilePath::IsAbsolute(parent)); |
+ DCHECK(DOMFilePath::IsAbsolute(may_be_child)); |
if (parent == DOMFilePath::kRoot && may_be_child != DOMFilePath::kRoot) |
return true; |
if (parent.length() >= may_be_child.length() || |
@@ -79,7 +79,7 @@ bool DOMFilePath::IsParentOf(const String& parent, const String& may_be_child) { |
} |
String DOMFilePath::RemoveExtraParentReferences(const String& path) { |
- ASSERT(DOMFilePath::IsAbsolute(path)); |
+ DCHECK(DOMFilePath::IsAbsolute(path)); |
Vector<String> components; |
Vector<String> canonicalized; |
path.Split(DOMFilePath::kSeparator, components); |