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

Unified Diff: Source/core/rendering/style/StyleVisualData.cpp

Issue 462133002: Remove custom style building functions for 'clip'. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased. Created 6 years, 4 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/style/StyleVisualData.h ('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/StyleVisualData.cpp
diff --git a/Source/core/rendering/style/StyleVisualData.cpp b/Source/core/rendering/style/StyleVisualData.cpp
index 53ce659cddf785bdd62d867e84096e1d3c36d500..e1f87a587ea08961b9326fdc2695cc52038d88a8 100644
--- a/Source/core/rendering/style/StyleVisualData.cpp
+++ b/Source/core/rendering/style/StyleVisualData.cpp
@@ -27,7 +27,7 @@
namespace blink {
StyleVisualData::StyleVisualData()
- : hasClip(false)
+ : hasAutoClip(true)
, textDecoration(RenderStyle::initialTextDecoration())
, m_zoom(RenderStyle::initialZoom())
{
@@ -40,7 +40,7 @@ StyleVisualData::~StyleVisualData()
StyleVisualData::StyleVisualData(const StyleVisualData& o)
: RefCounted<StyleVisualData>()
, clip(o.clip)
- , hasClip(o.hasClip)
+ , hasAutoClip(o.hasAutoClip)
, textDecoration(o.textDecoration)
, m_zoom(RenderStyle::initialZoom())
{
« no previous file with comments | « Source/core/rendering/style/StyleVisualData.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698