diff options
Diffstat (limited to 'chromium/third_party/blink/renderer/core/html/parser/html_parser_options.cc')
-rw-r--r-- | chromium/third_party/blink/renderer/core/html/parser/html_parser_options.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chromium/third_party/blink/renderer/core/html/parser/html_parser_options.cc b/chromium/third_party/blink/renderer/core/html/parser/html_parser_options.cc index fe9ef5812e5..1946079fa22 100644 --- a/chromium/third_party/blink/renderer/core/html/parser/html_parser_options.cc +++ b/chromium/third_party/blink/renderer/core/html/parser/html_parser_options.cc @@ -30,6 +30,7 @@ #include "third_party/blink/renderer/core/frame/local_frame.h" #include "third_party/blink/renderer/core/frame/settings.h" #include "third_party/blink/renderer/core/loader/frame_loader.h" +#include "third_party/blink/renderer/core/origin_trials/origin_trials.h" namespace blink { @@ -41,6 +42,8 @@ HTMLParserOptions::HTMLParserOptions(Document* document) { script_enabled = document->CanExecuteScripts(kNotAboutToExecuteScript); plugins_enabled = frame->Loader().AllowPlugins(kNotAboutToInstantiatePlugin); + priority_hints_origin_trial_enabled = + origin_trials::PriorityHintsEnabled(document); } } |