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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutView.h

Issue 2467353003: Remove pageLogicalHeightChanged() from LayoutState. (Closed)
Patch Set: Created 4 years, 1 month 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: third_party/WebKit/Source/core/layout/LayoutView.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutView.h b/third_party/WebKit/Source/core/layout/LayoutView.h
index 97662cf320e5b382f748a4e66bc96245f9bcafab..25ebd5aac88f4359bcc037466131ac9019f9c4e1 100644
--- a/third_party/WebKit/Source/core/layout/LayoutView.h
+++ b/third_party/WebKit/Source/core/layout/LayoutView.h
@@ -168,13 +168,7 @@ class CORE_EXPORT LayoutView final : public LayoutBlockFlow {
}
LayoutUnit pageLogicalHeight() const { return m_pageLogicalHeight; }
- void setPageLogicalHeight(LayoutUnit height) {
- if (m_pageLogicalHeight != height) {
- m_pageLogicalHeight = height;
- m_pageLogicalHeightChanged = true;
- }
- }
- bool pageLogicalHeightChanged() const { return m_pageLogicalHeightChanged; }
+ void setPageLogicalHeight(LayoutUnit height) { m_pageLogicalHeight = height; }
// Notification that this view moved into or out of a native window.
void setIsInWindow(bool);
@@ -308,7 +302,6 @@ class CORE_EXPORT LayoutView final : public LayoutBlockFlow {
// This is only used during printing to split the content into pages.
// Outside of printing, this is 0.
LayoutUnit m_pageLogicalHeight;
- bool m_pageLogicalHeightChanged;
// LayoutState is an optimization used during layout.
// |m_layoutState| will be nullptr outside of layout.
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutState.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698