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

Unified Diff: Source/web/WebSettingsImpl.cpp

Issue 432273004: Implement Blink-side changes to enable V8 code caching. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: V8CacheOptions enum (instead of string) Created 6 years, 4 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: Source/web/WebSettingsImpl.cpp
diff --git a/Source/web/WebSettingsImpl.cpp b/Source/web/WebSettingsImpl.cpp
index 7a1be65d8d2fb74ec6d24f7229974a14162bd650..271feab633bbbd2b72b6cf6adfc4fe96c9744b9d 100644
--- a/Source/web/WebSettingsImpl.cpp
+++ b/Source/web/WebSettingsImpl.cpp
@@ -695,4 +695,9 @@ void WebSettingsImpl::setDisallowFullscreenForNonMediaElements(bool enabled)
m_settings->setDisallowFullscreenForNonMediaElements(enabled);
}
+void WebSettingsImpl::setV8CacheOptions(V8CacheOptions options)
+{
+ m_settings->setV8CacheOptions(static_cast<blink::V8CacheOptionsType>(options));
+}
+
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698