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

Side by Side Diff: third_party/WebKit/Source/platform/graphics/ImageDecodingStore.h

Issue 2043633002: Remove obsolete friend declarations for MSVC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 210
211 // Protect concurrent access to these members: 211 // Protect concurrent access to these members:
212 // m_orderedCacheList 212 // m_orderedCacheList
213 // m_decoderCacheMap and all CacheEntrys stored in it 213 // m_decoderCacheMap and all CacheEntrys stored in it
214 // m_decoderCacheKeyMap 214 // m_decoderCacheKeyMap
215 // m_heapLimitInBytes 215 // m_heapLimitInBytes
216 // m_heapMemoryUsageInBytes 216 // m_heapMemoryUsageInBytes
217 // This mutex also protects calls to underlying skBitmap's 217 // This mutex also protects calls to underlying skBitmap's
218 // lockPixels()/unlockPixels() as they are not threadsafe. 218 // lockPixels()/unlockPixels() as they are not threadsafe.
219 Mutex m_mutex; 219 Mutex m_mutex;
220
221 #if COMPILER(MSVC)
222 friend struct ::WTF::OwnedPtrDeleter<CacheEntry>;
223 friend struct ::WTF::OwnedPtrDeleter<DecoderCacheEntry>;
224 #endif
225 }; 220 };
226 221
227 } // namespace blink 222 } // namespace blink
228 223
229 #endif 224 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698