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

Unified Diff: webkit/glue/iframe_redirect_unittest.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/glue_util.cc ('k') | webkit/glue/image_resource_fetcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/iframe_redirect_unittest.cc
===================================================================
--- webkit/glue/iframe_redirect_unittest.cc (revision 22886)
+++ webkit/glue/iframe_redirect_unittest.cc (working copy)
@@ -11,14 +11,15 @@
#include "base/file_util.h"
#include "base/string_util.h"
#include "webkit/api/public/WebDataSource.h"
+#include "webkit/api/public/WebFrame.h"
#include "webkit/api/public/WebURL.h"
#include "webkit/api/public/WebVector.h"
#include "webkit/glue/webkit_glue.h"
-#include "webkit/glue/webframe.h"
#include "webkit/glue/webview.h"
#include "webkit/tools/test_shell/test_shell_test.h"
using WebKit::WebDataSource;
+using WebKit::WebFrame;
using WebKit::WebURL;
using WebKit::WebVector;
@@ -39,7 +40,7 @@
WebFrame* iframe = test_shell_->webView()->GetFrameWithName(L"ifr");
ASSERT_TRUE(iframe != NULL);
- WebDataSource* iframe_ds = iframe->GetDataSource();
+ WebDataSource* iframe_ds = iframe->dataSource();
ASSERT_TRUE(iframe_ds != NULL);
WebVector<WebURL> redirects;
iframe_ds->redirectChain(redirects);
« no previous file with comments | « webkit/glue/glue_util.cc ('k') | webkit/glue/image_resource_fetcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698