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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/ToV8.h

Issue 2532883002: binding: Removes unused toV8 functions. (Closed)
Patch Set: Created 4 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
« 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: third_party/WebKit/Source/bindings/core/v8/ToV8.h
diff --git a/third_party/WebKit/Source/bindings/core/v8/ToV8.h b/third_party/WebKit/Source/bindings/core/v8/ToV8.h
index 8771fbde1d06ffcc57293accdfead5b14092596c..99ade6c9e400ddf6f186ac903361b04ce4fe55ea 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ToV8.h
+++ b/third_party/WebKit/Source/bindings/core/v8/ToV8.h
@@ -69,22 +69,6 @@ v8::Local<v8::Value> toV8(WorkerOrWorkletGlobalScope*,
v8::Local<v8::Object> creationContext,
v8::Isolate*);
-// PassRefPtr and RefPtr
-
-template <typename T>
-inline v8::Local<v8::Value> toV8(PassRefPtr<T> impl,
- v8::Local<v8::Object> creationContext,
- v8::Isolate* isolate) {
- return toV8(impl.get(), creationContext, isolate);
-}
-
-template <typename T>
-inline v8::Local<v8::Value> toV8(const RefPtr<T>& impl,
- v8::Local<v8::Object> creationContext,
- v8::Isolate* isolate) {
- return toV8(impl.get(), creationContext, isolate);
-}
-
// Primitives
inline v8::Local<v8::Value> toV8(const String& value,
« 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