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

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

Issue 343593002: Include HTMLFrameOwnerElement.h in fewer headers (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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/frame/Frame.h ('k') | Source/core/html/HTMLLabelElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/Frame.cpp
diff --git a/Source/core/frame/Frame.cpp b/Source/core/frame/Frame.cpp
index db3f719f5951b14d8bae71fdb31142411de8e2df..114578ab0e31aa2367b1face1931fbb990b4ad25 100644
--- a/Source/core/frame/Frame.cpp
+++ b/Source/core/frame/Frame.cpp
@@ -193,4 +193,9 @@ void Frame::disconnectOwnerElement()
m_owner = 0;
}
+HTMLFrameOwnerElement* Frame::deprecatedLocalOwner() const
+{
+ return m_owner && m_owner->isLocal() ? toHTMLFrameOwnerElement(m_owner) : 0;
+}
+
} // namespace WebCore
« no previous file with comments | « Source/core/frame/Frame.h ('k') | Source/core/html/HTMLLabelElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698