| Index: third_party/WebKit/Source/core/layout/api/LayoutItem.h
|
| diff --git a/third_party/WebKit/Source/core/layout/api/LayoutItem.h b/third_party/WebKit/Source/core/layout/api/LayoutItem.h
|
| index 83d85a9948d092ea10682fbfc70f07dac7b81da1..50f24bd81749c550f75fba2f7ab224896fcf1bc1 100644
|
| --- a/third_party/WebKit/Source/core/layout/api/LayoutItem.h
|
| +++ b/third_party/WebKit/Source/core/layout/api/LayoutItem.h
|
| @@ -32,12 +32,13 @@ public:
|
|
|
| LayoutItem() : m_layoutObject(0) { }
|
|
|
| - // TODO(leviw): This should be an UnspecifiedBoolType, but
|
| + // TODO(leviw): This should be "explicit operator bool", but
|
| // using this operator allows the API to be landed in pieces.
|
| // https://crbug.com/499321
|
| operator LayoutObject*() const { return m_layoutObject; }
|
|
|
| - // TODO(pilgrim): Remove this when we replace the operator above with UnspecifiedBoolType.
|
| + // TODO(pilgrim): Remove this when we replace the operator above with
|
| + // operator bool.
|
| bool isNull() const
|
| {
|
| return !m_layoutObject;
|
|
|