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

Unified Diff: sky/engine/platform/heap/Handle.h

Issue 709203002: Remove more oilpan. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: sky/engine/platform/heap/Handle.h
diff --git a/sky/engine/platform/heap/Handle.h b/sky/engine/platform/heap/Handle.h
index 41e044c0e5a6af949b516a5246319bb03c0a982e..cb5dad025e5597f27e2c2236d82487fe537d376c 100644
--- a/sky/engine/platform/heap/Handle.h
+++ b/sky/engine/platform/heap/Handle.h
@@ -31,17 +31,8 @@
#ifndef Handle_h
#define Handle_h
-#include "wtf/HashFunctions.h"
-#include "wtf/PassOwnPtr.h"
-#include "wtf/RawPtr.h"
-#include "wtf/RefCounted.h"
-#include "wtf/TypeTraits.h"
-#include "wtf/text/AtomicString.h"
+#include "wtf/StdLibExtras.h"
-// Classes that contain heap references but aren't themselves heap
-// allocated, have some extra macros available which allows their use
-// to be restricted to cases where the garbage collector is able
-// to discover their heap references.
//
// STACK_ALLOCATED(): Use if the object is only stack allocated. Heap objects
// should be in Members but you do not need the trace method as they are on
@@ -99,10 +90,6 @@ namespace blink {
class Visitor {
public:
template<typename T>
- void mark(T* t)
- {
- }
- template<typename T>
void trace(const T* t)
{
}
@@ -116,16 +103,6 @@ public:
}
};
-#define WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(TYPE)
-
-template<typename T>
-class DummyBase {
-public:
- DummyBase() { }
- ~DummyBase() { }
-};
-
-#define WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED WTF_MAKE_FAST_ALLOCATED
#define DECLARE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(type) \
public: \
~type(); \
« no previous file with comments | « sky/engine/platform/graphics/gpu/Extensions3DUtil.cpp ('k') | sky/engine/platform/image-decoders/ImageDecoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698