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

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

Issue 775753002: Remove RenderFlowThread::offsetFromLogicalTopOfFirstRegion(). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: code review Created 6 years 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/RenderFlowThread.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 198ba18f1a9f6aff126cd819aa0d7330638e29e9..c1504d2a13f31931c2350e7fdd8967c32d1fbf7f 100644
--- a/Source/core/rendering/RenderView.h
+++ b/Source/core/rendering/RenderView.h
@@ -160,8 +160,8 @@ public:
double layoutViewportWidth() const;
double layoutViewportHeight() const;
- void pushLayoutState(LayoutState&);
- void popLayoutState();
+ void pushLayoutState(LayoutState& layoutState) { m_layoutState = &layoutState; }
+ void popLayoutState() { ASSERT(m_layoutState); m_layoutState = m_layoutState->next(); }
virtual void invalidateTreeIfNeeded(const PaintInvalidationState&) override final;
private:
« no previous file with comments | « Source/core/rendering/RenderFlowThread.cpp ('k') | Source/core/rendering/RenderView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698