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

Unified Diff: third_party/WebKit/Source/core/exported/WebAssociatedURLLoaderImplTest.cpp

Issue 2940863005: Move loading methods from WebFrame to WebLocalFrame. (Closed)
Patch Set: Fixing build problems introduced by rebasing... 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
Index: third_party/WebKit/Source/core/exported/WebAssociatedURLLoaderImplTest.cpp
diff --git a/third_party/WebKit/Source/core/exported/WebAssociatedURLLoaderImplTest.cpp b/third_party/WebKit/Source/core/exported/WebAssociatedURLLoaderImplTest.cpp
index 31b45bb54a6d345283a54cc67464d059acfcae78..2506615bc76920c0ed9f21e60fdadbc205465f2e 100644
--- a/third_party/WebKit/Source/core/exported/WebAssociatedURLLoaderImplTest.cpp
+++ b/third_party/WebKit/Source/core/exported/WebAssociatedURLLoaderImplTest.cpp
@@ -32,6 +32,7 @@
#include <memory>
#include "core/frame/FrameTestHelpers.h"
+#include "core/frame/WebLocalFrameBase.h"
#include "platform/testing/URLTestHelpers.h"
#include "platform/testing/UnitTestHelpers.h"
#include "platform/wtf/PtrUtil.h"
@@ -237,7 +238,9 @@ class WebAssociatedURLLoaderTest : public ::testing::Test,
return !actual_response_.HttpHeaderField(header_name_string).IsEmpty();
}
- WebFrame* MainFrame() const { return helper_.WebView()->MainFrame(); }
+ WebLocalFrameBase* MainFrame() const {
+ return helper_.WebView()->MainFrameImpl();
+ }
protected:
String frame_file_path_;

Powered by Google App Engine
This is Rietveld 408576698