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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutTextControl.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/LayoutTextControl.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutTextControl.cpp b/third_party/WebKit/Source/core/layout/LayoutTextControl.cpp
index c3e6049dc0619a6a5b3257553048cafac1be9bbe..911ff68c8e074e84ffc376fbf363f38df7f84205 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTextControl.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutTextControl.cpp
@@ -111,7 +111,7 @@ void LayoutTextControl::updateFromElement()
int LayoutTextControl::scrollbarThickness() const
{
// FIXME: We should get the size of the scrollbar from the LayoutTheme instead.
- return ScrollbarTheme::theme()->scrollbarThickness();
+ return ScrollbarTheme::theme().scrollbarThickness();
}
void LayoutTextControl::computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logicalTop, LogicalExtentComputedValues& computedValues) const

Powered by Google App Engine
This is Rietveld 408576698