summaryrefslogtreecommitdiff
path: root/chromium/headless/app
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/headless/app')
-rw-r--r--chromium/headless/app/DEPS1
-rw-r--r--chromium/headless/app/headless_shell.cc3
2 files changed, 3 insertions, 1 deletions
diff --git a/chromium/headless/app/DEPS b/chromium/headless/app/DEPS
index 7646185a543..a784e13d921 100644
--- a/chromium/headless/app/DEPS
+++ b/chromium/headless/app/DEPS
@@ -2,5 +2,6 @@ include_rules = {
"+cc/base/switches.h",
"+components/viz/common/switches.h",
"+sandbox/mac",
+ "+third_party/blink/public/common/switches.h",
}
diff --git a/chromium/headless/app/headless_shell.cc b/chromium/headless/app/headless_shell.cc
index 4a896191a08..fc17e3f310c 100644
--- a/chromium/headless/app/headless_shell.cc
+++ b/chromium/headless/app/headless_shell.cc
@@ -47,6 +47,7 @@
#include "net/socket/ssl_client_socket.h"
#include "net/ssl/ssl_key_logger_impl.h"
#include "services/network/public/cpp/network_switches.h"
+#include "third_party/blink/public/common/switches.h"
#include "ui/gfx/geometry/size.h"
#if defined(OS_WIN)
@@ -687,7 +688,7 @@ int HeadlessShellMain(int argc, const char** argv) {
command_line.AppendSwitch(::switches::kDisableNewContentRenderingTimeout);
// Ensure that image animations don't resync their animation timestamps when
// looping back around.
- command_line.AppendSwitch(::switches::kDisableImageAnimationResync);
+ command_line.AppendSwitch(blink::switches::kDisableImageAnimationResync);
// Renderer flags
command_line.AppendSwitch(cc::switches::kDisableThreadedAnimation);