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

Unified Diff: Source/heap/Handle.h

Issue 163493003: Revert of Move speech module over to Oilpan. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/bindings/v8/V8Binding.h ('k') | Source/heap/Visitor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/heap/Handle.h
diff --git a/Source/heap/Handle.h b/Source/heap/Handle.h
index 3b9a8f7496cb859873dab8786b17e7525c12fb9d..12c7aae49800b781b0bb144a329f9b87441a95ca 100644
--- a/Source/heap/Handle.h
+++ b/Source/heap/Handle.h
@@ -389,17 +389,6 @@
}
};
-// TraceTrait to allow compilation of trace method bodies when oilpan is disabled.
-// This should never be called, but is needed to compile.
-template<typename T>
-class TraceTrait<RefPtr<T> > {
-public:
- static void trace(Visitor*, void*)
- {
- ASSERT_NOT_REACHED();
- }
-};
-
// WeakMember is similar to Member in that it is used to point to other oilpan
// heap allocated objects.
// However instead of creating a strong pointer to the object, the WeakMember creates
@@ -785,11 +774,6 @@
static const bool value = Traits::isWeak;
};
-template<typename T> inline T* getPtr(const WebCore::Member<T>& p)
-{
- return p.get();
-}
-
} // namespace WTF
#endif
« no previous file with comments | « Source/bindings/v8/V8Binding.h ('k') | Source/heap/Visitor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698