| Index: Source/core/frame/FrameView.h
|
| diff --git a/Source/core/frame/FrameView.h b/Source/core/frame/FrameView.h
|
| index 695312d437f22c9c6a58e024aaae0ddddda96911..9ff3829a9781ec11f422ee487b3c465f2eabc7cd 100644
|
| --- a/Source/core/frame/FrameView.h
|
| +++ b/Source/core/frame/FrameView.h
|
| @@ -576,7 +576,7 @@ public:
|
|
|
| int viewportWidth() const;
|
|
|
| - LayoutAnalyzer& layoutAnalyzer() { return m_analyzer; }
|
| + LayoutAnalyzer* layoutAnalyzer() { return m_analyzer.get(); }
|
|
|
| protected:
|
| // Scroll the content via the compositor.
|
| @@ -717,6 +717,7 @@ private:
|
|
|
| ScrollingCoordinator* scrollingCoordinator();
|
|
|
| + void prepareLayoutAnalyzer();
|
| PassRefPtr<TracedValue> analyzerCounters();
|
|
|
| // LayoutObject for the viewport-defining element (see Document::viewportDefiningElement).
|
| @@ -850,7 +851,7 @@ private:
|
|
|
| bool m_clipsRepaints;
|
|
|
| - LayoutAnalyzer m_analyzer;
|
| + OwnPtr<LayoutAnalyzer> m_analyzer;
|
| };
|
|
|
| inline void FrameView::incrementVisuallyNonEmptyCharacterCount(unsigned count)
|
|
|