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

Side by Side Diff: third_party/WebKit/Source/core/xml/XPathParser.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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright 2005 Maksim Orlovich <maksim@kde.org> 2 * Copyright 2005 Maksim Orlovich <maksim@kde.org>
3 * Copyright (C) 2006 Apple Computer, Inc. 3 * Copyright (C) 2006 Apple Computer, Inc.
4 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> 4 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org>
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 9 *
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 489 matching lines...) Expand 10 before | Expand all | Expand 10 after
500 m_topExpr = nullptr; 500 m_topExpr = nullptr;
501 501
502 return result; 502 return result;
503 } 503 }
504 504
505 void Parser::registerString(String* s) { 505 void Parser::registerString(String* s) {
506 if (!s) 506 if (!s)
507 return; 507 return;
508 508
509 DCHECK(!m_strings.contains(s)); 509 DCHECK(!m_strings.contains(s));
510 m_strings.add(wrapUnique(s)); 510 m_strings.add(WTF::wrapUnique(s));
511 } 511 }
512 512
513 void Parser::deleteString(String* s) { 513 void Parser::deleteString(String* s) {
514 if (!s) 514 if (!s)
515 return; 515 return;
516 516
517 DCHECK(m_strings.contains(s)); 517 DCHECK(m_strings.contains(s));
518 m_strings.remove(s); 518 m_strings.remove(s);
519 } 519 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698