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

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

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
Index: third_party/WebKit/Source/core/layout/LayoutFullScreen.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutFullScreen.h b/third_party/WebKit/Source/core/layout/LayoutFullScreen.h
index 9e4b42c8273c0fc2225d0041ecfb0a84f8dcab00..01bdde38e8230ff1074a8fc3fa9f2d2c6874a609 100644
--- a/third_party/WebKit/Source/core/layout/LayoutFullScreen.h
+++ b/third_party/WebKit/Source/core/layout/LayoutFullScreen.h
@@ -31,6 +31,8 @@
namespace blink {
+class LayoutBlockFlow;
+
class CORE_EXPORT LayoutFullScreen final : public LayoutFlexibleBox {
public:
static LayoutFullScreen* createAnonymous(Document*);
@@ -38,8 +40,8 @@ public:
bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectLayoutFullScreen || LayoutFlexibleBox::isOfType(type); }
const char* name() const override { return "LayoutFullScreen"; }
- void setPlaceholder(LayoutBlock*);
- LayoutBlock* placeholder() { return m_placeholder; }
+ void resetPlaceholder() { m_placeholder = nullptr; }
+ LayoutBlockFlow* placeholder() { return m_placeholder; }
void createPlaceholder(PassRefPtr<ComputedStyle>, const LayoutRect& frameRect);
@@ -56,7 +58,7 @@ private:
void willBeDestroyed() override;
protected:
- LayoutBlock* m_placeholder;
+ LayoutBlockFlow* m_placeholder;
};
DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutFullScreen, isLayoutFullScreen());
« no previous file with comments | « third_party/WebKit/Source/core/dom/Fullscreen.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutFullScreen.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698