Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(435)

Unified Diff: components/test_runner/layout_test_runtime_flags.cc

Issue 1829253002: Replicate to all renderers the accepted languages set by a layout test. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@splitting-web-frame-test-client
Patch Set: Quit early if the value doesn't really change. Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/test_runner/layout_test_runtime_flags.cc
diff --git a/components/test_runner/layout_test_runtime_flags.cc b/components/test_runner/layout_test_runtime_flags.cc
index 67ff6b3782d6608f416dc298e9e19fa7efd5f368..01254fc4f18b8de930f6f428f470005bf8ccfc78 100644
--- a/components/test_runner/layout_test_runtime_flags.cc
+++ b/components/test_runner/layout_test_runtime_flags.cc
@@ -25,6 +25,8 @@ void LayoutTestRuntimeFlags::Reset() {
set_wait_until_done(false);
+ set_accept_languages("");
+
// No need to report the initial state - only the future delta is important.
tracked_dictionary().ResetChangeTracking();
}

Powered by Google App Engine
This is Rietveld 408576698