summaryrefslogtreecommitdiffstats
path: root/content/shell/browser/webkit_test_controller.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/shell/browser/webkit_test_controller.cc')
-rw-r--r--content/shell/browser/webkit_test_controller.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/content/shell/browser/webkit_test_controller.cc b/content/shell/browser/webkit_test_controller.cc
index 52f0611..6c2a603 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));