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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutFileUploadControl.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/LayoutFileUploadControl.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutFileUploadControl.cpp b/third_party/WebKit/Source/core/layout/LayoutFileUploadControl.cpp
index 3e89e0301d383feafddf48718aa4042859a6374e..1e8669e805a79caeb08cbee7bf55a81dd252b8c3 100644
--- a/third_party/WebKit/Source/core/layout/LayoutFileUploadControl.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutFileUploadControl.cpp
@@ -82,8 +82,8 @@ void LayoutFileUploadControl::paintObject(
void LayoutFileUploadControl::computeIntrinsicLogicalWidths(
LayoutUnit& minLogicalWidth,
LayoutUnit& maxLogicalWidth) const {
- // Figure out how big the filename space needs to be for a given number of characters
- // (using "0" as the nominal character).
+ // Figure out how big the filename space needs to be for a given number of
+ // characters (using "0" as the nominal character).
const UChar character = '0';
const String characterAsString = String(&character, 1);
const Font& font = style()->font();
@@ -158,7 +158,8 @@ PositionWithAffinity LayoutFileUploadControl::positionForPoint(
}
HTMLInputElement* LayoutFileUploadControl::uploadButton() const {
- // FIXME: This should be on HTMLInputElement as an API like innerButtonElement().
+ // FIXME: This should be on HTMLInputElement as an API like
+ // innerButtonElement().
HTMLInputElement* input = toHTMLInputElement(node());
Node* buttonNode = input->userAgentShadowRoot()->firstChild();
return isHTMLInputElement(buttonNode) ? toHTMLInputElement(buttonNode) : 0;

Powered by Google App Engine
This is Rietveld 408576698