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

Side by Side Diff: third_party/WebKit/Source/platform/PODArena.h

Issue 2041273002: 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/fonts/SimpleFontData.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 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 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 Allocator* m_allocator; 188 Allocator* m_allocator;
189 uint8_t* m_base; 189 uint8_t* m_base;
190 size_t m_size; 190 size_t m_size;
191 size_t m_currentOffset; 191 size_t m_currentOffset;
192 }; 192 };
193 193
194 RefPtr<Allocator> m_allocator; 194 RefPtr<Allocator> m_allocator;
195 Chunk* m_current; 195 Chunk* m_current;
196 size_t m_currentChunkSize; 196 size_t m_currentChunkSize;
197 Vector<OwnPtr<Chunk>> m_chunks; 197 Vector<OwnPtr<Chunk>> m_chunks;
198
199 #if COMPILER(MSVC)
200 friend struct ::WTF::OwnedPtrDeleter<Chunk>;
201 #endif
202 }; 198 };
203 199
204 } // namespace blink 200 } // namespace blink
205 201
206 #endif // PODArena_h 202 #endif // PODArena_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/fonts/SimpleFontData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698