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

Side by Side Diff: trunk/Source/core/rendering/ClipRect.h

Issue 61733005: Revert 161469 "Enable chromium_code=1 on Windows" (Closed) Base URL: svn://svn.chromium.org/blink/
Patch Set: Created 7 years, 1 month 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 | « trunk/Source/core/fetch/Resource.cpp ('k') | trunk/Source/core/rendering/RenderLayer.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) 2003, 2009, 2012 Apple Inc. All rights reserved. 2 * Copyright (C) 2003, 2009, 2012 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 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 { 131 {
132 if (!--m_refCnt) 132 if (!--m_refCnt)
133 delete this; 133 delete this;
134 } 134 }
135 135
136 bool operator==(const ClipRects& other) const 136 bool operator==(const ClipRects& other) const
137 { 137 {
138 return m_overflowClipRect == other.overflowClipRect() 138 return m_overflowClipRect == other.overflowClipRect()
139 && m_fixedClipRect == other.fixedClipRect() 139 && m_fixedClipRect == other.fixedClipRect()
140 && m_posClipRect == other.posClipRect() 140 && m_posClipRect == other.posClipRect()
141 && fixed() == other.fixed(); 141 && m_fixed == other.fixed();
142 } 142 }
143 143
144 ClipRects& operator=(const ClipRects& other) 144 ClipRects& operator=(const ClipRects& other)
145 { 145 {
146 m_overflowClipRect = other.overflowClipRect(); 146 m_overflowClipRect = other.overflowClipRect();
147 m_fixedClipRect = other.fixedClipRect(); 147 m_fixedClipRect = other.fixedClipRect();
148 m_posClipRect = other.posClipRect(); 148 m_posClipRect = other.posClipRect();
149 m_fixed = other.fixed(); 149 m_fixed = other.fixed();
150 return *this; 150 return *this;
151 } 151 }
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 // Also unique to paginated fragments. An additional clip that applies to th e layer. It is in layer-local 265 // Also unique to paginated fragments. An additional clip that applies to th e layer. It is in layer-local
266 // (physical) coordinates. 266 // (physical) coordinates.
267 LayoutRect paginationClip; 267 LayoutRect paginationClip;
268 }; 268 };
269 269
270 typedef Vector<LayerFragment, 1> LayerFragments; 270 typedef Vector<LayerFragment, 1> LayerFragments;
271 271
272 } // namespace WebCore 272 } // namespace WebCore
273 273
274 #endif // ClipRect_h 274 #endif // ClipRect_h
OLDNEW
« no previous file with comments | « trunk/Source/core/fetch/Resource.cpp ('k') | trunk/Source/core/rendering/RenderLayer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698