Index: chrome/browser/dom_ui/dom_ui_screenshot_source.h |
diff --git a/chrome/browser/dom_ui/dom_ui_screenshot_source.h b/chrome/browser/dom_ui/dom_ui_screenshot_source.h |
index 8cd8b2c8554c7b07dbba7d28406f320e7cc0eb7b..3a9aafcb3cac95830d53a4cea17a64b78fd68e0a 100644 |
--- a/chrome/browser/dom_ui/dom_ui_screenshot_source.h |
+++ b/chrome/browser/dom_ui/dom_ui_screenshot_source.h |
@@ -27,11 +27,7 @@ class DOMUIScreenshotSource : public ChromeURLDataManager::DataSource { |
bool is_off_the_record, |
int request_id); |
- virtual std::string GetMimeType(const std::string&) const { |
- // We need to explicitly return a mime type, otherwise if the user tries to |
- // drag the image they get no extension. |
- return "image/png"; |
- } |
+ virtual std::string GetMimeType(const std::string&) const; |
std::vector<unsigned char> GetScreenshot(const std::string& path); |