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

Side by Side Diff: Source/core/xml/XPathParser.cpp

Issue 330323005: Manually commit changes that cause false-alarm on check-webkit-style. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebaseline Created 6 years, 6 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 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 23 matching lines...) Expand all
34 #include "core/xml/XPathNSResolver.h" 34 #include "core/xml/XPathNSResolver.h"
35 #include "core/xml/XPathPath.h" 35 #include "core/xml/XPathPath.h"
36 #include "wtf/StdLibExtras.h" 36 #include "wtf/StdLibExtras.h"
37 #include "wtf/text/StringHash.h" 37 #include "wtf/text/StringHash.h"
38 38
39 using namespace WebCore; 39 using namespace WebCore;
40 using namespace WTF; 40 using namespace WTF;
41 using namespace Unicode; 41 using namespace Unicode;
42 using namespace XPath; 42 using namespace XPath;
43 43
44 #include "XPathGrammar.h" 44 #include "core/XPathGrammar.h"
45 45
46 Parser* Parser::currentParser = 0; 46 Parser* Parser::currentParser = 0;
47 47
48 enum XMLCat { NameStart, NameCont, NotPartOfName }; 48 enum XMLCat { NameStart, NameCont, NotPartOfName };
49 49
50 typedef HashMap<String, Step::Axis> AxisNamesMap; 50 typedef HashMap<String, Step::Axis> AxisNamesMap;
51 51
52 static XMLCat charCat(UChar aChar) 52 static XMLCat charCat(UChar aChar)
53 { 53 {
54 //### might need to add some special cases from the XML spec. 54 //### might need to add some special cases from the XML spec.
(...skipping 575 matching lines...) Expand 10 before | Expand all | Expand 10 after
630 #if !ENABLE(OILPAN) 630 #if !ENABLE(OILPAN)
631 if (t == 0) 631 if (t == 0)
632 return; 632 return;
633 633
634 ASSERT(m_nodeTests.contains(t)); 634 ASSERT(m_nodeTests.contains(t));
635 635
636 m_nodeTests.remove(t); 636 m_nodeTests.remove(t);
637 #endif 637 #endif
638 } 638 }
639 639
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698