| OLD | NEW |
| 1 | |
| 2 /* | 1 /* |
| 3 * Copyright 2006 The Android Open Source Project | 2 * Copyright 2006 The Android Open Source Project |
| 4 * | 3 * |
| 5 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
| 6 * found in the LICENSE file. | 5 * found in the LICENSE file. |
| 7 */ | 6 */ |
| 8 | 7 |
| 9 | 8 |
| 10 #include "SkEventSink.h" | 9 #include "SkEventSink.h" |
| 11 #include "SkMutex.h" | 10 #include "SkMutex.h" |
| (...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 292 /** Remove all name/id pairs from the system. This is call internally | 291 /** Remove all name/id pairs from the system. This is call internally |
| 293 on shutdown, to ensure no memory leaks. It should not be called | 292 on shutdown, to ensure no memory leaks. It should not be called |
| 294 before shutdown. | 293 before shutdown. |
| 295 */ | 294 */ |
| 296 void SkEventSink::RemoveAllNamedSinkIDs() | 295 void SkEventSink::RemoveAllNamedSinkIDs() |
| 297 { | 296 { |
| 298 SkAutoMutexAcquire ac(gNamedSinkMutex); | 297 SkAutoMutexAcquire ac(gNamedSinkMutex); |
| 299 (void)gNamedSinkIDs.reset(); | 298 (void)gNamedSinkIDs.reset(); |
| 300 } | 299 } |
| 301 #endif | 300 #endif |
| OLD | NEW |