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

Unified Diff: webkit/glue/dom_operations.cc

Issue 164225: Switch to WebFrame from the WebKit API.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 4 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 | « webkit/glue/devtools/dom_agent_unittest.cc ('k') | webkit/glue/dom_operations_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/dom_operations.cc
===================================================================
--- webkit/glue/dom_operations.cc (revision 22886)
+++ webkit/glue/dom_operations.cc (working copy)
@@ -38,6 +38,7 @@
#include "webkit/glue/webview_impl.h"
using WebCore::String;
+using WebKit::WebFrame;
namespace {
@@ -780,7 +781,7 @@
webkit_glue::StringToStdWString(meta->content());
} else if (meta->name() == String("application-url")) {
std::string url = webkit_glue::StringToStdString(meta->content());
- GURL main_url = main_frame->GetURL();
+ GURL main_url = main_frame->url();
app_info->app_url = main_url.is_valid() ?
main_url.Resolve(url) : GURL(url);
if (!app_info->app_url.is_valid())
« no previous file with comments | « webkit/glue/devtools/dom_agent_unittest.cc ('k') | webkit/glue/dom_operations_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698