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

Unified Diff: Source/core/rendering/RenderObject.cpp

Issue 607593002: Remove -webkit-border-fit (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 3 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.h ('k') | Source/core/rendering/style/RenderStyle.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderObject.cpp
diff --git a/Source/core/rendering/RenderObject.cpp b/Source/core/rendering/RenderObject.cpp
index ffefbedd7d606bb09bb58a96a38c8776d9d7a41f..b5c6c9edfa99e6b77b878c69564a8aeb8bf3f2db 100644
--- a/Source/core/rendering/RenderObject.cpp
+++ b/Source/core/rendering/RenderObject.cpp
@@ -1217,8 +1217,6 @@ const char* RenderObject::invalidationReasonToString(InvalidationReason reason)
return "incremental";
case InvalidationFull:
return "full";
- case InvalidationBorderFitLines:
- return "border fit lines";
case InvalidationBorderBoxChange:
return "border box change";
case InvalidationBoundsChange:
@@ -1321,10 +1319,6 @@ InvalidationReason RenderObject::getPaintInvalidationReason(const RenderLayerMod
if (shouldDoFullPaintInvalidation())
return m_bitfields.fullPaintInvalidationReason();
- // Presumably a background or a border exists if border-fit:lines was specified.
- if (style()->borderFit() == BorderFitLines)
- return InvalidationBorderFitLines;
-
if (compositingState() != PaintsIntoOwnBacking && newPositionFromPaintInvalidationBacking != oldPositionFromPaintInvalidationBacking)
return InvalidationLocationChange;
« no previous file with comments | « Source/core/rendering/RenderObject.h ('k') | Source/core/rendering/style/RenderStyle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698