summaryrefslogtreecommitdiff
path: root/chromium/headless/app
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2020-10-12 14:27:29 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2020-10-13 09:35:20 +0000
commitc30a6232df03e1efbd9f3b226777b07e087a1122 (patch)
treee992f45784689f373bcc38d1b79a239ebe17ee23 /chromium/headless/app
parent7b5b123ac58f58ffde0f4f6e488bcd09aa4decd3 (diff)
downloadqtwebengine-chromium-85-based.tar.gz
BASELINE: Update Chromium to 85.0.4183.14085-based
Change-Id: Iaa42f4680837c57725b1344f108c0196741f6057 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
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);