Index: third_party/WebKit/Source/web/tests/CompositorWorkerTest.cpp |
diff --git a/third_party/WebKit/Source/web/tests/CompositorWorkerTest.cpp b/third_party/WebKit/Source/web/tests/CompositorWorkerTest.cpp |
index d60d92f8438ab1abd0e6d586c31c2928c27b29df..83e6040ceae71a22e22239a99d68c0d911d731ac 100644 |
--- a/third_party/WebKit/Source/web/tests/CompositorWorkerTest.cpp |
+++ b/third_party/WebKit/Source/web/tests/CompositorWorkerTest.cpp |
@@ -91,9 +91,7 @@ class CompositorWorkerTest |
} |
WebViewBase* GetWebView() const { return helper_.WebView(); } |
- LocalFrame* GetFrame() const { |
- return helper_.WebView()->MainFrameImpl()->GetFrame(); |
- } |
+ LocalFrame* GetFrame() const { return helper_.LocalMainFrame()->GetFrame(); } |
protected: |
String base_url_; |