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

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

Issue 306483011: Combine background repaint conditions in RenderStyle and RenderObject (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add missing small-apple.jpg Created 6 years, 7 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
Index: Source/core/rendering/RenderObject.h
diff --git a/Source/core/rendering/RenderObject.h b/Source/core/rendering/RenderObject.h
index 95a00b5e2f49aa709e52da1aa5602b36db140356..5d77216aa25a39e56c919acc5708e666f70c6214 100644
--- a/Source/core/rendering/RenderObject.h
+++ b/Source/core/rendering/RenderObject.h
@@ -526,7 +526,10 @@ public:
bool hasBoxDecorations() const { return m_bitfields.boxDecorationState() != NoBoxDecorations; }
bool backgroundIsKnownToBeObscured();
bool borderImageIsLoadedAndCanBeRendered() const;
- bool mustRepaintBackgroundOrBorder() const;
+ bool mustRepaintBackgroundOrBorderOnWidthChange() const;
+ bool mustRepaintBackgroundOrBorderOnHeightChange() const;
+ bool mustRepaintFillLayersOnWidthChange(const FillLayer*) const;
esprehn 2014/05/29 22:20:12 References
Xianzhu 2014/05/30 00:47:56 Done.
+ bool mustRepaintFillLayersOnHeightChange(const FillLayer*) const;
bool hasBackground() const { return style()->hasBackground(); }
bool hasEntirelyFixedBackground() const;

Powered by Google App Engine
This is Rietveld 408576698