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

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

Issue 700703002: Remove more float machinery. (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
Index: sky/engine/core/rendering/style/RenderStyle.cpp
diff --git a/sky/engine/core/rendering/style/RenderStyle.cpp b/sky/engine/core/rendering/style/RenderStyle.cpp
index 4f5fac488c3e024f2a9782e6ff5e08f23462c17b..ea84944bd66df969dcea8bec66e48f4faa8e1b8a 100644
--- a/sky/engine/core/rendering/style/RenderStyle.cpp
+++ b/sky/engine/core/rendering/style/RenderStyle.cpp
@@ -189,9 +189,7 @@ void RenderStyle::copyNonInheritedFrom(const RenderStyle* other)
noninherited_flags.overflowX = other->noninherited_flags.overflowX;
noninherited_flags.overflowY = other->noninherited_flags.overflowY;
noninherited_flags.verticalAlign = other->noninherited_flags.verticalAlign;
- noninherited_flags.clear = other->noninherited_flags.clear;
noninherited_flags.position = other->noninherited_flags.position;
- noninherited_flags.floating = other->noninherited_flags.floating;
noninherited_flags.tableLayout = other->noninherited_flags.tableLayout;
noninherited_flags.unicodeBidi = other->noninherited_flags.unicodeBidi;
noninherited_flags.pageBreakBefore = other->noninherited_flags.pageBreakBefore;
@@ -413,10 +411,8 @@ bool RenderStyle::diffNeedsFullLayoutAndPaintInvalidation(const RenderStyle& oth
if (noninherited_flags.overflowX != other.noninherited_flags.overflowX
|| noninherited_flags.overflowY != other.noninherited_flags.overflowY
- || noninherited_flags.clear != other.noninherited_flags.clear
|| noninherited_flags.unicodeBidi != other.noninherited_flags.unicodeBidi
|| noninherited_flags.position != other.noninherited_flags.position
- || noninherited_flags.floating != other.noninherited_flags.floating
|| noninherited_flags.originalDisplay != other.noninherited_flags.originalDisplay)
return true;
« no previous file with comments | « sky/engine/core/rendering/style/RenderStyle.h ('k') | sky/engine/core/rendering/style/RenderStyleConstants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698