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

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

Issue 678163002: Oilpan: move SVG property hierarchy to the heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased upto r185213 Created 6 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/RenderStyle.h ('k') | Source/core/rendering/style/SVGRenderStyle.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 Antti Koivisto (koivisto@kde.org) 2 * Copyright (C) 1999 Antti Koivisto (koivisto@kde.org)
3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved. 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved.
4 * Copyright (C) 2011 Adobe Systems Incorporated. All rights reserved. 4 * Copyright (C) 2011 Adobe Systems Incorporated. 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 1636 matching lines...) Expand 10 before | Expand all | Expand 10 after
1647 return TextEmphasisMarkDot; 1647 return TextEmphasisMarkDot;
1648 1648
1649 return TextEmphasisMarkSesame; 1649 return TextEmphasisMarkSesame;
1650 } 1650 }
1651 1651
1652 Color RenderStyle::initialTapHighlightColor() 1652 Color RenderStyle::initialTapHighlightColor()
1653 { 1653 {
1654 return RenderTheme::tapHighlightColor(); 1654 return RenderTheme::tapHighlightColor();
1655 } 1655 }
1656 1656
1657 #if ENABLE(OILPAN)
1658 const FilterOperations& RenderStyle::initialFilter()
1659 {
1660 DEFINE_STATIC_LOCAL(Persistent<FilterOperationsWrapper>, ops, (FilterOperati onsWrapper::create()));
1661 return ops->operations();
1662 }
1663 #endif
1664
1657 LayoutBoxExtent RenderStyle::imageOutsets(const NinePieceImage& image) const 1665 LayoutBoxExtent RenderStyle::imageOutsets(const NinePieceImage& image) const
1658 { 1666 {
1659 return LayoutBoxExtent(NinePieceImage::computeOutset(image.outset().top(), b orderTopWidth()), 1667 return LayoutBoxExtent(NinePieceImage::computeOutset(image.outset().top(), b orderTopWidth()),
1660 NinePieceImage::computeOutset(image.outset().right(), borderRightWidth()), 1668 NinePieceImage::computeOutset(image.outset().right(), borderRightWidth()),
1661 NinePieceImage::computeOutset(image.outset().bottom() , borderBottomWidth()), 1669 NinePieceImage::computeOutset(image.outset().bottom() , borderBottomWidth()),
1662 NinePieceImage::computeOutset(image.outset().left(), borderLeftWidth())); 1670 NinePieceImage::computeOutset(image.outset().left(), borderLeftWidth()));
1663 } 1671 }
1664 1672
1665 void RenderStyle::setBorderImageSource(PassRefPtr<StyleImage> image) 1673 void RenderStyle::setBorderImageSource(PassRefPtr<StyleImage> image)
1666 { 1674 {
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
1766 horizontal || includeLogicalRightEdge); 1774 horizontal || includeLogicalRightEdge);
1767 1775
1768 edges[BSLeft] = BorderEdge(borderLeftWidth(), 1776 edges[BSLeft] = BorderEdge(borderLeftWidth(),
1769 visitedDependentColor(CSSPropertyBorderLeftColor), 1777 visitedDependentColor(CSSPropertyBorderLeftColor),
1770 borderLeftStyle(), 1778 borderLeftStyle(),
1771 borderLeftIsTransparent(), 1779 borderLeftIsTransparent(),
1772 !horizontal || includeLogicalLeftEdge); 1780 !horizontal || includeLogicalLeftEdge);
1773 } 1781 }
1774 1782
1775 } // namespace blink 1783 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/rendering/style/RenderStyle.h ('k') | Source/core/rendering/style/SVGRenderStyle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698