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

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

Issue 275043002: Oilpan: Prepare moving DateTimeChooser to Oilpan (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: export DummyBase Created 6 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 | Annotate | Revision Log
« no previous file with comments | « Source/platform/DateTimeChooserClient.cpp ('k') | Source/web/ChromeClientImpl.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) 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 850 matching lines...) Expand 10 before | Expand all | Expand 10 after
861 861
862 #else // !ENABLE(OILPAN) 862 #else // !ENABLE(OILPAN)
863 863
864 template<typename T> 864 template<typename T>
865 class DummyBase { 865 class DummyBase {
866 public: 866 public:
867 DummyBase() { } 867 DummyBase() { }
868 ~DummyBase() { } 868 ~DummyBase() { }
869 }; 869 };
870 870
871 // Export this instance to support WillBeGarbageCollectedMixin
872 // uses by code residing in non-webcore components.
873 template class PLATFORM_EXPORT DummyBase<void>;
874
871 #define PassRefPtrWillBeRawPtr WTF::PassRefPtr 875 #define PassRefPtrWillBeRawPtr WTF::PassRefPtr
872 #define RefCountedWillBeGarbageCollected WTF::RefCounted 876 #define RefCountedWillBeGarbageCollected WTF::RefCounted
873 #define RefCountedWillBeGarbageCollectedFinalized WTF::RefCounted 877 #define RefCountedWillBeGarbageCollectedFinalized WTF::RefCounted
874 #define RefCountedWillBeRefCountedGarbageCollected WTF::RefCounted 878 #define RefCountedWillBeRefCountedGarbageCollected WTF::RefCounted
875 #define RefCountedGarbageCollectedWillBeGarbageCollectedFinalized WebCore::RefCo untedGarbageCollected 879 #define RefCountedGarbageCollectedWillBeGarbageCollectedFinalized WebCore::RefCo untedGarbageCollected
876 #define ThreadSafeRefCountedWillBeGarbageCollected WTF::ThreadSafeRefCounted 880 #define ThreadSafeRefCountedWillBeGarbageCollected WTF::ThreadSafeRefCounted
877 #define ThreadSafeRefCountedWillBeGarbageCollectedFinalized WTF::ThreadSafeRefCo unted 881 #define ThreadSafeRefCountedWillBeGarbageCollectedFinalized WTF::ThreadSafeRefCo unted
878 #define ThreadSafeRefCountedWillBeThreadSafeRefCountedGarbageCollected WTF::Thre adSafeRefCounted 882 #define ThreadSafeRefCountedWillBeThreadSafeRefCountedGarbageCollected WTF::Thre adSafeRefCounted
879 #define PersistentWillBeMember WebCore::Persistent 883 #define PersistentWillBeMember WebCore::Persistent
880 #define RefPtrWillBePersistent WTF::RefPtr 884 #define RefPtrWillBePersistent WTF::RefPtr
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after
1176 struct ParamStorageTraits<T*> : public PointerParamStorageTraits<T*, WebCore::Is GarbageCollectedType<T>::value> { 1180 struct ParamStorageTraits<T*> : public PointerParamStorageTraits<T*, WebCore::Is GarbageCollectedType<T>::value> {
1177 }; 1181 };
1178 1182
1179 template<typename T> 1183 template<typename T>
1180 struct ParamStorageTraits<RawPtr<T> > : public PointerParamStorageTraits<T*, Web Core::IsGarbageCollectedType<T>::value> { 1184 struct ParamStorageTraits<RawPtr<T> > : public PointerParamStorageTraits<T*, Web Core::IsGarbageCollectedType<T>::value> {
1181 }; 1185 };
1182 1186
1183 } // namespace WTF 1187 } // namespace WTF
1184 1188
1185 #endif 1189 #endif
OLDNEW
« no previous file with comments | « Source/platform/DateTimeChooserClient.cpp ('k') | Source/web/ChromeClientImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698