Index: third_party/WebKit/Source/core/layout/LayoutScrollbarPart.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutScrollbarPart.cpp b/third_party/WebKit/Source/core/layout/LayoutScrollbarPart.cpp |
index d5623dec741482f5dd0ec423c32c8e80f25235e5..0c674bbeb09f366577107465f680b695e616bb91 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutScrollbarPart.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutScrollbarPart.cpp |
@@ -128,7 +128,7 @@ void LayoutScrollbarPart::computeScrollbarWidth() |
{ |
if (!m_scrollbar->owningLayoutObject()) |
return; |
- // FIXME: We are querying layout information but nothing guarantees that it's up-to-date, especially since we are called at style change. |
+ // FIXME: We are querying layout information but nothing guarantees that it's up to date, especially since we are called at style change. |
// FIXME: Querying the style's border information doesn't work on table cells with collapsing borders. |
int visibleSize = m_scrollbar->owningLayoutObject()->size().width() - m_scrollbar->owningLayoutObject()->style()->borderLeftWidth() - m_scrollbar->owningLayoutObject()->style()->borderRightWidth(); |
int w = calcScrollbarThicknessUsing(MainOrPreferredSize, style()->width(), visibleSize); |
@@ -145,7 +145,7 @@ void LayoutScrollbarPart::computeScrollbarHeight() |
{ |
if (!m_scrollbar->owningLayoutObject()) |
return; |
- // FIXME: We are querying layout information but nothing guarantees that it's up-to-date, especially since we are called at style change. |
+ // FIXME: We are querying layout information but nothing guarantees that it's up to date, especially since we are called at style change. |
// FIXME: Querying the style's border information doesn't work on table cells with collapsing borders. |
int visibleSize = m_scrollbar->owningLayoutObject()->size().height() - m_scrollbar->owningLayoutObject()->style()->borderTopWidth() - m_scrollbar->owningLayoutObject()->style()->borderBottomWidth(); |
int h = calcScrollbarThicknessUsing(MainOrPreferredSize, style()->height(), visibleSize); |