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

Unified Diff: Source/platform/heap/Handle.h

Issue 808053003: Oilpan: remove unused typed pointer cast operation over (Weak)Member. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 12 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/heap/Handle.h
diff --git a/Source/platform/heap/Handle.h b/Source/platform/heap/Handle.h
index d1caccc48f349bec642a959863dbe8ee1ef4e86f..339d4f3a75831107d1add441d63e5c39f8418675 100644
--- a/Source/platform/heap/Handle.h
+++ b/Source/platform/heap/Handle.h
@@ -351,12 +351,6 @@ public:
m_raw = nullptr;
}
- template<typename U>
- U* as() const
- {
- return static_cast<U*>(m_raw);
- }
-
void trace(Visitor* visitor)
{
STATIC_ASSERT_IS_GARBAGE_COLLECTED(T, "non-garbage collected object should not be in Persistent");
@@ -569,12 +563,6 @@ public:
return result;
}
- template<typename U>
- U* as() const
- {
- return static_cast<U*>(m_raw);
- }
-
bool operator!() const { return !m_raw; }
operator T*() const { return m_raw; }
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698