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

Side by Side Diff: third_party/WebKit/Source/platform/heap/HeapPage.cpp

Issue 2795923002: Rewrite references to "wtf/" to "platform/wtf/" in platform/heap. (Closed)
Patch Set: Same as PS1; PS1 lacks some files for some reason. Created 3 years, 8 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) 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 25 matching lines...) Expand all
36 #include "platform/heap/BlinkGCMemoryDumpProvider.h" 36 #include "platform/heap/BlinkGCMemoryDumpProvider.h"
37 #include "platform/heap/CallbackStack.h" 37 #include "platform/heap/CallbackStack.h"
38 #include "platform/heap/HeapCompact.h" 38 #include "platform/heap/HeapCompact.h"
39 #include "platform/heap/PageMemory.h" 39 #include "platform/heap/PageMemory.h"
40 #include "platform/heap/PagePool.h" 40 #include "platform/heap/PagePool.h"
41 #include "platform/heap/SafePoint.h" 41 #include "platform/heap/SafePoint.h"
42 #include "platform/heap/ThreadState.h" 42 #include "platform/heap/ThreadState.h"
43 #include "platform/instrumentation/tracing/TraceEvent.h" 43 #include "platform/instrumentation/tracing/TraceEvent.h"
44 #include "platform/instrumentation/tracing/web_memory_allocator_dump.h" 44 #include "platform/instrumentation/tracing/web_memory_allocator_dump.h"
45 #include "platform/instrumentation/tracing/web_process_memory_dump.h" 45 #include "platform/instrumentation/tracing/web_process_memory_dump.h"
46 #include "platform/wtf/Assertions.h"
47 #include "platform/wtf/AutoReset.h"
48 #include "platform/wtf/ContainerAnnotations.h"
49 #include "platform/wtf/CurrentTime.h"
50 #include "platform/wtf/LeakAnnotations.h"
51 #include "platform/wtf/allocator/Partitions.h"
46 #include "public/platform/Platform.h" 52 #include "public/platform/Platform.h"
47 #include "wtf/Assertions.h"
48 #include "wtf/AutoReset.h"
49 #include "wtf/ContainerAnnotations.h"
50 #include "wtf/CurrentTime.h"
51 #include "wtf/LeakAnnotations.h"
52 #include "wtf/allocator/Partitions.h"
53 53
54 #ifdef ANNOTATE_CONTIGUOUS_CONTAINER 54 #ifdef ANNOTATE_CONTIGUOUS_CONTAINER
55 // FIXME: have ContainerAnnotations.h define an ENABLE_-style name instead. 55 // FIXME: have ContainerAnnotations.h define an ENABLE_-style name instead.
56 #define ENABLE_ASAN_CONTAINER_ANNOTATIONS 1 56 #define ENABLE_ASAN_CONTAINER_ANNOTATIONS 1
57 57
58 // When finalizing a non-inlined vector backing store/container, remove 58 // When finalizing a non-inlined vector backing store/container, remove
59 // its contiguous container annotation. Required as it will not be destructed 59 // its contiguous container annotation. Required as it will not be destructed
60 // from its Vector. 60 // from its Vector.
61 #define ASAN_RETIRE_CONTAINER_ANNOTATION(object, objectSize) \ 61 #define ASAN_RETIRE_CONTAINER_ANNOTATION(object, objectSize) \
62 do { \ 62 do { \
(...skipping 1755 matching lines...) Expand 10 before | Expand all | Expand 10 after
1818 1818
1819 m_hasEntries = true; 1819 m_hasEntries = true;
1820 size_t index = hash(address); 1820 size_t index = hash(address);
1821 ASSERT(!(index & 1)); 1821 ASSERT(!(index & 1));
1822 Address cachePage = roundToBlinkPageStart(address); 1822 Address cachePage = roundToBlinkPageStart(address);
1823 m_entries[index + 1] = m_entries[index]; 1823 m_entries[index + 1] = m_entries[index];
1824 m_entries[index] = cachePage; 1824 m_entries[index] = cachePage;
1825 } 1825 }
1826 1826
1827 } // namespace blink 1827 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/heap/HeapPage.h ('k') | third_party/WebKit/Source/platform/heap/HeapTerminatedArray.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698