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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutListBox.cpp

Issue 2394263004: Reformat comments in core/layout up until LayoutMultiColumnFlowThread (Closed)
Patch Set: Rebase w/HEAD 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/layout/LayoutListBox.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutListBox.cpp b/third_party/WebKit/Source/core/layout/LayoutListBox.cpp
index 67b60000da3e8898ca73d1e04e5dcbf3eba42b8d..807d2266555478232eb8a169efd1616765c2efe8 100644
--- a/third_party/WebKit/Source/core/layout/LayoutListBox.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutListBox.cpp
@@ -1,6 +1,7 @@
/*
* Copyright (C) 2006, 2007, 2008, 2011 Apple Inc. All rights reserved.
- * 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmobile.com/)
+ * 2009 Torch Mobile Inc. All rights reserved.
+ * (http://www.torchmobile.com/)
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -38,7 +39,8 @@
namespace blink {
-// Default size when the multiple attribute is present but size attribute is absent.
+// Default size when the multiple attribute is present but size attribute is
+// absent.
const int defaultSize = 4;
const int defaultPaddingBottom = 1;
@@ -96,7 +98,8 @@ void LayoutListBox::computeLogicalHeight(
LayoutUnit logicalTop,
LogicalExtentComputedValues& computedValues) const {
LayoutUnit height = itemHeight() * size();
- // FIXME: The item height should have been added before updateLogicalHeight was called to avoid this hack.
+ // FIXME: The item height should have been added before updateLogicalHeight
+ // was called to avoid this hack.
setIntrinsicContentLogicalHeight(height);
height += borderAndPaddingHeight();
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutInline.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutListItem.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698