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

Unified Diff: third_party/WebKit/Source/core/frame/DOMWindowProperty.cpp

Issue 2138003002: Remove DOMWindowProperty::willDetachGlobalObjectFromFrame (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: temp Created 4 years, 5 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/frame/DOMWindowProperty.cpp
diff --git a/third_party/WebKit/Source/core/frame/DOMWindowProperty.cpp b/third_party/WebKit/Source/core/frame/DOMWindowProperty.cpp
index 6fc921dde4b0173080f791206a402c60a694b5b8..91337808fcf307eef5d9b96aefc438364840c6b9 100644
--- a/third_party/WebKit/Source/core/frame/DOMWindowProperty.cpp
+++ b/third_party/WebKit/Source/core/frame/DOMWindowProperty.cpp
@@ -52,13 +52,6 @@ void DOMWindowProperty::willDestroyGlobalObjectInFrame()
m_frame = nullptr;
}
-void DOMWindowProperty::willDetachGlobalObjectFromFrame()
-{
- // If the property is getting this callback it must have been
- // created with a LocalFrame and it should still have it.
- ASSERT(m_frame);
-}
-
DEFINE_TRACE(DOMWindowProperty)
{
visitor->trace(m_frame);
« no previous file with comments | « third_party/WebKit/Source/core/frame/DOMWindowProperty.h ('k') | third_party/WebKit/Source/core/frame/LocalDOMWindow.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698