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

Unified Diff: Source/core/rendering/style/StyleDifference.h

Issue 250773002: Reland "Recompute overflow after transform changes" (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@build_hack
Patch Set: again... Created 6 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
« no previous file with comments | « Source/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: Source/core/rendering/style/StyleDifference.h
diff --git a/Source/core/rendering/style/StyleDifference.h b/Source/core/rendering/style/StyleDifference.h
index 2d1e19c145d626f7fae065fec3300589e4afe250..dac2899d04470a1b6f97f9b08a6dc40b449d8a8a 100644
--- a/Source/core/rendering/style/StyleDifference.h
+++ b/Source/core/rendering/style/StyleDifference.h
@@ -54,16 +54,6 @@ public:
m_repaintType = NoRepaint;
}
- // Only overflow needs to be recomputed.
- bool needsSimplifiedLayout() const { return m_layoutType & SimplifiedLayout; }
- void setNeedsSimplifiedLayout()
- {
- if (!needsFullLayout())
- m_layoutType |= SimplifiedLayout;
- // FIXME: This is temporary to keep the StyleDifferenceLegacy behavior.
- m_repaintType = NoRepaint;
- }
-
bool needsFullLayout() const { return m_layoutType == FullLayout; }
void setNeedsFullLayout()
{
@@ -85,10 +75,9 @@ private:
enum LayoutType {
NoLayout = 0,
PositionedMovement = 1 << 0,
- SimplifiedLayout = 1 << 1,
- FullLayout = 1 << 2
+ FullLayout = 1 << 1
};
- unsigned m_layoutType : 3;
+ unsigned m_layoutType : 2;
};
} // namespace WebCore
« no previous file with comments | « Source/core/rendering/RenderObject.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698