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

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

Issue 2149893003: Rename Node::inShadowIncludingDocument() to Node::isConnected() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed Created 4 years, 5 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
Index: third_party/WebKit/Source/core/html/forms/FormController.cpp
diff --git a/third_party/WebKit/Source/core/html/forms/FormController.cpp b/third_party/WebKit/Source/core/html/forms/FormController.cpp
index d2f172429a31fadf4c8f814d7afdf35c3825c783..43c357e05c497dc3fcc1f56d9bf80c5edc12404a 100644
--- a/third_party/WebKit/Source/core/html/forms/FormController.cpp
+++ b/third_party/WebKit/Source/core/html/forms/FormController.cpp
@@ -416,7 +416,7 @@ Vector<String> DocumentState::toStateVector()
std::unique_ptr<SavedFormStateMap> stateMap = wrapUnique(new SavedFormStateMap);
for (const auto& formControl : m_formControls) {
HTMLFormControlElementWithState* control = formControl.get();
- DCHECK(control->inShadowIncludingDocument());
+ DCHECK(control->isConnected());
if (!control->shouldSaveAndRestoreFormControlState())
continue;
SavedFormStateMap::AddResult result = stateMap->add(keyGenerator->formKey(*control), nullptr);
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLTitleElement.cpp ('k') | third_party/WebKit/Source/core/html/imports/LinkImport.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698