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

Unified Diff: gin/wrappable_unittest.cc

Issue 107113005: Gin: Consolidate all the Converter<Wrappable> subclasses. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove unneeded friend declaration Created 7 years 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: gin/wrappable_unittest.cc
diff --git a/gin/wrappable_unittest.cc b/gin/wrappable_unittest.cc
index d6ec19e112bec7cb19cada24df2b4e81915a7437..28bb19a7725c8e420643c170327b4134ae755f1a 100644
--- a/gin/wrappable_unittest.cc
+++ b/gin/wrappable_unittest.cc
@@ -43,13 +43,6 @@ WrapperInfo* MyObject::GetWrapperInfo() {
return &kWrapperInfo;
}
-} // namespace
-
-template<>
-struct Converter<MyObject*> : public WrappableConverter<MyObject> {};
-
-namespace {
-
void RegisterTemplate(v8::Isolate* isolate) {
PerIsolateData* data = PerIsolateData::From(isolate);
DCHECK(data->GetObjectTemplate(&MyObject::kWrapperInfo).IsEmpty());

Powered by Google App Engine
This is Rietveld 408576698