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

Side by Side Diff: third_party/WebKit/Source/platform/heap/Handle.h

Issue 1818233003: Merge WTF::initializeMainThread into WTF::initialize (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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) 2014 Google Inc. All rights reserved. 2 * Copyright (C) 2014 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/InlinedGlobalMarkingVisitor.h" 36 #include "platform/heap/InlinedGlobalMarkingVisitor.h"
37 #include "platform/heap/PersistentNode.h" 37 #include "platform/heap/PersistentNode.h"
38 #include "platform/heap/ThreadState.h" 38 #include "platform/heap/ThreadState.h"
39 #include "platform/heap/TraceTraits.h" 39 #include "platform/heap/TraceTraits.h"
40 #include "platform/heap/Visitor.h" 40 #include "platform/heap/Visitor.h"
41 #include "wtf/Allocator.h" 41 #include "wtf/Allocator.h"
42 #include "wtf/Atomics.h" 42 #include "wtf/Atomics.h"
43 #include "wtf/Functional.h" 43 #include "wtf/Functional.h"
44 #include "wtf/HashFunctions.h" 44 #include "wtf/HashFunctions.h"
45 #include "wtf/Locker.h" 45 #include "wtf/Locker.h"
46 #include "wtf/MainThread.h"
47 #include "wtf/RawPtr.h" 46 #include "wtf/RawPtr.h"
48 #include "wtf/RefCounted.h" 47 #include "wtf/RefCounted.h"
49 #include "wtf/TypeTraits.h" 48 #include "wtf/TypeTraits.h"
50 49
51 #if defined(LEAK_SANITIZER) 50 #if defined(LEAK_SANITIZER)
52 #include "wtf/LeakAnnotations.h" 51 #include "wtf/LeakAnnotations.h"
53 #endif 52 #endif
54 53
55 namespace blink { 54 namespace blink {
56 55
(...skipping 1435 matching lines...) Expand 10 before | Expand all | Expand 10 after
1492 // into it. 1491 // into it.
1493 // 1492 //
1494 // TODO(sof): remove this hack once wtf/Functional.h can also work with a ty pe like 1493 // TODO(sof): remove this hack once wtf/Functional.h can also work with a ty pe like
1495 // CrossThreadWeakPersistent<>. 1494 // CrossThreadWeakPersistent<>.
1496 static WeakPtr<T> unwrap(const StorageType& value) { return WeakPtr<T>(WeakR eference<T>::create(value.get())); } 1495 static WeakPtr<T> unwrap(const StorageType& value) { return WeakPtr<T>(WeakR eference<T>::create(value.get())); }
1497 }; 1496 };
1498 1497
1499 } // namespace WTF 1498 } // namespace WTF
1500 1499
1501 #endif 1500 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/Image.cpp ('k') | third_party/WebKit/Source/platform/heap/Heap.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698