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

Unified Diff: Source/web/tests/FrameLoaderClientImplTest.cpp

Issue 1313083005: Oilpan: Simple clean-up in FrameLoaderClientImplTest. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/tests/FrameLoaderClientImplTest.cpp
diff --git a/Source/web/tests/FrameLoaderClientImplTest.cpp b/Source/web/tests/FrameLoaderClientImplTest.cpp
index 18579d126af04a8b544d80610c2351adca761279..494e5f291f5a2245e472ca545fa78a361a482593 100644
--- a/Source/web/tests/FrameLoaderClientImplTest.cpp
+++ b/Source/web/tests/FrameLoaderClientImplTest.cpp
@@ -86,15 +86,14 @@ protected:
{
// The test always returns the same user agent, regardless of the URL passed in.
KURL dummyURL(ParsedURLString, "about:blank");
- WTF::CString userAgent = frameLoaderClientImpl().userAgent(dummyURL).utf8();
+ WTF::CString userAgent = frameLoaderClient().userAgent(dummyURL).utf8();
return WebString::fromUTF8(userAgent.data(), userAgent.length());
}
WebLocalFrameImpl* mainFrame() { return toWebLocalFrameImpl(m_webView->mainFrame()); }
Document& document() { return *toWebLocalFrameImpl(m_mainFrame)->frame()->document(); }
MockWebFrameClient& webFrameClient() { return m_webFrameClient; }
- FrameLoaderClient& frameLoaderClient() { return frameLoaderClientImpl(); }
- FrameLoaderClientImpl& frameLoaderClientImpl() { return *toFrameLoaderClientImpl(toWebLocalFrameImpl(m_webView->mainFrame())->frame()->loader().client()); }
+ FrameLoaderClient& frameLoaderClient() { return *toFrameLoaderClientImpl(toWebLocalFrameImpl(m_webView->mainFrame())->frame()->loader().client()); }
private:
MockWebFrameClient m_webFrameClient;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698