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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/ScriptController.cpp

Issue 2589143003: Add 'get' prefix for Settings.in generated code. (Closed)
Patch Set: Only get prefix and no capitalization. Created 3 years, 11 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/bindings/core/v8/ScriptStreamer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/bindings/core/v8/ScriptController.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptController.cpp b/third_party/WebKit/Source/bindings/core/v8/ScriptController.cpp
index cae05d3022e14a0b931354a59bba65c9aee99c69..b08a2e2228273a00556a9a45d694fd97b88f2d6c 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ScriptController.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/ScriptController.cpp
@@ -100,9 +100,9 @@ V8CacheOptions cacheOptions(const ScriptResource* resource,
const Settings* settings) {
V8CacheOptions v8CacheOptions(V8CacheOptionsDefault);
if (settings)
- v8CacheOptions = settings->v8CacheOptions();
+ v8CacheOptions = settings->getV8CacheOptions();
if (resource && !resource->response().cacheStorageCacheName().isNull()) {
- switch (settings->v8CacheStrategiesForCacheStorage()) {
+ switch (settings->getV8CacheStrategiesForCacheStorage()) {
case V8CacheStrategiesForCacheStorage::None:
v8CacheOptions = V8CacheOptionsNone;
break;
@@ -348,7 +348,7 @@ bool ScriptController::canExecuteScripts(
return false;
Settings* settings = frame()->settings();
const bool allowed =
- client->allowScript(settings && settings->scriptEnabled());
+ client->allowScript(settings && settings->getScriptEnabled());
if (!allowed && reason == AboutToExecuteScript)
client->didNotAllowScript();
return allowed;
« no previous file with comments | « no previous file | third_party/WebKit/Source/bindings/core/v8/ScriptStreamer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698