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

Side by Side Diff: third_party/WebKit/Source/core/xml/XPathFunctions.cpp

Issue 1854543002: Oilpan: Remove WillBe types (part 7) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2005 Frerich Raabe <raabe@kde.org> 2 * Copyright (C) 2005 Frerich Raabe <raabe@kde.org>
3 * Copyright (C) 2006, 2009 Apple Inc. 3 * Copyright (C) 2006, 2009 Apple 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 313 matching lines...) Expand 10 before | Expand all | Expand 10 after
324 idList.append(str); 324 idList.append(str);
325 idList.append(' '); 325 idList.append(' ');
326 } 326 }
327 } else { 327 } else {
328 String str = a.toString(); 328 String str = a.toString();
329 idList.append(str); 329 idList.append(str);
330 } 330 }
331 331
332 TreeScope& contextScope = context.node->treeScope(); 332 TreeScope& contextScope = context.node->treeScope();
333 NodeSet* result(NodeSet::create()); 333 NodeSet* result(NodeSet::create());
334 WillBeHeapHashSet<RawPtrWillBeMember<Node>> resultSet; 334 HeapHashSet<Member<Node>> resultSet;
335 335
336 unsigned startPos = 0; 336 unsigned startPos = 0;
337 unsigned length = idList.length(); 337 unsigned length = idList.length();
338 while (true) { 338 while (true) {
339 while (startPos < length && isWhitespace(idList[startPos])) 339 while (startPos < length && isWhitespace(idList[startPos]))
340 ++startPos; 340 ++startPos;
341 341
342 if (startPos == length) 342 if (startPos == length)
343 break; 343 break;
344 344
(...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after
761 return nullptr; 761 return nullptr;
762 762
763 Function* function = functionRec->factoryFn(); 763 Function* function = functionRec->factoryFn();
764 function->setArguments(args); 764 function->setArguments(args);
765 function->setName(name); 765 function->setName(name);
766 return function; 766 return function;
767 } 767 }
768 768
769 } // namespace XPath 769 } // namespace XPath
770 } // namespace blink 770 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/xml/XPathExpressionNode.h ('k') | third_party/WebKit/Source/core/xml/XPathNodeSet.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698