| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 1325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1336 bool isLastInArray() const { return m_isLast; } | 1336 bool isLastInArray() const { return m_isLast; } |
| 1337 void setLastInArray(bool value) { m_isLast = value; } | 1337 void setLastInArray(bool value) { m_isLast = value; } |
| 1338 | 1338 |
| 1339 IntWrapper* payload() const { return m_payload; } | 1339 IntWrapper* payload() const { return m_payload; } |
| 1340 | 1340 |
| 1341 private: | 1341 private: |
| 1342 Member<IntWrapper> m_payload; | 1342 Member<IntWrapper> m_payload; |
| 1343 bool m_isLast; | 1343 bool m_isLast; |
| 1344 }; | 1344 }; |
| 1345 | 1345 |
| 1346 } // WebCore namespace | 1346 } // namespace blink |
| 1347 | 1347 |
| 1348 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS(blink::VectorObject); | 1348 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS(blink::VectorObject); |
| 1349 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS(blink::VectorObjectInheritedT
race); | 1349 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS(blink::VectorObjectInheritedT
race); |
| 1350 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS(blink::VectorObjectNoTrace); | 1350 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS(blink::VectorObjectNoTrace); |
| 1351 | 1351 |
| 1352 namespace blink { | 1352 namespace blink { |
| 1353 | 1353 |
| 1354 class OneKiloByteObject : public GarbageCollectedFinalized<OneKiloByteObject> { | 1354 class OneKiloByteObject : public GarbageCollectedFinalized<OneKiloByteObject> { |
| 1355 public: | 1355 public: |
| 1356 ~OneKiloByteObject() { s_destructorCalls++; } | 1356 ~OneKiloByteObject() { s_destructorCalls++; } |
| (...skipping 3615 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4972 } | 4972 } |
| 4973 | 4973 |
| 4974 static volatile IntWrapper* s_workerObjectPointer; | 4974 static volatile IntWrapper* s_workerObjectPointer; |
| 4975 }; | 4975 }; |
| 4976 | 4976 |
| 4977 TEST(HeapTest, RecursiveMutex) | 4977 TEST(HeapTest, RecursiveMutex) |
| 4978 { | 4978 { |
| 4979 RecursiveLockingTester::test(); | 4979 RecursiveLockingTester::test(); |
| 4980 } | 4980 } |
| 4981 | 4981 |
| 4982 } // WebCore namespace | 4982 } // namespace blink |
| OLD | NEW |