Index: content/public/common/web_preferences.cc |
diff --git a/content/public/common/web_preferences.cc b/content/public/common/web_preferences.cc |
index aec5d7471e26016d83d095cd5c4bd5f7d2a3e770..4d925a2512471bee05774d9b05c502f46a9a57fc 100644 |
--- a/content/public/common/web_preferences.cc |
+++ b/content/public/common/web_preferences.cc |
@@ -40,6 +40,18 @@ COMPILE_ASSERT_MATCHING_ENUMS(V8_CACHE_OPTIONS_CODE, |
COMPILE_ASSERT_MATCHING_ENUMS(V8_CACHE_OPTIONS_LAST, |
WebSettings::V8CacheOptionsCode); |
+COMPILE_ASSERT_MATCHING_ENUMS(V8_SCRIPT_STREAMING_MODE_ALL, |
+ WebSettings::V8ScriptStreamingModeAll); |
+COMPILE_ASSERT_MATCHING_ENUMS( |
+ V8_SCRIPT_STREAMING_MODE_ONLY_ASYNC_AND_DEFER, |
+ WebSettings::V8ScriptStreamingModeOnlyAsyncAndDefer); |
+COMPILE_ASSERT_MATCHING_ENUMS( |
+ V8_SCRIPT_STREAMING_MODE_ALL_PLUS_BLOCK_PARSER_BLOCKING, |
+ WebSettings::V8ScriptStreamingModeAllPlusBlockParsingBlocking); |
+COMPILE_ASSERT_MATCHING_ENUMS( |
+ V8_SCRIPT_STREAMING_MODE_LAST, |
+ WebSettings::V8ScriptStreamingModeAllPlusBlockParsingBlocking); |
+ |
WebPreferences::WebPreferences() |
: default_font_size(16), |
default_fixed_font_size(13), |
@@ -139,6 +151,7 @@ WebPreferences::WebPreferences() |
navigate_on_drag_drop(true), |
v8_cache_options(V8_CACHE_OPTIONS_OFF), |
v8_script_streaming_enabled(false), |
+ v8_script_streaming_mode(V8_SCRIPT_STREAMING_MODE_ALL), |
slimming_paint_enabled(false), |
cookie_enabled(true), |
pepper_accelerated_video_decode_enabled(false) |