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

Side by Side Diff: sky/engine/core/rendering/style/StyleRareNonInheritedData.cpp

Issue 869393002: Remove hasInlineTransform bit. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 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
« no previous file with comments | « sky/engine/core/rendering/style/StyleRareNonInheritedData.h ('k') | no next file » | 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 Antti Koivisto (koivisto@kde.org) 2 * Copyright (C) 1999 Antti Koivisto (koivisto@kde.org)
3 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved.
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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 , m_hasAspectRatio(false) 60 , m_hasAspectRatio(false)
61 , m_touchAction(RenderStyle::initialTouchAction()) 61 , m_touchAction(RenderStyle::initialTouchAction())
62 , m_objectFit(RenderStyle::initialObjectFit()) 62 , m_objectFit(RenderStyle::initialObjectFit())
63 , m_justifyItems(RenderStyle::initialJustifyItems()) 63 , m_justifyItems(RenderStyle::initialJustifyItems())
64 , m_justifyItemsOverflowAlignment(RenderStyle::initialJustifyItemsOverflowAl ignment()) 64 , m_justifyItemsOverflowAlignment(RenderStyle::initialJustifyItemsOverflowAl ignment())
65 , m_justifyItemsPositionType(RenderStyle::initialJustifyItemsPositionType()) 65 , m_justifyItemsPositionType(RenderStyle::initialJustifyItemsPositionType())
66 , m_justifySelf(RenderStyle::initialJustifySelf()) 66 , m_justifySelf(RenderStyle::initialJustifySelf())
67 , m_justifySelfOverflowAlignment(RenderStyle::initialJustifySelfOverflowAlig nment()) 67 , m_justifySelfOverflowAlignment(RenderStyle::initialJustifySelfOverflowAlig nment())
68 , m_scrollBehavior(RenderStyle::initialScrollBehavior()) 68 , m_scrollBehavior(RenderStyle::initialScrollBehavior())
69 , m_requiresAcceleratedCompositingForExternalReasons(false) 69 , m_requiresAcceleratedCompositingForExternalReasons(false)
70 , m_hasInlineTransform(false)
71 { 70 {
72 m_maskBoxImage.setMaskDefaults(); 71 m_maskBoxImage.setMaskDefaults();
73 } 72 }
74 73
75 StyleRareNonInheritedData::StyleRareNonInheritedData(const StyleRareNonInherited Data& o) 74 StyleRareNonInheritedData::StyleRareNonInheritedData(const StyleRareNonInherited Data& o)
76 : RefCounted<StyleRareNonInheritedData>() 75 : RefCounted<StyleRareNonInheritedData>()
77 , opacity(o.opacity) 76 , opacity(o.opacity)
78 , m_aspectRatioDenominator(o.m_aspectRatioDenominator) 77 , m_aspectRatioDenominator(o.m_aspectRatioDenominator)
79 , m_aspectRatioNumerator(o.m_aspectRatioNumerator) 78 , m_aspectRatioNumerator(o.m_aspectRatioNumerator)
80 , m_perspective(o.m_perspective) 79 , m_perspective(o.m_perspective)
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 , m_hasAspectRatio(o.m_hasAspectRatio) 111 , m_hasAspectRatio(o.m_hasAspectRatio)
113 , m_touchAction(o.m_touchAction) 112 , m_touchAction(o.m_touchAction)
114 , m_objectFit(o.m_objectFit) 113 , m_objectFit(o.m_objectFit)
115 , m_justifyItems(o.m_justifyItems) 114 , m_justifyItems(o.m_justifyItems)
116 , m_justifyItemsOverflowAlignment(o.m_justifyItemsOverflowAlignment) 115 , m_justifyItemsOverflowAlignment(o.m_justifyItemsOverflowAlignment)
117 , m_justifyItemsPositionType(o.m_justifyItemsPositionType) 116 , m_justifyItemsPositionType(o.m_justifyItemsPositionType)
118 , m_justifySelf(o.m_justifySelf) 117 , m_justifySelf(o.m_justifySelf)
119 , m_justifySelfOverflowAlignment(o.m_justifySelfOverflowAlignment) 118 , m_justifySelfOverflowAlignment(o.m_justifySelfOverflowAlignment)
120 , m_scrollBehavior(o.m_scrollBehavior) 119 , m_scrollBehavior(o.m_scrollBehavior)
121 , m_requiresAcceleratedCompositingForExternalReasons(o.m_requiresAccelerated CompositingForExternalReasons) 120 , m_requiresAcceleratedCompositingForExternalReasons(o.m_requiresAccelerated CompositingForExternalReasons)
122 , m_hasInlineTransform(o.m_hasInlineTransform)
123 { 121 {
124 } 122 }
125 123
126 StyleRareNonInheritedData::~StyleRareNonInheritedData() 124 StyleRareNonInheritedData::~StyleRareNonInheritedData()
127 { 125 {
128 } 126 }
129 127
130 bool StyleRareNonInheritedData::operator==(const StyleRareNonInheritedData& o) c onst 128 bool StyleRareNonInheritedData::operator==(const StyleRareNonInheritedData& o) c onst
131 { 129 {
132 return opacity == o.opacity 130 return opacity == o.opacity
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 && m_wrapThrough == o.m_wrapThrough 164 && m_wrapThrough == o.m_wrapThrough
167 && m_hasAspectRatio == o.m_hasAspectRatio 165 && m_hasAspectRatio == o.m_hasAspectRatio
168 && m_touchAction == o.m_touchAction 166 && m_touchAction == o.m_touchAction
169 && m_objectFit == o.m_objectFit 167 && m_objectFit == o.m_objectFit
170 && m_justifyItems == o.m_justifyItems 168 && m_justifyItems == o.m_justifyItems
171 && m_justifyItemsOverflowAlignment == o.m_justifyItemsOverflowAlignment 169 && m_justifyItemsOverflowAlignment == o.m_justifyItemsOverflowAlignment
172 && m_justifyItemsPositionType == o.m_justifyItemsPositionType 170 && m_justifyItemsPositionType == o.m_justifyItemsPositionType
173 && m_justifySelf == o.m_justifySelf 171 && m_justifySelf == o.m_justifySelf
174 && m_justifySelfOverflowAlignment == o.m_justifySelfOverflowAlignment 172 && m_justifySelfOverflowAlignment == o.m_justifySelfOverflowAlignment
175 && m_scrollBehavior == o.m_scrollBehavior 173 && m_scrollBehavior == o.m_scrollBehavior
176 && m_requiresAcceleratedCompositingForExternalReasons == o.m_requiresAcc eleratedCompositingForExternalReasons 174 && m_requiresAcceleratedCompositingForExternalReasons == o.m_requiresAcc eleratedCompositingForExternalReasons;
177 && m_hasInlineTransform == o.m_hasInlineTransform;
178 } 175 }
179 176
180 bool StyleRareNonInheritedData::counterDataEquivalent(const StyleRareNonInherite dData& o) const 177 bool StyleRareNonInheritedData::counterDataEquivalent(const StyleRareNonInherite dData& o) const
181 { 178 {
182 return dataEquivalent(m_counterDirectives, o.m_counterDirectives); 179 return dataEquivalent(m_counterDirectives, o.m_counterDirectives);
183 } 180 }
184 181
185 bool StyleRareNonInheritedData::shadowDataEquivalent(const StyleRareNonInherited Data& o) const 182 bool StyleRareNonInheritedData::shadowDataEquivalent(const StyleRareNonInherited Data& o) const
186 { 183 {
187 return dataEquivalent(m_boxShadow, o.m_boxShadow); 184 return dataEquivalent(m_boxShadow, o.m_boxShadow);
(...skipping 16 matching lines...) Expand all
204 return false; 201 return false;
205 return m_transitions->transitionsMatchForStyleRecalc(*o.m_transitions); 202 return m_transitions->transitionsMatchForStyleRecalc(*o.m_transitions);
206 } 203 }
207 204
208 bool StyleRareNonInheritedData::hasFilters() const 205 bool StyleRareNonInheritedData::hasFilters() const
209 { 206 {
210 return m_filter.get() && !m_filter->m_operations.isEmpty(); 207 return m_filter.get() && !m_filter->m_operations.isEmpty();
211 } 208 }
212 209
213 } // namespace blink 210 } // namespace blink
OLDNEW
« no previous file with comments | « sky/engine/core/rendering/style/StyleRareNonInheritedData.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698