| Index: Source/core/editing/commands/EditorCommand.cpp
|
| diff --git a/Source/core/editing/EditorCommand.cpp b/Source/core/editing/commands/EditorCommand.cpp
|
| similarity index 99%
|
| rename from Source/core/editing/EditorCommand.cpp
|
| rename to Source/core/editing/commands/EditorCommand.cpp
|
| index a1decada916616fc5bac614a61f61612afe45368..72808fd31595b85de24e661ade71cbff5f1e4c56 100644
|
| --- a/Source/core/editing/EditorCommand.cpp
|
| +++ b/Source/core/editing/commands/EditorCommand.cpp
|
| @@ -37,15 +37,15 @@
|
| #include "core/css/CSSValueList.h"
|
| #include "core/css/StylePropertySet.h"
|
| #include "core/dom/DocumentFragment.h"
|
| -#include "core/editing/CreateLinkCommand.h"
|
| #include "core/editing/EditingUtilities.h"
|
| -#include "core/editing/FormatBlockCommand.h"
|
| #include "core/editing/FrameSelection.h"
|
| -#include "core/editing/IndentOutdentCommand.h"
|
| -#include "core/editing/InsertListCommand.h"
|
| -#include "core/editing/ReplaceSelectionCommand.h"
|
| -#include "core/editing/TypingCommand.h"
|
| -#include "core/editing/UnlinkCommand.h"
|
| +#include "core/editing/commands/CreateLinkCommand.h"
|
| +#include "core/editing/commands/FormatBlockCommand.h"
|
| +#include "core/editing/commands/IndentOutdentCommand.h"
|
| +#include "core/editing/commands/InsertListCommand.h"
|
| +#include "core/editing/commands/ReplaceSelectionCommand.h"
|
| +#include "core/editing/commands/TypingCommand.h"
|
| +#include "core/editing/commands/UnlinkCommand.h"
|
| #include "core/editing/serializers/Serialization.h"
|
| #include "core/editing/spellcheck/SpellChecker.h"
|
| #include "core/events/Event.h"
|
| @@ -150,8 +150,9 @@ static bool executeToggleStyleInList(LocalFrame& frame, EditorCommandSource sour
|
| if (selectedCSSValueList->length())
|
| newStyle = selectedCSSValueList->cssText();
|
|
|
| - } else if (selectedCSSValue->cssText() == "none")
|
| + } else if (selectedCSSValue->cssText() == "none") {
|
| newStyle = value->cssText();
|
| + }
|
|
|
| // FIXME: We shouldn't be having to convert new style into text. We should have setPropertyCSSValue.
|
| RefPtrWillBeRawPtr<MutableStylePropertySet> newMutableStyle = MutableStylePropertySet::create();
|
|
|