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

Unified Diff: Source/core/html/forms/FormController.cpp

Issue 24246011: Move form-related 78 files to core/html/forms/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 3 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 | « Source/core/html/forms/FormController.h ('k') | Source/core/html/forms/HiddenInputType.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « Source/core/html/forms/FormController.h ('k') | Source/core/html/forms/HiddenInputType.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698