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

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

Issue 734813004: Get rid of continuations. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/engine/core/rendering/RenderObject.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/rendering/style/RenderStyle.h
diff --git a/sky/engine/core/rendering/style/RenderStyle.h b/sky/engine/core/rendering/style/RenderStyle.h
index 9cb4c58d8f9bf015c8f811ff6c043d82740f75da..44e29ac6551b057bb8090008910e165ba72d8c9e 100644
--- a/sky/engine/core/rendering/style/RenderStyle.h
+++ b/sky/engine/core/rendering/style/RenderStyle.h
@@ -914,18 +914,6 @@ public:
void setOutlineStyleIsAuto(OutlineIsAuto isAuto) { SET_VAR(m_background, m_outline.m_isAuto, isAuto); }
void setOutlineStyle(EBorderStyle v) { SET_VAR(m_background, m_outline.m_style, v); }
void setOutlineColor(const StyleColor& v) { SET_BORDERVALUE_COLOR(m_background, m_outline, v); }
- bool isOutlineEquivalent(const RenderStyle* otherStyle) const
- {
- // No other style, so we don't have an outline then we consider them to be the same.
- if (!otherStyle)
- return !hasOutline();
- return m_background->outline().visuallyEqual(otherStyle->m_background->outline());
- }
- void setOutlineFromStyle(const RenderStyle& o)
- {
- ASSERT(!isOutlineEquivalent(&o));
- m_background.access()->m_outline = o.m_background->m_outline;
- }
void setOverflowX(EOverflow v) { noninherited_flags.overflowX = v; }
void setOverflowY(EOverflow v) { noninherited_flags.overflowY = v; }
« no previous file with comments | « sky/engine/core/rendering/RenderObject.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698