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

Side by Side Diff: sky/engine/core/rendering/RenderBox.h

Issue 673403002: Remove compiler feature detection for = delete (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Don't remove #define for FINAL Created 6 years, 2 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
« no previous file with comments | « sky/engine/core/rendering/RenderBlock.h ('k') | sky/engine/core/rendering/RenderInline.h » ('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 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * Copyright (C) 2003, 2006, 2007 Apple Inc. All rights reserved. 4 * Copyright (C) 2003, 2006, 2007 Apple Inc. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 700 matching lines...) Expand 10 before | Expand all | Expand 10 after
711 return *m_rareData.get(); 711 return *m_rareData.get();
712 } 712 }
713 713
714 void savePreviousBorderBoxSizeIfNeeded(); 714 void savePreviousBorderBoxSizeIfNeeded();
715 LayoutSize computePreviousBorderBoxSize(const LayoutSize& previousBoundsSize ) const; 715 LayoutSize computePreviousBorderBoxSize(const LayoutSize& previousBoundsSize ) const;
716 716
717 bool logicalHeightComputesAsNone(SizeType) const; 717 bool logicalHeightComputesAsNone(SizeType) const;
718 718
719 virtual InvalidationReason invalidatePaintIfNeeded(const PaintInvalidationSt ate&, const RenderLayerModelObject& newPaintInvalidationContainer) override fina l; 719 virtual InvalidationReason invalidatePaintIfNeeded(const PaintInvalidationSt ate&, const RenderLayerModelObject& newPaintInvalidationContainer) override fina l;
720 720
721 bool isBox() const WTF_DELETED_FUNCTION; // This will catch anyone doing an unnecessary check. 721 bool isBox() const = delete; // This will catch anyone doing an unnecessary check.
722 722
723 // The width/height of the contents + borders + padding. The x/y location i s relative to our container (which is not always our parent). 723 // The width/height of the contents + borders + padding. The x/y location i s relative to our container (which is not always our parent).
724 LayoutRect m_frameRect; 724 LayoutRect m_frameRect;
725 725
726 // Our intrinsic height, used for min-height: min-content etc. Maintained by 726 // Our intrinsic height, used for min-height: min-content etc. Maintained by
727 // updateLogicalHeight. This is logicalHeight() before it is clamped to 727 // updateLogicalHeight. This is logicalHeight() before it is clamped to
728 // min/max. 728 // min/max.
729 mutable LayoutUnit m_intrinsicContentLogicalHeight; 729 mutable LayoutUnit m_intrinsicContentLogicalHeight;
730 730
731 void inflatePaintInvalidationRectForReflectionAndFilter(LayoutRect&) const; 731 void inflatePaintInvalidationRectForReflectionAndFilter(LayoutRect&) const;
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
784 if (UNLIKELY(inlineBoxWrapper() != 0)) 784 if (UNLIKELY(inlineBoxWrapper() != 0))
785 deleteLineBoxWrapper(); 785 deleteLineBoxWrapper();
786 } 786 }
787 787
788 ensureRareData().m_inlineBoxWrapper = boxWrapper; 788 ensureRareData().m_inlineBoxWrapper = boxWrapper;
789 } 789 }
790 790
791 } // namespace blink 791 } // namespace blink
792 792
793 #endif // RenderBox_h 793 #endif // RenderBox_h
OLDNEW
« no previous file with comments | « sky/engine/core/rendering/RenderBlock.h ('k') | sky/engine/core/rendering/RenderInline.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698