Index: Source/WebCore/page/Settings.cpp |
diff --git a/Source/WebCore/page/Settings.cpp b/Source/WebCore/page/Settings.cpp |
index 862bafc8f156201fd7e7ce12132bc01f313f94fc..d60faf16c4ac7a0405359f6e24e25bada28e6901 100644 |
--- a/Source/WebCore/page/Settings.cpp |
+++ b/Source/WebCore/page/Settings.cpp |
@@ -136,6 +136,7 @@ Settings::Settings(Page* page) |
, m_arePluginsEnabled(false) |
, m_localStorageEnabled(false) |
, m_isScriptEnabled(false) |
+ , m_isDartEnabled(false) |
, m_isWebSecurityEnabled(true) |
, m_allowUniversalAccessFromFileURLs(true) |
, m_allowFileAccessFromFileURLs(true) |
@@ -372,6 +373,11 @@ void Settings::setScriptEnabled(bool isScriptEnabled) |
m_isScriptEnabled = isScriptEnabled; |
} |
+void Settings::setDartEnabled(bool isDartEnabled) |
+{ |
+ m_isDartEnabled = isDartEnabled; |
+} |
+ |
void Settings::setWebSecurityEnabled(bool isWebSecurityEnabled) |
{ |
m_isWebSecurityEnabled = isWebSecurityEnabled; |