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 bb6ac93a737c4f88ada4e718a151a599426f07b7..a2f08c30e369f9c52fbbc58e51499e407106dc9a 100644 |
--- a/third_party/WebKit/Source/web/tests/FrameSerializerTest.cpp |
+++ b/third_party/WebKit/Source/web/tests/FrameSerializerTest.cpp |
@@ -118,7 +118,7 @@ class FrameSerializerTest : public ::testing::Test, |
FrameTestHelpers::LoadFrame(helper_.WebView()->MainFrameImpl(), |
KURL(base_url_, url).GetString().Utf8().data()); |
FrameSerializer serializer(resources_, *this); |
- Frame* frame = helper_.WebView()->MainFrameImpl()->GetFrame(); |
+ Frame* frame = helper_.LocalMainFrame()->GetFrame(); |
for (; frame; frame = frame->Tree().TraverseNext()) { |
// This is safe, because tests do not do cross-site navigation |
// (and therefore don't have remote frames). |