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

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

Issue 275543003: Don't always fully repaint on viewport resize (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update FillLayer::needsFullRepaintOnContainerHeightChange() 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/style/RenderStyle.h
diff --git a/Source/core/rendering/style/RenderStyle.h b/Source/core/rendering/style/RenderStyle.h
index 25e9f3c3f222b8e7465cf4312806c74863b44695..7fa659e59de9b9424f2a34f97bdb60554e37cd74 100644
--- a/Source/core/rendering/style/RenderStyle.h
+++ b/Source/core/rendering/style/RenderStyle.h
@@ -405,6 +405,8 @@ public:
bool hasBackgroundImage() const { return m_background->background().hasImage(); }
bool hasFixedBackgroundImage() const { return m_background->background().hasFixedImage(); }
+ bool backgroundImageNeedsFullRepaintOnContainerWidthChange() const { return m_background->background().needsFullRepaintOnContainerWidthChange(); }
+ bool backgroundImageNeedsFullRepaintOnContainerHeightChange() const { return m_background->background().needsFullRepaintOnContainerHeightChange(); }
bool hasEntirelyFixedBackground() const;
« Source/core/rendering/style/FillLayer.cpp ('K') | « Source/core/rendering/style/FillLayer.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698