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

Unified Diff: Source/core/frame/BarProp.cpp

Issue 131113003: Fix DOMWindow::isCurrentlyDisplayedInFrame to return false when detached (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix ScreenOrientation + test window.open. Created 6 years, 10 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: Source/core/frame/BarProp.cpp
diff --git a/Source/core/frame/BarProp.cpp b/Source/core/frame/BarProp.cpp
index 9483a38258a70e5027fdeda4858e52f3b20018f7..e4de0eaaca573ad7b73a6405699e1521f97d8e22 100644
--- a/Source/core/frame/BarProp.cpp
+++ b/Source/core/frame/BarProp.cpp
@@ -44,7 +44,6 @@ BarProp::BarProp(LocalFrame* frame, Type type)
bool BarProp::visible() const
{
- ASSERT(m_frame);
if (!m_frame)
return false;
FrameHost* host = m_frame->host();

Powered by Google App Engine
This is Rietveld 408576698