Index: test/cctest/print-extension.cc |
diff --git a/test/cctest/print-extension.cc b/test/cctest/print-extension.cc |
index 33f33cafc2dcb48a86428c040f0ac024e861d850..e3837da91e11af20669826f6b194b1d8e9aa703f 100644 |
--- a/test/cctest/print-extension.cc |
+++ b/test/cctest/print-extension.cc |
@@ -25,14 +25,16 @@ |
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
+// TODO(jochen): Remove this after the setting is turned on globally. |
+#define V8_IMMINENT_DEPRECATION_WARNINGS |
+ |
#include "test/cctest/print-extension.h" |
namespace v8 { |
namespace internal { |
-v8::Handle<v8::FunctionTemplate> PrintExtension::GetNativeFunctionTemplate( |
- v8::Isolate* isolate, |
- v8::Handle<v8::String> str) { |
+v8::Local<v8::FunctionTemplate> PrintExtension::GetNativeFunctionTemplate( |
+ v8::Isolate* isolate, v8::Local<v8::String> str) { |
return v8::FunctionTemplate::New(isolate, PrintExtension::Print); |
} |