| Index: content/browser/intents/intent_injector.cc
|
| diff --git a/content/browser/intents/intent_injector.cc b/content/browser/intents/intent_injector.cc
|
| index 664576072f74d178c5666772a73fcb13cb243c18..d76cd6449e92fa9d7adecbb033669eb6fd8276b8 100644
|
| --- a/content/browser/intents/intent_injector.cc
|
| +++ b/content/browser/intents/intent_injector.cc
|
| @@ -82,7 +82,9 @@ void IntentInjector::RenderViewCreated(RenderViewHost* render_view_host) {
|
| return;
|
| }
|
|
|
| - if (source_intent_->data_type == webkit_glue::WebIntentData::BLOB) {
|
| + if (source_intent_->data_type == webkit_glue::WebIntentData::BLOB ||
|
| + (source_intent_->data_type == webkit_glue::WebIntentData::MIME_TYPE &&
|
| + !source_intent_->blob_file.empty())) {
|
| // Grant read permission on the blob file to the delivered context.
|
| const int child_id = render_view_host->GetProcess()->GetID();
|
| ChildProcessSecurityPolicy* policy =
|
|
|