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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutFullScreen.cpp

Issue 1975163002: LayoutFullScreen::m_placeholder is 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
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutFullScreen.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/layout/LayoutFullScreen.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutFullScreen.cpp b/third_party/WebKit/Source/core/layout/LayoutFullScreen.cpp
index 8be0566be3e9e9280697df64b01f987efe3ea3d4..9d8802674bd23e2c141bd0c45cd17cd60d8d0172 100644
--- a/third_party/WebKit/Source/core/layout/LayoutFullScreen.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutFullScreen.cpp
@@ -54,7 +54,7 @@ private:
void LayoutFullScreenPlaceholder::willBeDestroyed()
{
- m_owner->setPlaceholder(nullptr);
+ m_owner->resetPlaceholder();
LayoutBlockFlow::willBeDestroyed();
}
@@ -181,11 +181,6 @@ void LayoutFullScreen::unwrapLayoutObject()
destroy();
}
-void LayoutFullScreen::setPlaceholder(LayoutBlock* placeholder)
-{
- m_placeholder = placeholder;
-}
-
void LayoutFullScreen::createPlaceholder(PassRefPtr<ComputedStyle> style, const LayoutRect& frameRect)
{
if (style->width().isAuto())
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutFullScreen.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698