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

Unified Diff: sky/engine/core/rendering/style/StyleRareNonInheritedData.h

Issue 1078883003: remove 'page' and 'size' since those are for printing, and that's obsolete in our world now (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: merge with trunk Created 5 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: sky/engine/core/rendering/style/StyleRareNonInheritedData.h
diff --git a/sky/engine/core/rendering/style/StyleRareNonInheritedData.h b/sky/engine/core/rendering/style/StyleRareNonInheritedData.h
index 98c9cad07c031516746f61df53e05fa7c6f961ed..c8996fc6809db51ba0300e760b629cf2805c996b 100644
--- a/sky/engine/core/rendering/style/StyleRareNonInheritedData.h
+++ b/sky/engine/core/rendering/style/StyleRareNonInheritedData.h
@@ -50,16 +50,6 @@ class StyleFlexibleBoxData;
class StyleTransformData;
class StyleWillChangeData;
-// Page size type.
-// StyleRareNonInheritedData::m_pageSize is meaningful only when
-// StyleRareNonInheritedData::m_pageSizeType is PAGE_SIZE_RESOLVED.
-enum PageSizeType {
- PAGE_SIZE_AUTO, // size: auto
- PAGE_SIZE_AUTO_LANDSCAPE, // size: landscape
- PAGE_SIZE_AUTO_PORTRAIT, // size: portrait
- PAGE_SIZE_RESOLVED // Size is fully resolved.
-};
-
// This struct is for rarely used non-inherited CSS3, CSS2, and WebKit-specific properties.
// By grouping them together, we save space, and only allocate this object when someone
// actually uses one of these properties.
@@ -101,8 +91,6 @@ public:
OwnPtr<CSSAnimationData> m_animations;
OwnPtr<CSSTransitionData> m_transitions;
- LengthSize m_pageSize;
-
RefPtr<ClipPathOperation> m_clipPath;
StyleColor m_textDecorationColor;
@@ -111,7 +99,6 @@ public:
LengthPoint m_objectPosition;
- unsigned m_pageSizeType : 2; // PageSizeType
unsigned m_transformStyle3D : 1; // ETransformStyle3D
unsigned m_backfaceVisibility : 1; // EBackfaceVisibility
« no previous file with comments | « sky/engine/core/rendering/style/RenderStyle.h ('k') | sky/engine/core/rendering/style/StyleRareNonInheritedData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698