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

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

Issue 2547053003: s/ passed(...) / WTF::passed(...) / to avoid future ambiguity w/ base::Passed. (Closed)
Patch Set: Rebasing... Created 4 years 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 f03e8544d1352b5332fd80c51cb8f55a1e532446..42eaad3a58685b0891a723c3fbc450326617a01e 100644
--- a/third_party/WebKit/Source/core/html/forms/FormController.cpp
+++ b/third_party/WebKit/Source/core/html/forms/FormController.cpp
@@ -206,7 +206,7 @@ class SavedFormState {
};
std::unique_ptr<SavedFormState> SavedFormState::create() {
- return wrapUnique(new SavedFormState);
+ return WTF::wrapUnique(new SavedFormState);
}
static bool isNotFormControlTypeCharacter(UChar ch) {
@@ -223,7 +223,7 @@ std::unique_ptr<SavedFormState> SavedFormState::deserialize(
if (!itemCount)
return nullptr;
std::unique_ptr<SavedFormState> savedFormState =
- wrapUnique(new SavedFormState);
+ WTF::wrapUnique(new SavedFormState);
while (itemCount--) {
if (index + 1 >= stateVector.size())
return nullptr;
@@ -425,7 +425,7 @@ static String formStateSignature() {
Vector<String> DocumentState::toStateVector() {
FormKeyGenerator* keyGenerator = FormKeyGenerator::create();
std::unique_ptr<SavedFormStateMap> stateMap =
- wrapUnique(new SavedFormStateMap);
+ WTF::wrapUnique(new SavedFormStateMap);
for (const auto& formControl : m_formControls) {
HTMLFormControlElementWithState* control = formControl.get();
DCHECK(control->isConnected());

Powered by Google App Engine
This is Rietveld 408576698