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

Unified Diff: Source/core/html/HTMLDialogElement.cpp

Issue 132333018: Revert of Reland r165710 "Replace RenderFullScreen with top layer" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 11 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 | « Source/core/html/HTMLDialogElement.h ('k') | Source/core/html/HTMLPlugInElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLDialogElement.cpp
diff --git a/Source/core/html/HTMLDialogElement.cpp b/Source/core/html/HTMLDialogElement.cpp
index 73b9ff3abb59f47ab3d04a73e3323033f4a332c5..bb8952226746c71671082f012ccf8bb355c19bbb 100644
--- a/Source/core/html/HTMLDialogElement.cpp
+++ b/Source/core/html/HTMLDialogElement.cpp
@@ -94,7 +94,6 @@
, m_centeringMode(Uninitialized)
, m_centeredPosition(0)
, m_returnValue("")
- , m_modal(false)
{
ScriptWrappable::init(this);
}
@@ -113,13 +112,6 @@
closeDialog(returnValue);
}
-void HTMLDialogElement::removedFrom(ContainerNode* insertionPoint)
-{
- // FIXME: We should call inertSubtreesChanged if needed here.
- m_modal = false;
- HTMLElement::removedFrom(insertionPoint);
-}
-
void HTMLDialogElement::closeDialog(const String& returnValue)
{
if (!fastHasAttribute(openAttr))
@@ -127,7 +119,6 @@
setBooleanAttribute(openAttr, false);
HTMLDialogElement* activeModalDialog = document().activeModalDialog();
- m_modal = false;
document().removeFromTopLayer(this);
if (activeModalDialog == this)
inertSubtreesChanged(document());
@@ -165,7 +156,6 @@
return;
}
- m_modal = true;
document().addToTopLayer(this);
setBooleanAttribute(openAttr, true);
« no previous file with comments | « Source/core/html/HTMLDialogElement.h ('k') | Source/core/html/HTMLPlugInElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698