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

Side by Side Diff: third_party/WebKit/Source/core/xml/XPathGrammar.y

Issue 1881983003: Move PartitionAlloc related things into wtf/allocator. (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 2005 Frerich Raabe <raabe@kde.org> 2 * Copyright 2005 Frerich Raabe <raabe@kde.org>
3 * Copyright (C) 2006 Apple Inc. All rights reserved. 3 * Copyright (C) 2006 Apple Inc. All rights reserved.
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 16 matching lines...) Expand all
27 27
28 %{ 28 %{
29 29
30 #include "core/xml/XPathFunctions.h" 30 #include "core/xml/XPathFunctions.h"
31 #include "core/xml/XPathNSResolver.h" 31 #include "core/xml/XPathNSResolver.h"
32 #include "core/xml/XPathParser.h" 32 #include "core/xml/XPathParser.h"
33 #include "core/xml/XPathPath.h" 33 #include "core/xml/XPathPath.h"
34 #include "core/xml/XPathPredicate.h" 34 #include "core/xml/XPathPredicate.h"
35 #include "core/xml/XPathStep.h" 35 #include "core/xml/XPathStep.h"
36 #include "core/xml/XPathVariableReference.h" 36 #include "core/xml/XPathVariableReference.h"
37 #include "wtf/Partitions.h" 37 #include "wtf/allocator/Partitions.h"
38 38
39 void* yyFastMalloc(size_t size) 39 void* yyFastMalloc(size_t size)
40 { 40 {
41 return WTF::Partitions::fastMalloc(size, nullptr); 41 return WTF::Partitions::fastMalloc(size, nullptr);
42 } 42 }
43 43
44 #define YYMALLOC yyFastMalloc 44 #define YYMALLOC yyFastMalloc
45 #define YYFREE WTF::Partitions::fastFree 45 #define YYFREE WTF::Partitions::fastFree
46 46
47 #define YYENABLE_NLS 0 47 #define YYENABLE_NLS 0
(...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after
477 UnionExpr 477 UnionExpr
478 | 478 |
479 MINUS UnaryExpr 479 MINUS UnaryExpr
480 { 480 {
481 $$ = new Negative; 481 $$ = new Negative;
482 $$->addSubExpression($2); 482 $$->addSubExpression($2);
483 } 483 }
484 ; 484 ;
485 485
486 %% 486 %%
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698