| Index: content/renderer/context_menu_params_builder.cc
|
| diff --git a/content/renderer/context_menu_params_builder.cc b/content/renderer/context_menu_params_builder.cc
|
| index 63dcd4d1e7b6b3c5b903b9dac8906f4e88882da2..5680b850a23b457280532402bad3846c102a9a1d 100644
|
| --- a/content/renderer/context_menu_params_builder.cc
|
| +++ b/content/renderer/context_menu_params_builder.cc
|
| @@ -5,6 +5,7 @@
|
| #include "content/renderer/context_menu_params_builder.h"
|
|
|
| #include "base/logging.h"
|
| +#include "content/child/weburlresponse_extradata_impl.h"
|
| #include "content/common/ssl_status_serialization.h"
|
| #include "content/public/common/context_menu_params.h"
|
| #include "content/renderer/dom_utils.h"
|
| @@ -43,6 +44,12 @@ ContextMenuParams ContextMenuParamsBuilder::Build(
|
| params.referrer_policy = data.referrerPolicy;
|
| params.suggested_filename = data.suggestedFilename;
|
|
|
| + if (data.imageResponseExtraData) {
|
| + params.image_was_fetched_lo_fi =
|
| + static_cast<WebURLResponseExtraDataImpl*>(data.imageResponseExtraData)->
|
| + was_fetched_lo_fi();
|
| + }
|
| +
|
| for (size_t i = 0; i < data.dictionarySuggestions.size(); ++i)
|
| params.dictionary_suggestions.push_back(data.dictionarySuggestions[i]);
|
|
|
|
|