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

Side by Side Diff: Source/core/dom/TreeScope.h

Issue 22887044: [oilpan] Make the oilpan branch build on Mac. (Closed) Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: Add FIXME. Created 7 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/dom/TextEvent.cpp ('k') | Source/core/dom/TreeScope.cpp » ('j') | 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) 2011 Google Inc. All Rights Reserved. 2 * Copyright (C) 2011 Google Inc. All Rights Reserved.
3 * Copyright (C) 2012 Apple Inc. All Rights Reserved. 3 * Copyright (C) 2012 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 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 return m_elementsById && m_elementsById->containsMultiple(id.impl()); 157 return m_elementsById && m_elementsById->containsMultiple(id.impl());
158 } 158 }
159 159
160 Node* nodeFromPoint(const Handle<Document>&, int x, int y, LayoutPoint* localPoi nt = 0); 160 Node* nodeFromPoint(const Handle<Document>&, int x, int y, LayoutPoint* localPoi nt = 0);
161 Result<TreeScope> commonTreeScope(Node*, Node*); 161 Result<TreeScope> commonTreeScope(Node*, Node*);
162 162
163 template<> class AcceptTrait<TreeScope> { 163 template<> class AcceptTrait<TreeScope> {
164 public: 164 public:
165 static void visit(Visitor* v, const TreeScope* self) { self->visitWith(v); } 165 static void visit(Visitor* v, const TreeScope* self) { self->visitWith(v); }
166 static intptr_t getTypeMarker() { return 0; } 166 static intptr_t getTypeMarker() { return 0; }
167 static void check(Visitor* visitor, const TreeScope* t) { } 167 static void checkTypeMarker(Visitor* visitor, const TreeScope* t) { }
168 static void accept(Visitor* visitor, void* self) 168 static void accept(Visitor* visitor, void* self)
169 { 169 {
170 static_cast<TreeScope*>(self)->accept(visitor); 170 static_cast<TreeScope*>(self)->accept(visitor);
171 } 171 }
172 }; 172 };
173 173
174 } // namespace WebCore 174 } // namespace WebCore
175 175
176 #endif // TreeScope_h 176 #endif // TreeScope_h
OLDNEW
« no previous file with comments | « Source/core/dom/TextEvent.cpp ('k') | Source/core/dom/TreeScope.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698