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

Unified Diff: sky/engine/core/rendering/RenderObject.h

Issue 1161623004: Remove backface visibility (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 7 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
« no previous file with comments | « sky/engine/core/rendering/RenderBox.cpp ('k') | sky/engine/core/rendering/RenderObject.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/rendering/RenderObject.h
diff --git a/sky/engine/core/rendering/RenderObject.h b/sky/engine/core/rendering/RenderObject.h
index 4a3b3bd7cd1a5ccd6c242d59b4dde9e302ae132f..b07c15c6be81a7ae24cf6077223b8791e695be78 100644
--- a/sky/engine/core/rendering/RenderObject.h
+++ b/sky/engine/core/rendering/RenderObject.h
@@ -338,7 +338,6 @@ public:
bool hasTransform() const { return m_bitfields.hasTransform(); }
bool hasClipPath() const { return style() && style()->clipPath(); }
- bool hasHiddenBackface() const { return style() && style()->backfaceVisibility() == BackfaceVisibilityHidden; }
inline bool preservesNewline() const;
@@ -361,9 +360,6 @@ public:
// is true if the renderer returned is an ancestor of paintInvalidationContainer.
RenderObject* container(const RenderBox* paintInvalidationContainer = 0, bool* paintInvalidationContainerSkipped = 0) const;
- // TODO(esprehn): Remove this.
- RenderObject* hoverAncestor() const { return parent(); }
-
Element* offsetParent() const;
void markContainingBlocksForLayout(bool scheduleRelayout = true, RenderObject* newRoot = 0, SubtreeLayoutScope* = 0);
@@ -501,6 +497,7 @@ public:
const RenderView* containerForPaintInvalidation() const;
const RenderBox* adjustCompositedContainerForSpecialAncestors(const RenderBox* paintInvalidationContainer) const;
+ // Overriden by RenderText for character length, used in line layout code.
virtual unsigned length() const { return 1; }
// FIXME(sky): Remove
@@ -592,8 +589,6 @@ public:
RespectImageOrientationEnum shouldRespectImageOrientation() const;
- bool isRelayoutBoundaryForInspector() const;
-
bool onlyNeededPositionedMovementLayout() const { return m_bitfields.onlyNeededPositionedMovementLayout(); }
void setOnlyNeededPositionedMovementLayout(bool b) { m_bitfields.setOnlyNeededPositionedMovementLayout(b); }
« no previous file with comments | « sky/engine/core/rendering/RenderBox.cpp ('k') | sky/engine/core/rendering/RenderObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698