| Index: Source/core/testing/InternalSettings.cpp
|
| diff --git a/Source/core/testing/InternalSettings.cpp b/Source/core/testing/InternalSettings.cpp
|
| index 4704e0856aa9f2d73a3280e863c089e142bb0eed..ac1225ed98669213c5e6e75cb596fcd625f66651 100644
|
| --- a/Source/core/testing/InternalSettings.cpp
|
| +++ b/Source/core/testing/InternalSettings.cpp
|
| @@ -37,19 +37,19 @@
|
|
|
| #define InternalSettingsGuardForSettingsReturn(returnValue) \
|
| if (!settings()) { \
|
| - ec = INVALID_ACCESS_ERR; \
|
| + ec = InvalidAccessError; \
|
| return returnValue; \
|
| }
|
|
|
| #define InternalSettingsGuardForSettings() \
|
| if (!settings()) { \
|
| - ec = INVALID_ACCESS_ERR; \
|
| + ec = InvalidAccessError; \
|
| return; \
|
| }
|
|
|
| #define InternalSettingsGuardForPage() \
|
| if (!page()) { \
|
| - ec = INVALID_ACCESS_ERR; \
|
| + ec = InvalidAccessError; \
|
| return; \
|
| }
|
|
|
| @@ -289,7 +289,7 @@ void InternalSettings::setEditingBehavior(const String& editingBehavior, Excepti
|
| else if (equalIgnoringCase(editingBehavior, "android"))
|
| settings()->setEditingBehaviorType(EditingAndroidBehavior);
|
| else
|
| - ec = SYNTAX_ERR;
|
| + ec = SyntaxError;
|
| }
|
|
|
| void InternalSettings::setDialogElementEnabled(bool enabled)
|
|
|