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

Unified Diff: Source/web/WebFrameImpl.cpp

Issue 219903002: Revert 170347 "Convert HTMLFrameOwnerElement and FocusController..." (Closed) Base URL: svn://svn.chromium.org/blink/branches/chromium/1917/
Patch Set: Created 6 years, 9 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/web/SpellCheckerClientImpl.cpp ('k') | Source/web/WebPageSerializer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebFrameImpl.cpp
===================================================================
--- Source/web/WebFrameImpl.cpp (revision 170478)
+++ Source/web/WebFrameImpl.cpp (working copy)
@@ -728,7 +728,7 @@
Node* node = xpathResult->iterateNext(IGNORE_EXCEPTION);
if (!node || !node->isFrameOwnerElement())
return 0;
- return fromFrame(toLocalFrame(toHTMLFrameOwnerElement(node)->contentFrame()));
+ return fromFrame(toHTMLFrameOwnerElement(node)->contentFrame());
}
WebDocument WebFrameImpl::document() const
@@ -1784,7 +1784,7 @@
// FIXME: Why do we check specifically for <iframe> and <frame> here? Why can't we get the WebFrameImpl from an <object> element, for example.
if (!isHTMLFrameElementBase(element))
return 0;
- return fromFrame(toLocalFrame(toHTMLFrameElementBase(element)->contentFrame()));
+ return fromFrame(toHTMLFrameElementBase(element)->contentFrame());
}
WebViewImpl* WebFrameImpl::viewImpl() const
« no previous file with comments | « Source/web/SpellCheckerClientImpl.cpp ('k') | Source/web/WebPageSerializer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698