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

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

Issue 1511003003: Use refs for non-null GraphicsContext, Scrollbar, etc. in scrollbar related code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ScrollbarRemove
Patch Set: yet another mac fix Created 5 years 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/LayoutScrollbarPart.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutScrollbarPart.cpp b/third_party/WebKit/Source/core/layout/LayoutScrollbarPart.cpp
index 87294efd1a6af8d8c583f3bf12bb108dd8822061..f500d3dd842cec7e8d5ee2f144adf9a4d654a07c 100644
--- a/third_party/WebKit/Source/core/layout/LayoutScrollbarPart.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutScrollbarPart.cpp
@@ -120,7 +120,7 @@ static int calcScrollbarThicknessUsing(SizeType sizeType, const Length& length,
{
if (!length.isIntrinsicOrAuto() || (sizeType == MinSize && length.isAuto()))
return minimumValueForLength(length, containingLength);
- return ScrollbarTheme::theme()->scrollbarThickness();
+ return ScrollbarTheme::theme().scrollbarThickness();
}
void LayoutScrollbarPart::computeScrollbarWidth()

Powered by Google App Engine
This is Rietveld 408576698