Index: Source/web/ContextMenuClientImpl.cpp |
diff --git a/Source/web/ContextMenuClientImpl.cpp b/Source/web/ContextMenuClientImpl.cpp |
index aeca1fcab51f320cac8f67e82e7a94c3dc4ae044..dbb08fff3172008102b854c16bc1b04790816e6d 100644 |
--- a/Source/web/ContextMenuClientImpl.cpp |
+++ b/Source/web/ContextMenuClientImpl.cpp |
@@ -215,6 +215,7 @@ void ContextMenuClientImpl::showContextMenu(const WebCore::ContextMenu* defaultM |
if (!r.absoluteImageURL().isEmpty()) { |
data.srcURL = r.absoluteImageURL(); |
data.mediaType = WebContextMenuData::MediaTypeImage; |
+ data.mediaFlags |= WebContextMenuData::MediaCanPrint; |
} else if (!r.absoluteMediaURL().isEmpty()) { |
data.srcURL = r.absoluteMediaURL(); |