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

Unified Diff: content/browser/renderer_host/render_view_host_impl.cc

Issue 721683002: Introduce option "code-compressed" to --v8-code-options. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « no previous file | content/public/common/web_preferences.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_view_host_impl.cc
diff --git a/content/browser/renderer_host/render_view_host_impl.cc b/content/browser/renderer_host/render_view_host_impl.cc
index 8bafdab90c90cc650130cc2983c044e9151b604d..1a7b3d5d5668f79853df9b76074dd0c6a9eac51d 100644
--- a/content/browser/renderer_host/render_view_host_impl.cc
+++ b/content/browser/renderer_host/render_view_host_impl.cc
@@ -483,6 +483,8 @@ WebPreferences RenderViewHostImpl::ComputeWebkitPrefs(const GURL& url) {
prefs.v8_cache_options = V8_CACHE_OPTIONS_PARSE;
} else if (v8_cache_options == "code") {
prefs.v8_cache_options = V8_CACHE_OPTIONS_CODE;
+ } else if (v8_cache_options == "code-compressed") {
+ prefs.v8_cache_options = V8_CACHE_OPTIONS_CODE_COMPRESSED;
} else {
prefs.v8_cache_options = V8_CACHE_OPTIONS_OFF;
}
« no previous file with comments | « no previous file | content/public/common/web_preferences.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698