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

Unified Diff: Source/bindings/v8/custom/V8TypedArrayCustom.h

Issue 125043004: Remove world type from hasInstance() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 11 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/V8TypedArrayCustom.h
diff --git a/Source/bindings/v8/custom/V8TypedArrayCustom.h b/Source/bindings/v8/custom/V8TypedArrayCustom.h
index f64f457f2f5ef2b1b663736e55b443cb248740b9..42123e2aab19ab8fc48f38299fc5c97689faffa7 100644
--- a/Source/bindings/v8/custom/V8TypedArrayCustom.h
+++ b/Source/bindings/v8/custom/V8TypedArrayCustom.h
@@ -47,12 +47,7 @@ class TypedArrayTraits
template<typename TypedArray>
class V8TypedArray {
public:
- static bool hasInstance(v8::Handle<v8::Value> value, v8::Isolate*, WrapperWorldType)
- {
- return TypedArrayTraits<TypedArray>::IsInstance(value);
- }
-
- static bool hasInstanceInAnyWorld(v8::Handle<v8::Value> value, v8::Isolate*)
+ static bool hasInstance(v8::Handle<v8::Value> value, v8::Isolate*)
{
return TypedArrayTraits<TypedArray>::IsInstance(value);
}
« no previous file with comments | « Source/bindings/v8/custom/V8NodeCustom.cpp ('k') | Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698