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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutListItem.h

Issue 1405693002: LayoutListItem: shorten refs, use nullptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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/layout/LayoutListItem.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutListItem.h b/third_party/WebKit/Source/core/layout/LayoutListItem.h
index 458c581f026508ed91a7688e04bfd1c60f249193..38dae806b6297fa4890630f4d37797b09b4deb86 100644
--- a/third_party/WebKit/Source/core/layout/LayoutListItem.h
+++ b/third_party/WebKit/Source/core/layout/LayoutListItem.h
@@ -36,9 +36,8 @@ public:
int value() const
{
- if (!m_isValueUpToDate) {
+ if (!m_isValueUpToDate)
updateValueNow();
- }
return m_value;
}
void updateValue();

Powered by Google App Engine
This is Rietveld 408576698