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

Side by Side Diff: third_party/WebKit/Source/core/layout/LayoutView.h

Issue 2640163004: Replace ENABLE(ASSERT) with DCHECK_IS_ON(). (Closed)
Patch Set: Created 3 years, 11 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) 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 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 const LayoutObject* pushMappingToContainer( 250 const LayoutObject* pushMappingToContainer(
251 const LayoutBoxModelObject* ancestorToStopAt, 251 const LayoutBoxModelObject* ancestorToStopAt,
252 LayoutGeometryMap&) const override; 252 LayoutGeometryMap&) const override;
253 void mapAncestorToLocal(const LayoutBoxModelObject*, 253 void mapAncestorToLocal(const LayoutBoxModelObject*,
254 TransformState&, 254 TransformState&,
255 MapCoordinatesFlags) const override; 255 MapCoordinatesFlags) const override;
256 void computeSelfHitTestRects(Vector<LayoutRect>&, 256 void computeSelfHitTestRects(Vector<LayoutRect>&,
257 const LayoutPoint& layerOffset) const override; 257 const LayoutPoint& layerOffset) const override;
258 258
259 void layoutContent(); 259 void layoutContent();
260 #if ENABLE(ASSERT) 260 #if DCHECK_IS_ON()
261 void checkLayoutState(); 261 void checkLayoutState();
262 #endif 262 #endif
263 263
264 void updateFromStyle() override; 264 void updateFromStyle() override;
265 bool allowsOverflowClip() const override; 265 bool allowsOverflowClip() const override;
266 266
267 bool shouldUsePrintingLayout() const; 267 bool shouldUsePrintingLayout() const;
268 268
269 int viewLogicalWidthForBoxSizing() const; 269 int viewLogicalWidthForBoxSizing() const;
270 int viewLogicalHeightForBoxSizing() const; 270 int viewLogicalHeightForBoxSizing() const;
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 unsigned m_hitTestCount; 313 unsigned m_hitTestCount;
314 unsigned m_hitTestCacheHits; 314 unsigned m_hitTestCacheHits;
315 Persistent<HitTestCache> m_hitTestCache; 315 Persistent<HitTestCache> m_hitTestCache;
316 }; 316 };
317 317
318 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutView, isLayoutView()); 318 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutView, isLayoutView());
319 319
320 } // namespace blink 320 } // namespace blink
321 321
322 #endif // LayoutView_h 322 #endif // LayoutView_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698