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

Side by Side Diff: Source/core/rendering/RenderGeometryMap.h

Issue 327323002: Start removing the double-negative !ASSERT_DISABLED (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/rendering/RenderBlockFlow.cpp ('k') | Source/core/rendering/RenderGeometryMap.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) 2012 Apple Inc. All rights reserved. 2 * Copyright (C) 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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 void stepRemoved(const RenderGeometryMapStep&); 117 void stepRemoved(const RenderGeometryMapStep&);
118 118
119 bool hasNonUniformStep() const { return m_nonUniformStepsCount; } 119 bool hasNonUniformStep() const { return m_nonUniformStepsCount; }
120 bool hasTransformStep() const { return m_transformedStepsCount; } 120 bool hasTransformStep() const { return m_transformedStepsCount; }
121 bool hasFixedPositionStep() const { return m_fixedStepsCount; } 121 bool hasFixedPositionStep() const { return m_fixedStepsCount; }
122 122
123 #ifndef NDEBUG 123 #ifndef NDEBUG
124 void dumpSteps() const; 124 void dumpSteps() const;
125 #endif 125 #endif
126 126
127 #if !ASSERT_DISABLED 127 #if ASSERT_ENABLED
128 bool isTopmostRenderView(const RenderObject* renderer) const; 128 bool isTopmostRenderView(const RenderObject* renderer) const;
129 #endif 129 #endif
130 130
131 typedef Vector<RenderGeometryMapStep, 32> RenderGeometryMapSteps; 131 typedef Vector<RenderGeometryMapStep, 32> RenderGeometryMapSteps;
132 132
133 size_t m_insertionPosition; 133 size_t m_insertionPosition;
134 int m_nonUniformStepsCount; 134 int m_nonUniformStepsCount;
135 int m_transformedStepsCount; 135 int m_transformedStepsCount;
136 int m_fixedStepsCount; 136 int m_fixedStepsCount;
137 RenderGeometryMapSteps m_mapping; 137 RenderGeometryMapSteps m_mapping;
138 LayoutSize m_accumulatedOffset; 138 LayoutSize m_accumulatedOffset;
139 MapCoordinatesFlags m_mapCoordinatesFlags; 139 MapCoordinatesFlags m_mapCoordinatesFlags;
140 }; 140 };
141 141
142 } // namespace WebCore 142 } // namespace WebCore
143 143
144 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS(WebCore::RenderGeometryMapSte p); 144 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS(WebCore::RenderGeometryMapSte p);
145 145
146 #endif // RenderGeometryMap_h 146 #endif // RenderGeometryMap_h
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderBlockFlow.cpp ('k') | Source/core/rendering/RenderGeometryMap.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698