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

Unified Diff: Source/bindings/v8/custom/V8DocumentCustom.cpp

Issue 23522051: Get rid of custom code for Document::createTouchList() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add missing references Created 7 years, 3 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
Index: Source/bindings/v8/custom/V8DocumentCustom.cpp
diff --git a/Source/bindings/v8/custom/V8DocumentCustom.cpp b/Source/bindings/v8/custom/V8DocumentCustom.cpp
index c290f4eea7b84a3060dd5799ab9862976e241fff..26a117c7ffcc724871c9c295083dfb79e00c536a 100644
--- a/Source/bindings/v8/custom/V8DocumentCustom.cpp
+++ b/Source/bindings/v8/custom/V8DocumentCustom.cpp
@@ -104,16 +104,4 @@ v8::Handle<v8::Object> wrap(Document* impl, v8::Handle<v8::Object> creationConte
return wrapper;
}
-void V8Document::createTouchListMethodCustom(const v8::FunctionCallbackInfo<v8::Value>& args)
-{
- RefPtr<TouchList> touchList = TouchList::create();
-
- for (int i = 0; i < args.Length(); i++) {
- Touch* touch = V8DOMWrapper::isWrapperOfType(args[i], &V8Touch::info) ? V8Touch::toNative(args[i]->ToObject()) : 0;
- touchList->append(touch);
- }
-
- v8SetReturnValue(args, toV8(touchList.release(), args.Holder(), args.GetIsolate()));
-}
-
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698