Index: content/shell/browser/webkit_test_controller.cc |
diff --git a/content/shell/browser/webkit_test_controller.cc b/content/shell/browser/webkit_test_controller.cc |
index 52f06117743dd5e03bd4541802fc3587e1df5fda..6c2a6034f2bc0b3b89fb57e1635fd622432dec0b 100644 |
--- a/content/shell/browser/webkit_test_controller.cc |
+++ b/content/shell/browser/webkit_test_controller.cc |
@@ -517,6 +517,9 @@ void WebKitTestController::OnImageDump( |
#else |
bool discard_transparency = true; |
#endif |
+ if (CommandLine::ForCurrentProcess()->HasSwitch( |
+ switches::kEnableOverlayFullscreenVideo)) |
+ discard_transparency = false; |
std::vector<gfx::PNGCodec::Comment> comments; |
comments.push_back(gfx::PNGCodec::Comment("checksum", actual_pixel_hash)); |