Index: chrome/common/chrome_content_client.cc |
diff --git a/chrome/common/chrome_content_client.cc b/chrome/common/chrome_content_client.cc |
index 6116c0856c8dca7b3a91f3dea45b18b405616f26..369bc0a826f17a75e426a796669bf9d5bdce9a7f 100644 |
--- a/chrome/common/chrome_content_client.cc |
+++ b/chrome/common/chrome_content_client.cc |
@@ -419,6 +419,14 @@ base::StringPiece ChromeContentClient::GetDataResource(int resource_id) const { |
return ResourceBundle::GetSharedInstance().GetRawDataResource(resource_id); |
} |
+base::StringPiece ChromeContentClient::GetImageResource( |
+ int resource_id, |
+ float scale_factor) const { |
+ // TODO(flackr): Pass scale_factor to ResourceBundle to get best matching |
+ // image resource for the given scale factor. |
+ return ResourceBundle::GetSharedInstance().GetRawDataResource(resource_id); |
+} |
+ |
#if defined(OS_WIN) |
bool ChromeContentClient::SandboxPlugin(CommandLine* command_line, |
sandbox::TargetPolicy* policy) { |