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

Unified Diff: third_party/WebKit/Source/core/css/resolver/ScopedStyleResolver.cpp

Issue 2399633003: reflow comments in core/css/resolver (Closed)
Patch Set: 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/css/resolver/ScopedStyleResolver.cpp
diff --git a/third_party/WebKit/Source/core/css/resolver/ScopedStyleResolver.cpp b/third_party/WebKit/Source/core/css/resolver/ScopedStyleResolver.cpp
index e9d24f67be7df7bd283394b81c420509bb6d7a7e..e12f67c9efa93dc04912aed99976455456945efe 100644
--- a/third_party/WebKit/Source/core/css/resolver/ScopedStyleResolver.cpp
+++ b/third_party/WebKit/Source/core/css/resolver/ScopedStyleResolver.cpp
@@ -1,6 +1,7 @@
/*
* Copyright (C) 1999 Lars Knoll (knoll@kde.org)
- * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved.
+ * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc.
+ * All rights reserved.
* Copyright (C) 2012 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -65,7 +66,8 @@ void ScopedStyleResolver::addKeyframeRules(const RuleSet& ruleSet) {
}
void ScopedStyleResolver::addFontFaceRules(const RuleSet& ruleSet) {
- // FIXME(BUG 72461): We don't add @font-face rules of scoped style sheets for the moment.
+ // FIXME(BUG 72461): We don't add @font-face rules of scoped style sheets for
+ // the moment.
if (!treeScope().rootNode().isDocumentNode())
return;
@@ -234,7 +236,8 @@ void ScopedStyleResolver::collectMatchingTreeBoundaryCrossingRules(
}
void ScopedStyleResolver::matchPageRules(PageRuleCollector& collector) {
- // Only consider the global author RuleSet for @page rules, as per the HTML5 spec.
+ // Only consider the global author RuleSet for @page rules, as per the HTML5
+ // spec.
ASSERT(m_scope->rootNode().isDocumentNode());
for (size_t i = 0; i < m_authorStyleSheets.size(); ++i)
collector.matchPageRules(&m_authorStyleSheets[i]->contents()->ruleSet());

Powered by Google App Engine
This is Rietveld 408576698