Index: Source/core/html/forms/FormController.cpp |
diff --git a/Source/core/html/FormController.cpp b/Source/core/html/forms/FormController.cpp |
similarity index 99% |
rename from Source/core/html/FormController.cpp |
rename to Source/core/html/forms/FormController.cpp |
index 92b574732204d39e51a13db32a9356f5c757208e..bcf7b279331b43487f2336eb3d0508f817c6d9e7 100644 |
--- a/Source/core/html/FormController.cpp |
+++ b/Source/core/html/forms/FormController.cpp |
@@ -19,7 +19,7 @@ |
*/ |
#include "config.h" |
-#include "core/html/FormController.h" |
+#include "core/html/forms/FormController.h" |
#include "core/html/HTMLFormControlElementWithState.h" |
#include "core/html/HTMLFormElement.h" |
@@ -244,9 +244,9 @@ void SavedFormState::appendControlState(const AtomicString& name, const AtomicSt |
{ |
FormElementKey key(name.impl(), type.impl()); |
FormElementStateMap::iterator it = m_stateForNewFormElements.find(key); |
- if (it != m_stateForNewFormElements.end()) |
+ if (it != m_stateForNewFormElements.end()) { |
it->value.append(state); |
- else { |
+ } else { |
Deque<FormControlState> stateList; |
stateList.append(state); |
m_stateForNewFormElements.set(key, stateList); |