| Index: extensions/browser/content_hash_reader.cc
|
| diff --git a/extensions/browser/content_hash_reader.cc b/extensions/browser/content_hash_reader.cc
|
| index 76c7e606126e5d71d82cfe220123c77edaccf261..499587b0874de792c80d4daea8c7ed26ca695e98 100644
|
| --- a/extensions/browser/content_hash_reader.cc
|
| +++ b/extensions/browser/content_hash_reader.cc
|
| @@ -53,7 +53,7 @@ bool ContentHashReader::Init() {
|
|
|
| // Check that this is a valid resource to verify (i.e., it exists).
|
| base::FilePath content_path = extension_root_.Append(relative_path_);
|
| - if (!base::PathExists(content_path))
|
| + if (!base::PathExists(content_path) || base::DirectoryExists(content_path))
|
| return false;
|
|
|
| content_exists_ = true;
|
|
|