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

Unified Diff: chrome/renderer/web_apps.cc

Issue 2928033002: Move GetDocument method from WebFrame to WebLocalFrame. (Closed)
Patch Set: Split a DCHECK in two as suggested by boliu@. Created 3 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 | « chrome/renderer/web_apps.h ('k') | chrome/renderer/worker_content_settings_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/web_apps.cc
diff --git a/chrome/renderer/web_apps.cc b/chrome/renderer/web_apps.cc
index 43c6056cce99f2d4db846a9c291f9c6c0ad72130..1c684d716061a3c462f458eab4f8551230f2d0e9 100644
--- a/chrome/renderer/web_apps.cc
+++ b/chrome/renderer/web_apps.cc
@@ -26,14 +26,14 @@
#include "third_party/WebKit/public/platform/WebURL.h"
#include "third_party/WebKit/public/web/WebDocument.h"
#include "third_party/WebKit/public/web/WebElement.h"
-#include "third_party/WebKit/public/web/WebFrame.h"
+#include "third_party/WebKit/public/web/WebLocalFrame.h"
#include "third_party/WebKit/public/web/WebNode.h"
#include "ui/gfx/geometry/size.h"
#include "url/gurl.h"
using blink::WebDocument;
using blink::WebElement;
-using blink::WebFrame;
+using blink::WebLocalFrame;
using blink::WebNode;
using blink::WebString;
@@ -124,7 +124,7 @@ bool ParseIconSizes(const base::string16& text,
return (*is_any || !sizes->empty());
}
-void ParseWebAppFromWebDocument(WebFrame* frame,
+void ParseWebAppFromWebDocument(WebLocalFrame* frame,
WebApplicationInfo* app_info) {
WebDocument document = frame->GetDocument();
if (document.IsNull())
« no previous file with comments | « chrome/renderer/web_apps.h ('k') | chrome/renderer/worker_content_settings_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698