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

Side by Side Diff: third_party/WebKit/Source/core/dom/ProcessingInstruction.cpp

Issue 1738613002: Rename enums/functions that collide in chromium style in core/dom/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@get-names-3
Patch Set: get-names-4: Created 4 years, 10 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 (C) 2000 Peter Kelly (pmk@post.com) 2 * Copyright (C) 2000 Peter Kelly (pmk@post.com)
3 * Copyright (C) 2006, 2008, 2009 Apple Inc. All rights reserved. 3 * Copyright (C) 2006, 2008, 2009 Apple Inc. All rights reserved.
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 m_listenerForXSLT->detach(); 83 m_listenerForXSLT->detach();
84 m_listenerForXSLT.clear(); 84 m_listenerForXSLT.clear();
85 } 85 }
86 } 86 }
87 87
88 String ProcessingInstruction::nodeName() const 88 String ProcessingInstruction::nodeName() const
89 { 89 {
90 return m_target; 90 return m_target;
91 } 91 }
92 92
93 Node::NodeType ProcessingInstruction::nodeType() const 93 Node::NodeType ProcessingInstruction::getNodeType() const
94 { 94 {
95 return PROCESSING_INSTRUCTION_NODE; 95 return PROCESSING_INSTRUCTION_NODE;
96 } 96 }
97 97
98 PassRefPtrWillBeRawPtr<Node> ProcessingInstruction::cloneNode(bool /*deep*/) 98 PassRefPtrWillBeRawPtr<Node> ProcessingInstruction::cloneNode(bool /*deep*/)
99 { 99 {
100 // FIXME: Is it a problem that this does not copy m_localHref? 100 // FIXME: Is it a problem that this does not copy m_localHref?
101 // What about other data members? 101 // What about other data members?
102 return create(document(), m_target, m_data); 102 return create(document(), m_target, m_data);
103 } 103 }
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
307 307
308 DEFINE_TRACE(ProcessingInstruction) 308 DEFINE_TRACE(ProcessingInstruction)
309 { 309 {
310 visitor->trace(m_sheet); 310 visitor->trace(m_sheet);
311 visitor->trace(m_listenerForXSLT); 311 visitor->trace(m_listenerForXSLT);
312 CharacterData::trace(visitor); 312 CharacterData::trace(visitor);
313 ResourceOwner<StyleSheetResource>::trace(visitor); 313 ResourceOwner<StyleSheetResource>::trace(visitor);
314 } 314 }
315 315
316 } // namespace blink 316 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698