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

Unified Diff: sky/engine/core/css/CSSToLengthConversionData.h

Issue 788883005: Remove REM units. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/engine/core/css/CSSPrimitiveValue.cpp ('k') | sky/engine/core/css/CSSToLengthConversionData.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/css/CSSToLengthConversionData.h
diff --git a/sky/engine/core/css/CSSToLengthConversionData.h b/sky/engine/core/css/CSSToLengthConversionData.h
index 7b71e68097e3e236312c0a9d57404d068124d8b4..2e52af6209a76f4449418d22531c22b33273cb73 100644
--- a/sky/engine/core/css/CSSToLengthConversionData.h
+++ b/sky/engine/core/css/CSSToLengthConversionData.h
@@ -41,10 +41,9 @@ class RenderView;
class CSSToLengthConversionData {
public:
- CSSToLengthConversionData(const RenderStyle* currStyle, const RenderStyle* rootStyle, const RenderView*, bool computingFontSize = false);
+ CSSToLengthConversionData(const RenderStyle* currStyle, const RenderView*, bool computingFontSize = false);
const RenderStyle& style() const { return *m_style; }
- const RenderStyle* rootStyle() const { return m_rootStyle; }
bool computingFontSize() const { return m_computingFontSize; }
// Accessing these marks the style as having viewport units
@@ -54,11 +53,9 @@ public:
double viewportMaxPercent() const;
void setStyle(const RenderStyle* style) { m_style = style; }
- void setRootStyle(const RenderStyle* rootStyle) { m_rootStyle = rootStyle; }
private:
const RenderStyle* m_style;
- const RenderStyle* m_rootStyle;
float m_viewportWidth;
float m_viewportHeight;
bool m_computingFontSize;
« no previous file with comments | « sky/engine/core/css/CSSPrimitiveValue.cpp ('k') | sky/engine/core/css/CSSToLengthConversionData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698