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

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

Issue 884483003: Rename/move counter rendering code to layout. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 11 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
« no previous file with comments | « Source/core/rendering/RenderObjectChildList.cpp ('k') | Source/core/rendering/RenderView.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderView.h
diff --git a/Source/core/rendering/RenderView.h b/Source/core/rendering/RenderView.h
index 818107fab3078e24f8eb34096d8c5a8af94d71cb..d242079e10ac92e5da921aaa89136ce02cb77126 100644
--- a/Source/core/rendering/RenderView.h
+++ b/Source/core/rendering/RenderView.h
@@ -155,9 +155,9 @@ public:
// requires walking the entire tree repeatedly and most pages don't actually use either
// feature so we shouldn't take the performance hit when not needed. Long term we should
// rewrite the counter and quotes code.
- void addRenderCounter() { m_renderCounterCount++; }
- void removeRenderCounter() { ASSERT(m_renderCounterCount > 0); m_renderCounterCount--; }
- bool hasRenderCounters() { return m_renderCounterCount; }
+ void addLayoutCounter() { m_layoutCounterCount++; }
+ void removeLayoutCounter() { ASSERT(m_layoutCounterCount > 0); m_layoutCounterCount--; }
+ bool hasLayoutCounters() { return m_layoutCounterCount; }
virtual bool backgroundIsKnownToBeOpaqueInRect(const LayoutRect& localRect) const override;
@@ -200,7 +200,7 @@ private:
RefPtr<IntervalArena> m_intervalArena;
RawPtrWillBeMember<RenderQuote> m_renderQuoteHead;
- unsigned m_renderCounterCount;
+ unsigned m_layoutCounterCount;
unsigned m_hitTestCount;
« no previous file with comments | « Source/core/rendering/RenderObjectChildList.cpp ('k') | Source/core/rendering/RenderView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698