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

Unified Diff: Source/core/html/parser/HTMLPreloadScannerTest.cpp

Issue 1171323003: Fix unit test style in core/{dom,editing,html}/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: whitespace fix Created 5 years, 6 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: Source/core/html/parser/HTMLPreloadScannerTest.cpp
diff --git a/Source/core/html/parser/HTMLPreloadScannerTest.cpp b/Source/core/html/parser/HTMLPreloadScannerTest.cpp
index ac0c5385a13f49f802f38a3b166b3d731b76dd8f..4d7519e9ba87125b83693efc9d35c89c32d7e1f2 100644
--- a/Source/core/html/parser/HTMLPreloadScannerTest.cpp
+++ b/Source/core/html/parser/HTMLPreloadScannerTest.cpp
@@ -56,13 +56,12 @@ public:
}
protected:
- virtual void preload(PassOwnPtr<PreloadRequest> preloadRequest)
+ void preload(PassOwnPtr<PreloadRequest> preloadRequest) override
{
m_preloadRequest = preloadRequest;
}
private:
-
OwnPtr<PreloadRequest> m_preloadRequest;
};
@@ -101,7 +100,7 @@ protected:
m_scanner = HTMLPreloadScanner::create(options, documentURL, CachedDocumentParameters::create(&m_dummyPageHolder->document(), createMediaValues()));
}
- virtual void SetUp()
+ void SetUp() override
{
runSetUp(true);
}
@@ -246,4 +245,4 @@ TEST_F(HTMLPreloadScannerTest, testPreconnect)
test(testCase);
}
-}
+} // namespace blink
« no previous file with comments | « Source/core/html/parser/HTMLParserThreadTest.cpp ('k') | Source/core/html/track/vtt/BufferedLineReaderTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698