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

Unified Diff: third_party/WebKit/Source/web/tests/FrameSerializerTest.cpp

Issue 2165573003: Simplify tests by using Web*Impl types directly. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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/web/tests/FrameSerializerTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/FrameSerializerTest.cpp b/third_party/WebKit/Source/web/tests/FrameSerializerTest.cpp
index 763c01b35efbc327f12406eec101133ab06fd31d..7d23579c67c90fecc156183245a569f014d8a656 100644
--- a/third_party/WebKit/Source/web/tests/FrameSerializerTest.cpp
+++ b/third_party/WebKit/Source/web/tests/FrameSerializerTest.cpp
@@ -120,7 +120,7 @@ protected:
{
FrameTestHelpers::loadFrame(m_helper.webView()->mainFrame(), KURL(m_baseUrl, url).getString().utf8().data());
FrameSerializer serializer(m_resources, *this);
- Frame* frame = m_helper.webViewImpl()->mainFrameImpl()->frame();
+ Frame* frame = m_helper.webView()->mainFrameImpl()->frame();
for (; frame; frame = frame->tree().traverseNext()) {
// This is safe, because tests do not do cross-site navigation
// (and therefore don't have remote frames).

Powered by Google App Engine
This is Rietveld 408576698