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

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

Issue 20300002: Fix trailing whitespace in .cpp, .h, and .idl files (ex. Source/core) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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
« no previous file with comments | « Source/web/tests/PrerenderingTest.cpp ('k') | Source/weborigin/KURL.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/tests/WebFrameTest.cpp
diff --git a/Source/web/tests/WebFrameTest.cpp b/Source/web/tests/WebFrameTest.cpp
index 1bcee0fe62ee4fd471c6522f40006d6f5458c7e6..96601bbcff58bbdb3b69d50c16e9e49bedf7d67c 100644
--- a/Source/web/tests/WebFrameTest.cpp
+++ b/Source/web/tests/WebFrameTest.cpp
@@ -238,7 +238,7 @@ TEST_F(WebFrameTest, FormWithNullFrame)
TEST_F(WebFrameTest, ChromePageJavascript)
{
registerMockedChromeURLLoad("history.html");
-
+
// Pass true to enable JavaScript.
m_webView = FrameTestHelpers::createWebViewAndLoad(m_chromeURL + "history.html", true);
@@ -278,7 +278,7 @@ TEST_F(WebFrameTest, DispatchMessageEventWithOriginCheck)
// Pass true to enable JavaScript.
m_webView = FrameTestHelpers::createWebViewAndLoad(m_baseURL + "postmessage_test.html", true);
-
+
// Send a message with the correct origin.
WebSecurityOrigin correctOrigin(WebSecurityOrigin::create(toKURL(m_baseURL)));
WebDOMEvent event = m_webView->mainFrame()->document().createEvent("MessageEvent");
@@ -1955,13 +1955,13 @@ public:
{
}
- virtual void didCreateFrame(WebFrame* parent, WebFrame* child)
+ virtual void didCreateFrame(WebFrame* parent, WebFrame* child)
{
m_frameCount++;
if (!m_parent)
m_parent = parent;
}
-
+
int m_frameCount;
WebFrame* m_parent;
};
@@ -1976,7 +1976,7 @@ TEST_F(WebFrameTest, DidCreateFrame)
TestDidCreateFrameWebFrameClient webFrameClient;
m_webView = FrameTestHelpers::createWebViewAndLoad(m_baseURL + "iframes_test.html", false, &webFrameClient);
- EXPECT_EQ(webFrameClient.m_frameCount, 3);
+ EXPECT_EQ(webFrameClient.m_frameCount, 3);
EXPECT_EQ(webFrameClient.m_parent, m_webView->mainFrame());
m_webView->close();
@@ -3176,7 +3176,7 @@ public:
EXPECT_TRUE(!m_didAccessInitialDocument);
m_didAccessInitialDocument = true;
}
-
+
bool m_didAccessInitialDocument;
};
« no previous file with comments | « Source/web/tests/PrerenderingTest.cpp ('k') | Source/weborigin/KURL.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698