| 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;
|
|
|