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

Unified Diff: third_party/WebKit/Source/core/layout/api/LayoutItem.h

Issue 2145643002: Purge UnspecifiedBoolType from Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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/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;
« no previous file with comments | « third_party/WebKit/Source/bindings/core/v8/Nullable.h ('k') | third_party/WebKit/Source/core/layout/api/LineLayoutItem.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698