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

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

Issue 1977083002: Move line/continuation specific parts of willBeDestroyed() into LayoutBlockFlow. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
Index: third_party/WebKit/Source/core/layout/LayoutBlockFlow.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutBlockFlow.h b/third_party/WebKit/Source/core/layout/LayoutBlockFlow.h
index 05da9f52ff258034d2a171b764593ce50be1e535..73cc865650c7f1be92513e4c6041980ba164deed 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBlockFlow.h
+++ b/third_party/WebKit/Source/core/layout/LayoutBlockFlow.h
@@ -91,6 +91,7 @@ public:
~LayoutBlockFlow() override;
static LayoutBlockFlow* createAnonymous(Document*);
+ bool beingDestroyed() const { return m_beingDestroyed; }
bool isLayoutBlockFlow() const final { return true; }
@@ -308,6 +309,7 @@ protected:
void createFloatingObjects();
+ void willBeDestroyed() override;
void styleWillChange(StyleDifference, const ComputedStyle& newStyle) override;
void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override;

Powered by Google App Engine
This is Rietveld 408576698