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

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

Issue 397733004: Allow assertions to be enabled in Blink Release builds. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased. Created 6 years, 5 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/RenderText.cpp ('k') | Source/core/rendering/RenderView.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) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * Copyright (C) 2006 Apple Computer, Inc. 3 * Copyright (C) 2006 Apple Computer, Inc.
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 virtual void mapAbsoluteToLocalPoint(MapCoordinatesFlags, TransformState&) c onst OVERRIDE; 162 virtual void mapAbsoluteToLocalPoint(MapCoordinatesFlags, TransformState&) c onst OVERRIDE;
163 virtual void computeSelfHitTestRects(Vector<LayoutRect>&, const LayoutPoint& layerOffset) const OVERRIDE; 163 virtual void computeSelfHitTestRects(Vector<LayoutRect>&, const LayoutPoint& layerOffset) const OVERRIDE;
164 164
165 virtual void invalidateTreeIfNeeded(const PaintInvalidationState&) OVERRIDE FINAL; 165 virtual void invalidateTreeIfNeeded(const PaintInvalidationState&) OVERRIDE FINAL;
166 166
167 bool shouldRepaint(const LayoutRect&) const; 167 bool shouldRepaint(const LayoutRect&) const;
168 168
169 bool rootFillsViewportBackground(RenderBox* rootBox) const; 169 bool rootFillsViewportBackground(RenderBox* rootBox) const;
170 170
171 void layoutContent(); 171 void layoutContent();
172 #ifndef NDEBUG 172 #if ENABLE(ASSERT)
173 void checkLayoutState(); 173 void checkLayoutState();
174 #endif 174 #endif
175 175
176 void positionDialog(RenderBox*); 176 void positionDialog(RenderBox*);
177 void positionDialogs(); 177 void positionDialogs();
178 178
179 friend class ForceHorriblySlowRectMapping; 179 friend class ForceHorriblySlowRectMapping;
180 180
181 bool shouldUsePrintingLayout() const; 181 bool shouldUsePrintingLayout() const;
182 182
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 m_paintInvalidationState->m_cachedOffsetsEnabled = true; 227 m_paintInvalidationState->m_cachedOffsetsEnabled = true;
228 } 228 }
229 private: 229 private:
230 const PaintInvalidationState* m_paintInvalidationState; 230 const PaintInvalidationState* m_paintInvalidationState;
231 bool m_didDisable; 231 bool m_didDisable;
232 }; 232 };
233 233
234 } // namespace WebCore 234 } // namespace WebCore
235 235
236 #endif // RenderView_h 236 #endif // RenderView_h
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderText.cpp ('k') | Source/core/rendering/RenderView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698