Changeset 28468 in webkit for trunk/JavaScriptCore/API/JSCallbackConstructor.cpp
- Timestamp:
- Dec 5, 2007, 6:31:41 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/API/JSCallbackConstructor.cpp
r27730 r28468 1 1 // -*- mode: c++; c-basic-offset: 4 -*- 2 2 /* 3 * Copyright (C) 2006 Apple Computer, Inc.All rights reserved.3 * Copyright (C) 2006, 2007 Apple Inc. All rights reserved. 4 4 * 5 5 * Redistribution and use in source and binary forms, with or without … … 26 26 27 27 #include "config.h" 28 29 #include <wtf/Platform.h>30 28 #include "JSCallbackConstructor.h" 31 29 32 30 #include "APICast.h" 31 #include <kjs/JSGlobalObject.h> 32 #include <kjs/object_object.h> 33 33 #include <wtf/Vector.h> 34 34 … … 38 38 39 39 JSCallbackConstructor::JSCallbackConstructor(ExecState* exec, JSClassRef jsClass, JSObjectCallAsConstructorCallback callback) 40 : JSObject(exec->lexical Interpreter()->builtinObjectPrototype())40 : JSObject(exec->lexicalGlobalObject()->objectPrototype()) 41 41 , m_class(jsClass) 42 42 , m_callback(callback)
Note:
See TracChangeset
for help on using the changeset viewer.