| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef DisplayItemClient_h | 5 #ifndef DisplayItemClient_h |
| 6 #define DisplayItemClient_h | 6 #define DisplayItemClient_h |
| 7 | 7 |
| 8 #include "platform/PlatformExport.h" | 8 #include "platform/PlatformExport.h" |
| 9 #include "platform/geometry/IntRect.h" | 9 #include "platform/geometry/IntRect.h" |
| 10 #include "wtf/text/WTFString.h" | 10 #include "wtf/text/WTFString.h" |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 | 32 |
| 33 #if ENABLE(ASSERT) | 33 #if ENABLE(ASSERT) |
| 34 // Tests if a DisplayItemClient object has been created and has not been del
eted yet. | 34 // Tests if a DisplayItemClient object has been created and has not been del
eted yet. |
| 35 static bool isAlive(const DisplayItemClient&); | 35 static bool isAlive(const DisplayItemClient&); |
| 36 #endif | 36 #endif |
| 37 }; | 37 }; |
| 38 | 38 |
| 39 inline bool operator==(const DisplayItemClient& client1, const DisplayItemClient
& client2) { return &client1 == &client2; } | 39 inline bool operator==(const DisplayItemClient& client1, const DisplayItemClient
& client2) { return &client1 == &client2; } |
| 40 inline bool operator!=(const DisplayItemClient& client1, const DisplayItemClient
& client2) { return &client1 != &client2; } | 40 inline bool operator!=(const DisplayItemClient& client1, const DisplayItemClient
& client2) { return &client1 != &client2; } |
| 41 | 41 |
| 42 } | 42 } // namespace blink |
| 43 | 43 |
| 44 #endif // DisplayItemClient_h | 44 #endif // DisplayItemClient_h |
| OLD | NEW |