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

Side by Side Diff: Source/core/rendering/style/StyleRareNonInheritedData.cpp

Issue 38573005: Web Animations CSS: Fix crash when transitioning background or mask properties (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 7 years, 1 month 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/style/StyleBackgroundData.cpp ('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 21 matching lines...) Expand all
32 32
33 StyleRareNonInheritedData::StyleRareNonInheritedData() 33 StyleRareNonInheritedData::StyleRareNonInheritedData()
34 : opacity(RenderStyle::initialOpacity()) 34 : opacity(RenderStyle::initialOpacity())
35 , m_aspectRatioDenominator(RenderStyle::initialAspectRatioDenominator()) 35 , m_aspectRatioDenominator(RenderStyle::initialAspectRatioDenominator())
36 , m_aspectRatioNumerator(RenderStyle::initialAspectRatioNumerator()) 36 , m_aspectRatioNumerator(RenderStyle::initialAspectRatioNumerator())
37 , m_perspective(RenderStyle::initialPerspective()) 37 , m_perspective(RenderStyle::initialPerspective())
38 , m_perspectiveOriginX(RenderStyle::initialPerspectiveOriginX()) 38 , m_perspectiveOriginX(RenderStyle::initialPerspectiveOriginX())
39 , m_perspectiveOriginY(RenderStyle::initialPerspectiveOriginY()) 39 , m_perspectiveOriginY(RenderStyle::initialPerspectiveOriginY())
40 , lineClamp(RenderStyle::initialLineClamp()) 40 , lineClamp(RenderStyle::initialLineClamp())
41 , m_draggableRegionMode(DraggableRegionNone) 41 , m_draggableRegionMode(DraggableRegionNone)
42 , m_mask(FillLayer(MaskFillLayer)) 42 , m_mask(MaskFillLayer, true)
43 , m_pageSize() 43 , m_pageSize()
44 , m_shapeInside(RenderStyle::initialShapeInside()) 44 , m_shapeInside(RenderStyle::initialShapeInside())
45 , m_shapeOutside(RenderStyle::initialShapeOutside()) 45 , m_shapeOutside(RenderStyle::initialShapeOutside())
46 , m_shapeMargin(RenderStyle::initialShapeMargin()) 46 , m_shapeMargin(RenderStyle::initialShapeMargin())
47 , m_shapePadding(RenderStyle::initialShapePadding()) 47 , m_shapePadding(RenderStyle::initialShapePadding())
48 , m_shapeImageThreshold(RenderStyle::initialShapeImageThreshold()) 48 , m_shapeImageThreshold(RenderStyle::initialShapeImageThreshold())
49 , m_clipPath(RenderStyle::initialClipPath()) 49 , m_clipPath(RenderStyle::initialClipPath())
50 , m_visitedLinkBackgroundColor(RenderStyle::initialBackgroundColor()) 50 , m_visitedLinkBackgroundColor(RenderStyle::initialBackgroundColor())
51 , m_order(RenderStyle::initialOrder()) 51 , m_order(RenderStyle::initialOrder())
52 , m_objectPosition(RenderStyle::initialObjectPosition()) 52 , m_objectPosition(RenderStyle::initialObjectPosition())
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
297 return false; 297 return false;
298 return true; 298 return true;
299 } 299 }
300 300
301 bool StyleRareNonInheritedData::hasFilters() const 301 bool StyleRareNonInheritedData::hasFilters() const
302 { 302 {
303 return m_filter.get() && !m_filter->m_operations.isEmpty(); 303 return m_filter.get() && !m_filter->m_operations.isEmpty();
304 } 304 }
305 305
306 } // namespace WebCore 306 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/rendering/style/StyleBackgroundData.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698