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

Unified Diff: tonic/dart_wrappable.h

Issue 1244983003: Make mojo dart controller depend on tonic and get building without wtf (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 5 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 | « tonic/dart_state.cc ('k') | tonic/float32_list.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tonic/dart_wrappable.h
diff --git a/tonic/dart_wrappable.h b/tonic/dart_wrappable.h
index 13feb999cf4771cb0d5e6971e8254bd1e09d290e..94286013bbcdab4e57e22f8ae57be22598b3cc7b 100644
--- a/tonic/dart_wrappable.h
+++ b/tonic/dart_wrappable.h
@@ -123,17 +123,6 @@ struct DartConverter<
};
template<typename T>
-struct DartConverter<RefPtr<T>> {
- static Dart_Handle ToDart(RefPtr<T> val) {
- return DartConverter<T*>::ToDart(val.get());
- }
-
- static RefPtr<T> FromDart(Dart_Handle handle) {
- return DartConverter<T*>::FromDart(handle);
- }
-};
-
-template<typename T>
inline T* GetReceiver(Dart_NativeArguments args) {
intptr_t receiver;
Dart_Handle result = Dart_GetNativeReceiver(args, &receiver);
« no previous file with comments | « tonic/dart_state.cc ('k') | tonic/float32_list.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698