OLD | NEW |
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 748 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
759 | 759 |
760 if (functionMapIter == functionMap->end() || !(functionRec = &functionMapIte
r->value)->args.contains(args.size())) | 760 if (functionMapIter == functionMap->end() || !(functionRec = &functionMapIte
r->value)->args.contains(args.size())) |
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 } | 769 } // namespace XPath |
770 } | 770 } // namespace blink |
OLD | NEW |