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

Side by Side Diff: Source/WebCore/xml/XPathResult.h

Issue 6709024: Merge 80797 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/648/
Patch Set: Created 9 years, 9 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
« no previous file with comments | « Source/WebCore/html/HTMLCollection.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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. All rights reserved. 3 * Copyright (C) 2006, 2009 Apple Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 Node* snapshotItem(unsigned long index, ExceptionCode&); 73 Node* snapshotItem(unsigned long index, ExceptionCode&);
74 74
75 private: 75 private:
76 XPathResult(Document*, const XPath::Value&); 76 XPathResult(Document*, const XPath::Value&);
77 77
78 XPath::Value m_value; 78 XPath::Value m_value;
79 unsigned m_nodeSetPosition; 79 unsigned m_nodeSetPosition;
80 XPath::NodeSet m_nodeSet; // FIXME: why duplicate the node set stored in m_value? 80 XPath::NodeSet m_nodeSet; // FIXME: why duplicate the node set stored in m_value?
81 unsigned short m_resultType; 81 unsigned short m_resultType;
82 RefPtr<Document> m_document; 82 RefPtr<Document> m_document;
83 unsigned m_domTreeVersion; 83 uint64_t m_domTreeVersion;
84 }; 84 };
85 85
86 } // namespace WebCore 86 } // namespace WebCore
87 87
88 #endif // ENABLE(XPATH) 88 #endif // ENABLE(XPATH)
89 89
90 #endif // XPathResult_h 90 #endif // XPathResult_h
OLDNEW
« no previous file with comments | « Source/WebCore/html/HTMLCollection.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698