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

Side by Side Diff: Source/core/css/resolver/FontBuilder.h

Issue 1278103002: Oilpan: tidy up some inter-stack object references. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: use STACK_ALLOCATED() more often Created 5 years, 4 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 | « Source/core/css/parser/CSSSupportsParser.h ('k') | Source/core/css/resolver/FontBuilder.cpp » ('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 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved. 3 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved.
4 * Copyright (C) 2013 Google Inc. All rights reserved. 4 * Copyright (C) 2013 Google 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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 void setSize(FontDescription&, const FontDescription::Size&); 93 void setSize(FontDescription&, const FontDescription::Size&);
94 void updateOrientation(FontDescription&, const ComputedStyle&); 94 void updateOrientation(FontDescription&, const ComputedStyle&);
95 // This function fixes up the default font size if it detects that the curre nt generic font family has changed. -dwh 95 // This function fixes up the default font size if it detects that the curre nt generic font family has changed. -dwh
96 void checkForGenericFamilyChange(const FontDescription&, FontDescription&); 96 void checkForGenericFamilyChange(const FontDescription&, FontDescription&);
97 void updateSpecifiedSize(FontDescription&, const ComputedStyle&); 97 void updateSpecifiedSize(FontDescription&, const ComputedStyle&);
98 void updateComputedSize(FontDescription&, const ComputedStyle&); 98 void updateComputedSize(FontDescription&, const ComputedStyle&);
99 void updateAdjustedSize(FontDescription&, const ComputedStyle&, FontSelector *); 99 void updateAdjustedSize(FontDescription&, const ComputedStyle&, FontSelector *);
100 100
101 float getComputedSizeFromSpecifiedSize(FontDescription&, float effectiveZoom , float specifiedSize); 101 float getComputedSizeFromSpecifiedSize(FontDescription&, float effectiveZoom , float specifiedSize);
102 102
103 const Document& m_document; 103 RawPtrWillBeMember<const Document> m_document;
104 FontDescription m_fontDescription; 104 FontDescription m_fontDescription;
105 105
106 enum class PropertySetFlag { 106 enum class PropertySetFlag {
107 Weight, 107 Weight,
108 Size, 108 Size,
109 Stretch, 109 Stretch,
110 Family, 110 Family,
111 FeatureSettings, 111 FeatureSettings,
112 Script, 112 Script,
113 Style, 113 Style,
(...skipping 11 matching lines...) Expand all
125 125
126 void set(PropertySetFlag flag) { m_flags |= (1 << unsigned(flag)); } 126 void set(PropertySetFlag flag) { m_flags |= (1 << unsigned(flag)); }
127 bool isSet(PropertySetFlag flag) const { return m_flags & (1 << unsigned(fla g)); } 127 bool isSet(PropertySetFlag flag) const { return m_flags & (1 << unsigned(fla g)); }
128 128
129 unsigned m_flags; 129 unsigned m_flags;
130 }; 130 };
131 131
132 } 132 }
133 133
134 #endif 134 #endif
OLDNEW
« no previous file with comments | « Source/core/css/parser/CSSSupportsParser.h ('k') | Source/core/css/resolver/FontBuilder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698