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

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: 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 5226c90054a431aacfdb1869e050292a28cc66ab..aa5791f87345927384a54f6578aa623af2b12c95 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