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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutTableBoxComponent.cpp

Issue 2501833002: Fix bug of animated table col/section/row background (Closed)
Patch Set: - Created 4 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: third_party/WebKit/Source/core/layout/LayoutTableBoxComponent.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutTableBoxComponent.cpp b/third_party/WebKit/Source/core/layout/LayoutTableBoxComponent.cpp
index f9d1dbdd61f35a056a406fe239ef331d5fe30163..3a4bf18879baaedeb302bda9eb6014d0ed1337bb 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTableBoxComponent.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutTableBoxComponent.cpp
@@ -9,23 +9,6 @@
namespace blink {
-void LayoutTableBoxComponent::styleDidChange(StyleDifference diff,
- const ComputedStyle* oldStyle) {
- LayoutBox::styleDidChange(diff, oldStyle);
-
- if (parent() && oldStyle) {
- if (resolveColor(*oldStyle, CSSPropertyBackgroundColor) !=
- resolveColor(CSSPropertyBackgroundColor) ||
- oldStyle->backgroundLayers() != styleRef().backgroundLayers())
- m_backgroundChangedSinceLastPaintInvalidation = true;
- }
-}
-
-void LayoutTableBoxComponent::imageChanged(WrappedImagePtr, const IntRect*) {
- setShouldDoFullPaintInvalidation();
- m_backgroundChangedSinceLastPaintInvalidation = true;
-}
-
bool LayoutTableBoxComponent::doCellsHaveDirtyWidth(
const LayoutObject& tablePart,
const LayoutTable& table,

Powered by Google App Engine
This is Rietveld 408576698