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

Side by Side Diff: third_party/WebKit/Source/core/paint/PaintLayerStackingNode.h

Issue 2014483003: Rename OwnPtr::clear() to reset() in core/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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) 2003, 2009, 2012 Apple Inc. All rights reserved. 2 * Copyright (C) 2003, 2009, 2012 Apple Inc. All rights reserved.
3 * Copyright (C) 2013 Intel Corporation. All rights reserved. 3 * Copyright (C) 2013 Intel Corporation. All rights reserved.
4 * 4 *
5 * Portions are Copyright (C) 1998 Netscape Communications Corporation. 5 * Portions are Copyright (C) 1998 Netscape Communications Corporation.
6 * 6 *
7 * Other contributors: 7 * Other contributors:
8 * Robert O'Callahan <roc+@cs.cmu.edu> 8 * Robert O'Callahan <roc+@cs.cmu.edu>
9 * David Baron <dbaron@fas.harvard.edu> 9 * David Baron <dbaron@fas.harvard.edu>
10 * Christian Biesinger <cbiesinger@web.de> 10 * Christian Biesinger <cbiesinger@web.de>
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 }; 189 };
190 190
191 inline void PaintLayerStackingNode::clearZOrderLists() 191 inline void PaintLayerStackingNode::clearZOrderLists()
192 { 192 {
193 ASSERT(!isStackingContext()); 193 ASSERT(!isStackingContext());
194 194
195 #if ENABLE(ASSERT) 195 #if ENABLE(ASSERT)
196 updateStackingParentForZOrderLists(0); 196 updateStackingParentForZOrderLists(0);
197 #endif 197 #endif
198 198
199 m_posZOrderList.clear(); 199 m_posZOrderList.reset();
200 m_negZOrderList.clear(); 200 m_negZOrderList.reset();
201 } 201 }
202 202
203 inline void PaintLayerStackingNode::updateZOrderLists() 203 inline void PaintLayerStackingNode::updateZOrderLists()
204 { 204 {
205 if (!m_zOrderListsDirty) 205 if (!m_zOrderListsDirty)
206 return; 206 return;
207 207
208 if (!isStackingContext()) { 208 if (!isStackingContext()) {
209 clearZOrderLists(); 209 clearZOrderLists();
210 m_zOrderListsDirty = false; 210 m_zOrderListsDirty = false;
(...skipping 20 matching lines...) Expand all
231 231
232 private: 232 private:
233 PaintLayerStackingNode* m_stackingNode; 233 PaintLayerStackingNode* m_stackingNode;
234 bool m_previousMutationAllowedState; 234 bool m_previousMutationAllowedState;
235 }; 235 };
236 #endif 236 #endif
237 237
238 } // namespace blink 238 } // namespace blink
239 239
240 #endif // PaintLayerStackingNode_h 240 #endif // PaintLayerStackingNode_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/paint/PaintLayer.cpp ('k') | third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698