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

Unified Diff: third_party/WebKit/Source/core/dom/DocumentTest.cpp

Issue 2390543002: Reflow comments in core/dom/. (Closed)
Patch Set: Reformat comments in core/dom/. Created 4 years, 2 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: third_party/WebKit/Source/core/dom/DocumentTest.cpp
diff --git a/third_party/WebKit/Source/core/dom/DocumentTest.cpp b/third_party/WebKit/Source/core/dom/DocumentTest.cpp
index f8b816519343eded8842516801127df74ac5168c..248fbd35cf7f955bdb41f76f46e7b7b1b1a88875 100644
--- a/third_party/WebKit/Source/core/dom/DocumentTest.cpp
+++ b/third_party/WebKit/Source/core/dom/DocumentTest.cpp
@@ -69,8 +69,8 @@ void DocumentTest::setHtmlInnerHTML(const char* htmlContent) {
document().view()->updateAllLifecyclePhases();
}
-// This tests that we properly resize and re-layout pages for printing in the presence of
-// media queries effecting elements in a subtree layout boundary
+// This tests that we properly resize and re-layout pages for printing in the
+// presence of media queries effecting elements in a subtree layout boundary
TEST_F(DocumentTest, PrintRelayout) {
setHtmlInnerHTML(
"<style>"
@@ -99,7 +99,8 @@ TEST_F(DocumentTest, PrintRelayout) {
EXPECT_EQ(document().documentElement()->offsetWidth(), 800);
}
-// This test checks that Documunt::linkManifest() returns a value conform to the specification.
+// This test checks that Documunt::linkManifest() returns a value conform to the
+// specification.
TEST_F(DocumentTest, LinkManifest) {
// Test the default result.
EXPECT_EQ(0, document().linkManifest());
@@ -205,7 +206,8 @@ TEST_F(DocumentTest, referrerPolicyParsing) {
for (auto test : tests) {
document().setReferrerPolicy(ReferrerPolicyDefault);
if (test.isLegacy) {
- // Legacy keyword support must be explicitly enabled for the policy to parse successfully.
+ // Legacy keyword support must be explicitly enabled for the policy to
+ // parse successfully.
document().parseAndSetReferrerPolicy(test.policy);
EXPECT_EQ(ReferrerPolicyDefault, document().getReferrerPolicy());
document().parseAndSetReferrerPolicy(test.policy, true);
« no previous file with comments | « third_party/WebKit/Source/core/dom/DocumentStyleSheetCollector.cpp ('k') | third_party/WebKit/Source/core/dom/Element.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698