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

Unified Diff: third_party/WebKit/Source/core/html/HTMLAreaElement.cpp

Issue 2384273007: reflow comments in core/html/*.{cpp,h},core/html/imports (Closed)
Patch Set: comments 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/html/HTMLAreaElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLAreaElement.cpp b/third_party/WebKit/Source/core/html/HTMLAreaElement.cpp
index 331b3cf68bf4d399ec51018cfbc48e3f30b49655..d94cdd25a3e2525bc418d3bf9173d19e33a6dd2c 100644
--- a/third_party/WebKit/Source/core/html/HTMLAreaElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLAreaElement.cpp
@@ -36,7 +36,8 @@ namespace blink {
namespace {
-// Adapt a double to the allowed range of a LayoutUnit and narrow it to float precision.
+// Adapt a double to the allowed range of a LayoutUnit and narrow it to float
+// precision.
float clampCoordinate(double value) {
return LayoutUnit(value).toFloat();
}
@@ -110,11 +111,12 @@ Path HTMLAreaElement::getPath(const LayoutObject* containerObject) const {
if (!containerObject)
return Path();
- // Always recompute for default shape because it depends on container object's size
- // and is cheap.
+ // Always recompute for default shape because it depends on container object's
+ // size and is cheap.
if (m_shape == Default) {
Path path;
- // No need to zoom because it is already applied in containerObject->borderBoxRect().
+ // No need to zoom because it is already applied in
+ // containerObject->borderBoxRect().
if (containerObject->isBox())
path.addRect(FloatRect(toLayoutBox(containerObject)->borderBoxRect()));
m_path = nullptr;
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLAreaElement.h ('k') | third_party/WebKit/Source/core/html/HTMLBRElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698