| Index: chrome/browser/ui/tab_contents/core_tab_helper.cc
|
| diff --git a/chrome/browser/ui/tab_contents/core_tab_helper.cc b/chrome/browser/ui/tab_contents/core_tab_helper.cc
|
| index 0e52c8dc14589e30a60777fd86bccb0cfafae8d3..efafe7bee3d84b4b806ea6fb00d4bee409e4217a 100644
|
| --- a/chrome/browser/ui/tab_contents/core_tab_helper.cc
|
| +++ b/chrome/browser/ui/tab_contents/core_tab_helper.cc
|
| @@ -244,6 +244,7 @@ bool CoreTabHelper::OnMessageReceived(
|
| // request based on the received thumbnail and opens the request in a new tab.
|
| void CoreTabHelper::OnRequestThumbnailForContextNodeACK(
|
| const std::string& thumbnail_data,
|
| + const std::string& thumbnail_format,
|
| const gfx::Size& original_size) {
|
| if (thumbnail_data.empty())
|
| return;
|
| @@ -263,6 +264,7 @@ void CoreTabHelper::OnRequestThumbnailForContextNodeACK(
|
| TemplateURLRef::SearchTermsArgs search_args =
|
| TemplateURLRef::SearchTermsArgs(base::string16());
|
| search_args.image_thumbnail_content = thumbnail_data;
|
| + search_args.image_thumbnail_format = thumbnail_format;
|
| // TODO(jnd): Add a method in WebContentsViewDelegate to get the image URL
|
| // from the ContextMenuParams which creates current context menu.
|
| search_args.image_url = GURL();
|
|
|