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

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

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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) 2008, 2011, 2012, 2014 Apple Inc. All rights reserved. 2 * Copyright (C) 2008, 2011, 2012, 2014 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 123
124 // Must call get() on the table in case that argument is compiled before derefer encing the 124 // Must call get() on the table in case that argument is compiled before derefer encing the
125 // table to get at the collection cache. Order of argument evaluation is undefin ed and can 125 // table to get at the collection cache. Order of argument evaluation is undefin ed and can
126 // differ between compilers. 126 // differ between compilers.
127 HTMLTableRowsCollection::HTMLTableRowsCollection(ContainerNode& table) 127 HTMLTableRowsCollection::HTMLTableRowsCollection(ContainerNode& table)
128 : HTMLCollection(table, TableRows, OverridesItemAfter) 128 : HTMLCollection(table, TableRows, OverridesItemAfter)
129 { 129 {
130 ASSERT(isHTMLTableElement(table)); 130 ASSERT(isHTMLTableElement(table));
131 } 131 }
132 132
133 PassRefPtrWillBeRawPtr<HTMLTableRowsCollection> HTMLTableRowsCollection::create( ContainerNode& table, CollectionType type) 133 RawPtr<HTMLTableRowsCollection> HTMLTableRowsCollection::create(ContainerNode& t able, CollectionType type)
134 { 134 {
135 ASSERT_UNUSED(type, type == TableRows); 135 ASSERT_UNUSED(type, type == TableRows);
136 return adoptRefWillBeNoop(new HTMLTableRowsCollection(table)); 136 return new HTMLTableRowsCollection(table);
137 } 137 }
138 138
139 Element* HTMLTableRowsCollection::virtualItemAfter(Element* previous) const 139 Element* HTMLTableRowsCollection::virtualItemAfter(Element* previous) const
140 { 140 {
141 return rowAfter(toHTMLTableElement(ownerNode()), toHTMLTableRowElement(previ ous)); 141 return rowAfter(toHTMLTableElement(ownerNode()), toHTMLTableRowElement(previ ous));
142 } 142 }
143 143
144 } // namespace blink 144 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698