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

Side by Side Diff: third_party/WebKit/Source/core/html/parser/HTMLElementStack.cpp

Issue 1627713002: Add more missing closing namespace comments. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase, address comment (also filed llvm.org/PR26290) 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) 2010 Google, Inc. All Rights Reserved. 2 * Copyright (C) 2010 Google, Inc. All Rights Reserved.
3 * Copyright (C) 2011 Apple Inc. All rights reserved. 3 * Copyright (C) 2011 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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 return isScopeMarker(item) 109 return isScopeMarker(item)
110 || item->hasTagName(buttonTag); 110 || item->hasTagName(buttonTag);
111 } 111 }
112 112
113 inline bool isSelectScopeMarker(HTMLStackItem* item) 113 inline bool isSelectScopeMarker(HTMLStackItem* item)
114 { 114 {
115 return !item->hasTagName(optgroupTag) 115 return !item->hasTagName(optgroupTag)
116 && !item->hasTagName(optionTag); 116 && !item->hasTagName(optionTag);
117 } 117 }
118 118
119 } 119 } // namespace
120 120
121 HTMLElementStack::ElementRecord::ElementRecord(PassRefPtrWillBeRawPtr<HTMLStackI tem> item, PassOwnPtrWillBeRawPtr<ElementRecord> next) 121 HTMLElementStack::ElementRecord::ElementRecord(PassRefPtrWillBeRawPtr<HTMLStackI tem> item, PassOwnPtrWillBeRawPtr<ElementRecord> next)
122 : m_item(item) 122 : m_item(item)
123 , m_next(next) 123 , m_next(next)
124 { 124 {
125 ASSERT(m_item); 125 ASSERT(m_item);
126 } 126 }
127 127
128 #if !ENABLE(OILPAN) 128 #if !ENABLE(OILPAN)
129 HTMLElementStack::ElementRecord::~ElementRecord() 129 HTMLElementStack::ElementRecord::~ElementRecord()
(...skipping 496 matching lines...) Expand 10 before | Expand all | Expand 10 after
626 #ifndef NDEBUG 626 #ifndef NDEBUG
627 627
628 void HTMLElementStack::show() 628 void HTMLElementStack::show()
629 { 629 {
630 for (ElementRecord* record = m_top.get(); record; record = record->next()) 630 for (ElementRecord* record = m_top.get(); record; record = record->next())
631 record->element()->showNode(); 631 record->element()->showNode();
632 } 632 }
633 633
634 #endif 634 #endif
635 635
636 } 636 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698