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

Unified Diff: third_party/WebKit/Source/web/WebDocument.cpp

Issue 2868743002: Provide a way to obtain WebLocalFrameBase from a LocalFrame. (Closed)
Patch Set: Create WebLocalFrameBase::FromFrame Created 3 years, 7 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 | « third_party/WebKit/Source/web/ChromeClientImpl.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/WebDocument.cpp
diff --git a/third_party/WebKit/Source/web/WebDocument.cpp b/third_party/WebKit/Source/web/WebDocument.cpp
index cd6040cf127b077d8b09a7972fcd38bdd690d2a3..110117fbe358318db101657537c71f416e974150 100644
--- a/third_party/WebKit/Source/web/WebDocument.cpp
+++ b/third_party/WebKit/Source/web/WebDocument.cpp
@@ -41,6 +41,7 @@
#include "core/dom/Element.h"
#include "core/dom/StyleEngine.h"
#include "core/events/Event.h"
+#include "core/frame/WebLocalFrameBase.h"
#include "core/html/HTMLAllCollection.h"
#include "core/html/HTMLBodyElement.h"
#include "core/html/HTMLCollection.h"
@@ -65,7 +66,6 @@
#include "public/web/WebElementCollection.h"
#include "public/web/WebFormElement.h"
#include "v8/include/v8.h"
-#include "web/WebLocalFrameImpl.h"
namespace blink {
@@ -106,7 +106,7 @@ WebURL WebDocument::OpenSearchDescriptionURL() const {
}
WebLocalFrame* WebDocument::GetFrame() const {
- return WebLocalFrameImpl::FromFrame(ConstUnwrap<Document>()->GetFrame());
+ return WebLocalFrameBase::FromFrame(ConstUnwrap<Document>()->GetFrame());
}
bool WebDocument::IsHTMLDocument() const {
« no previous file with comments | « third_party/WebKit/Source/web/ChromeClientImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698