| Index: Source/WebCore/rendering/RenderView.h
|
| ===================================================================
|
| --- Source/WebCore/rendering/RenderView.h (revision 127610)
|
| +++ Source/WebCore/rendering/RenderView.h (working copy)
|
| @@ -32,6 +32,7 @@
|
|
|
| class FlowThreadController;
|
| class RenderWidget;
|
| +class RenderQuote;
|
|
|
| #if USE(ACCELERATED_COMPOSITING)
|
| class RenderLayerCompositor;
|
| @@ -194,13 +195,13 @@
|
|
|
| void setFixedPositionedObjectsNeedLayout();
|
|
|
| - // FIXME: This is a work around because the current implementation of counters and quotes
|
| + void setRenderQuoteHead(RenderQuote* head) { m_renderQuoteHead = head; }
|
| + RenderQuote* renderQuoteHead() const { return m_renderQuoteHead; }
|
| +
|
| + // FIXME: This is a work around because the current implementation of counters
|
| // 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 addRenderQuote() { m_renderQuoteCount++; }
|
| - void removeRenderQuote() { ASSERT(m_renderQuoteCount > 0); m_renderQuoteCount--; }
|
| - bool hasRenderQuotes() { return m_renderQuoteCount; }
|
| void addRenderCounter() { m_renderCounterCount++; }
|
| void removeRenderCounter() { ASSERT(m_renderCounterCount > 0); m_renderCounterCount--; }
|
| bool hasRenderCounters() { return m_renderCounterCount; }
|
| @@ -301,7 +302,7 @@
|
| OwnPtr<FlowThreadController> m_flowThreadController;
|
| RefPtr<IntervalArena> m_intervalArena;
|
|
|
| - unsigned m_renderQuoteCount;
|
| + RenderQuote* m_renderQuoteHead;
|
| unsigned m_renderCounterCount;
|
| };
|
|
|
|
|