| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 EntrySync* EntrySync::getParent() const | 81 EntrySync* EntrySync::getParent() const |
| 82 { | 82 { |
| 83 // Sync verion of getParent doesn't throw exceptions. | 83 // Sync verion of getParent doesn't throw exceptions. |
| 84 String parentPath = DOMFilePath::getDirectory(fullPath()); | 84 String parentPath = DOMFilePath::getDirectory(fullPath()); |
| 85 return DirectoryEntrySync::create(m_fileSystem, parentPath); | 85 return DirectoryEntrySync::create(m_fileSystem, parentPath); |
| 86 } | 86 } |
| 87 | 87 |
| 88 EntrySync::EntrySync(DOMFileSystemBase* fileSystem, const String& fullPath) | 88 EntrySync::EntrySync(DOMFileSystemBase* fileSystem, const String& fullPath) |
| 89 : EntryBase(fileSystem, fullPath) | 89 : EntryBase(fileSystem, fullPath) |
| 90 { | 90 { |
| 91 ScriptWrappable::init(this); | |
| 92 } | 91 } |
| 93 | 92 |
| 94 void EntrySync::trace(Visitor* visitor) | 93 void EntrySync::trace(Visitor* visitor) |
| 95 { | 94 { |
| 96 EntryBase::trace(visitor); | 95 EntryBase::trace(visitor); |
| 97 } | 96 } |
| 98 | 97 |
| 99 } | 98 } |
| OLD | NEW |