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

Unified Diff: third_party/WebKit/Source/core/dom/NodeComputedStyle.h

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
« no previous file with comments | « third_party/WebKit/Source/core/dom/Node.cpp ('k') | third_party/WebKit/Source/core/dom/NodeIterator.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/NodeComputedStyle.h
diff --git a/third_party/WebKit/Source/core/dom/NodeComputedStyle.h b/third_party/WebKit/Source/core/dom/NodeComputedStyle.h
index 7cde9b2e8070d78d577a1a9214a51a8e7283749e..8ba226ca765bf86c36cae8d95a18a37742c764de 100644
--- a/third_party/WebKit/Source/core/dom/NodeComputedStyle.h
+++ b/third_party/WebKit/Source/core/dom/NodeComputedStyle.h
@@ -41,9 +41,10 @@ inline const ComputedStyle* Node::computedStyle() const {
inline ComputedStyle* Node::mutableComputedStyle() const {
if (LayoutObject* layoutObject = this->layoutObject())
return layoutObject->mutableStyle();
- // <option> and <optgroup> can be styled even if they don't get layout objects,
- // so they store their style internally and return it through nonLayoutObjectComputedStyle().
- // We check here explicitly to avoid the virtual call in the common case.
+ // <option> and <optgroup> can be styled even if they don't get layout
+ // objects, so they store their style internally and return it through
+ // nonLayoutObjectComputedStyle(). We check here explicitly to avoid the
+ // virtual call in the common case.
if (isHTMLOptGroupElement(*this) || isHTMLOptionElement(this))
return nonLayoutObjectComputedStyle();
return 0;
« no previous file with comments | « third_party/WebKit/Source/core/dom/Node.cpp ('k') | third_party/WebKit/Source/core/dom/NodeIterator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698