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

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

Issue 285103003: [RAL] Make sure RenderLayers are invalidated when moved. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add test expectations for mac 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..fdfcfb0d35fe5a7a0c9ab4b92c2e4fd93d352f02 100644
--- a/Source/core/rendering/RenderObject.h
+++ b/Source/core/rendering/RenderObject.h
@@ -1002,9 +1002,10 @@ public:
void setLayoutDidGetCalled(bool b) { m_bitfields.setLayoutDidGetCalled(b); }
bool mayNeedInvalidation() { return m_bitfields.mayNeedInvalidation(); }
+ void setSelfMayNeedInvalidation(bool b) { m_bitfields.setMayNeedInvalidation(b); }
void setMayNeedInvalidation(bool b)
{
- m_bitfields.setMayNeedInvalidation(b);
+ setSelfMayNeedInvalidation(b);
// Make sure our parent is marked as needing invalidation.
if (b && parent() && !parent()->mayNeedInvalidation())
« Source/core/rendering/RenderBlock.cpp ('K') | « Source/core/rendering/RenderBlock.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698